Skip to main content

Posts

Showing posts from February, 2015

Using the New ChEMBL Web Services

As promised in our earlier post , here are some more details on making the most of the new ChEMBL web services. The best place to get started is to head over to the  documentation page: https://www.ebi.ac.uk/chembl/api/data/docs . There you will find the list of resources (e.g. Molecule, Target and Assay) that are available and their methods. More importantly you can also execute each method with your own or default parameters, and view the URL, the response content and response status code. This is definitely the quickest way to start familiarizing yourself with the new ChEMBL web services. Looking at the resources in more detail, you will find that each resource has three basic methods: 1. https://www.ebi.ac.uk/chembl/api/data/RESOURCE - will return all available objects of type RESOURCE from ChEMBL. An example could be https://www.ebi.ac.uk/chembl/api/data/molecule which returns all molecules (remember that data is paginated - more on this later). 2. https://www.ebi.ac.

New ChEMBL Web Services

Following on from our recent ChEMBL 20 release we are pleased to announce an updated version of the ChEMBL web services . First things first, some of the most important bits of information: You can explore new resources using online documentation available here: https://www.ebi.ac.uk/chembl/api/data/docs The code is Apache 2.0 licensed and available on GitHub: https://github.com/chembl/chembl_webservices_2 The basic URL for accessing web services is https://www.ebi.ac.uk/chembl/api/data/ so in order to retrieve some information about molecules, you would construct following URL: https://www.ebi.ac.uk/chembl/api/data/molecule The 'old' web services are still available, so any applications and code relying on these services will continue to work. We do encourage you to review and migrate any code which uses these services to the updated versions described in this blog post.   And now some short Q&A session:   Q: But you already have web services available