This set of APIs was made to let users extract the information they search in a practical way.
By browsing specific URLs the user or a machine will be able to filter and extract information in two formats (JSON and CSV). JSON is the standard format while CSV can be accessed by adding
&format=csvat the end of the requests.
If format=csv is specified the API will return a downloadable CSV file
/DNAmoreDB/api
/DNAmoreDB/api is the page you are reading now.
All the other sections follow this format: api/name_DNAmoreDB_section
/DNAmoreDB/api/dnazyme?id=
/DNAmoreDB/api/dnazyme?id=255 returns the data corresponding to a single dnazyme, in this example, that with ID = 255.
This section can be filtered by adding the following GET parameters after the URL after the "?" symbol
parameter | description | example |
---|---|---|
&format= | Select the output format [json,csv] | /DNAmoreDB/api/dnazyme?id=255&format=csv |
/DNAmoreDB/api/dnazymes
/DNAmoreDB/api/dnazymes returns the data of all the dnazymes stored in DNAmoreDB.
This section can be filtered by adding the following GET parameters after the URL after the "?" symbol
parameter | description | example |
---|---|---|
&reaction= | filters by reaction name | /DNAmoreDB/api/dnazymes?reaction=RNA+ligation |
&metal_ion= | filters by metal ion | /DNAmoreDB/api/dnazymes?metal_ion=mg2 |
&format= | Select the output format [json,csv] | /DNAmoreDB/api/dnazymes?format=csv |