options for the initialization of a client.
Enqueue a request and poll the server until the result is sent or until the maximum number of tries is reached.
the product to retrieve.
file or URL to parse.
parameters relating to prediction options.
OptionalpollingOptions: PollingOptionsConstructoroptions for the polling loop, see PollingOptions.
a Promise containing parsing results.
Get the processing status of a previously enqueued request. Can be used for polling.
id of the queue to poll.
a Promise containing a Job, which also contains a Document if the
parsing is complete.
Retrieves the result of a previously enqueued request. This method is used when manually polling the server for the result URL.
the product to retrieve.
URL as given in the getJob() response.
a Promise containing the inference.
ProtectedpollProtectedSend a document to an endpoint and poll the server until the result is sent or until the maximum number of tries is reached.
Mindee Client V2 class that centralizes most basic operations.