ncbo / ontologies_api

Hypermedia API for NCBO's ontology-related projects
http://data.bioontology.org
Other
25 stars 10 forks source link

extract ontology from EDAM BioPortal using python #88

Closed ghost closed 2 years ago

ghost commented 2 years ago

This is my first time using an API in Python. I want to extract ontology using python script . can someone tell me how to do it ? there is an existing python script ?

jvendetti commented 2 years ago

@robertjeremy1 - we have some Python code examples for working with the BioPortal REST API in this repository:

https://github.com/ncbo/ncbo_rest_sample_code/tree/master/python/python3

You'll need an API key to issues calls to the API. Instructions for getting one are here:

https://www.bioontology.org/wiki/BioPortal_Help#Getting_an_API_key

If you have follow-up questions, please reach out to us via our support list:

https://mailman.stanford.edu/mailman/listinfo/bioontology-support