User Tools

Site Tools


ultimate-api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
ultimate-api [2021/05/25 14:21] flackultimate-api [2021/05/25 14:26] flack
Line 381: Line 381:
  
 If you have a set of identifiers you can export the corresponding compounds into SMILES or SDF files. If you have a set of identifiers you can export the corresponding compounds into SMILES or SDF files.
 +The HTTP response contains a Content-Disposition attachment; filename=“<filename>” header indicating that it should be downloaded. 
 +The maximum number of compounds you can export with a single API call is 1000.
 +Invalid identifiers will be excluded from the response.
  
 ==== SDF file ==== ==== SDF file ====
  
 +== Example API request: ==
 <code> <code>
 echo '{"export_type": "sdf", "compounds": ["YTIUNGFRKPDPPS-UHFFFAOYSA-N", "SSEIGWFVYLDHEH-UHFFFAOYSA-N"]}' | http https://ultimateapp.mcule.com/api/v1/compounds/export/ --print HBhb echo '{"export_type": "sdf", "compounds": ["YTIUNGFRKPDPPS-UHFFFAOYSA-N", "SSEIGWFVYLDHEH-UHFFFAOYSA-N"]}' | http https://ultimateapp.mcule.com/api/v1/compounds/export/ --print HBhb
Line 414: Line 418:
 ==== SMILES file ==== ==== SMILES file ====
  
 +== Example API request: ==
 <code> <code>
 echo '{"export_type": "smi", "compounds": ["YTIUNGFRKPDPPS-UHFFFAOYSA-N", "SSEIGWFVYLDHEH-UHFFFAOYSA-N"]}' | http https://ultimateapp.mcule.com/api/v1/compounds/export/ --print HBhb echo '{"export_type": "smi", "compounds": ["YTIUNGFRKPDPPS-UHFFFAOYSA-N", "SSEIGWFVYLDHEH-UHFFFAOYSA-N"]}' | http https://ultimateapp.mcule.com/api/v1/compounds/export/ --print HBhb
ultimate-api.txt · Last modified: 2021/05/25 14:27 by flack