(self, request_id: str = "", server: str = "")
Fetch the Parsr's output Markdown file (result) given a particular
        request

        - request_id: The ID of the request to be queried with the server
        - server: The server from which the result is to be fetched
Fetch the Parsr's output Markdown file (result) given a particular
        request
Fetch the Parsr s output Markdown file ( result ) given a particular request
def get_markdown(self, request_id: str = "", server: str = ""):
        """Fetch the Parsr's output Markdown file (result) given a particular
        request

        - request_id: The ID of the request to be queried with the server
        - server: The server from which the result is to be fetched
        """
        if server == "":
            if self.server == "":
                raise Exception('No server address provided')
            else:
                server = self.server
        if request_id == "":
            if self.request_id == "":
                raise Exception('No request ID provided')
            else:
                request_id = self.request_id
        r = get(
            'http://{}/api/v1/markdown/{}'.format(server, request_id))
        if r.text != "":
            return r.text
        else:
            return {'request_id': request_id, 'server_response': r.text}
def get_markdown ( self , request_id : str = "" , server : str = "" ) : if server == "" : if self . server == "" : raise Exception ( 'No server address provided' ) else : server = self . server if request_id == "" : if self . request_id == "" : raise Exception ( 'No request ID provided' ) else : request_id = self . request_id r = get ( 'http://{}/api/v1/markdown/{}' . format ( server , request_id ) ) if r . text != "" : return r . text else : return { 'request_id' : request_id , 'server_response' : r . text }