Software technologies to automatically extract chemical information from Safety Data Sheets.
Method Endpoint
POST /parser/login
Call this POST endpoint with a JSON body with the keys:
If successful return a JSON with the key “token” and the relative token. The token has a validity of 1 hour.
If not successful, returns an HTTP status other than 200.
Method Endpoint
POST /parser/uploadPdf
In headers as key use “token” and as value use the token that you receive with the login method.
If successful, returns a JSON with three keys:
Method Endpoint
POST /parser/uploadFile
Description
Call this POST endpoint with a form-data request, use as key the word “file” and attach the pdf file to send.
In Query Parameters use as key the word “bucket” and as value a string that represent the place where your pdf will be stored.
If successful, returns a JSON with three keys:
If not successful, returns an HTTP status other than 200.
Method Endpoint
GET /parser/getFile
In headers as key use “token” and as value use the token that you receive with the login method.
Method Endpoint
GET /parser/getContent
Call this GET endpoint with two Query Parameters: “request_id“ and “content_type“.
Method Endpoint
GET /parser/getStatus
Description
Method Endpoint
GET /parser/getBucketTrees
Description
Call this GET without any additional Query Parameter.
In headers as key use “token” and as value use the token that you receive with the login method.
If successful, returns a JSON with two keys: “bucket_names” and “number_of_buckets“.
Method Endpoint
GET /parser/getBucketInfo
Description
Method Endpoint
GET /parser/getInfoDownload
Description
In the first section there are two keys: “downloaded” and “not_downloaded“.
In the second section there is one key: “ratio_downloaded“.
Each unique identifier has a sub-section with three keys: “downloaded”, “date”, and “msg”.
If not successful, returns an HTTP status other than 200.
Method Endpoint
POST /parser/sendComment
Description