chembl / chembl_webservices_2

Source code of the ChEMBL web services.
https://www.ebi.ac.uk/chembl/ws
Other
16 stars 3 forks source link

Accessing withdrawn drugs and black box warning drugs via the API #180

Open FionaEBI opened 4 years ago

FionaEBI commented 4 years ago

Hi Juan, I'm checking what fields are available through the API for withdrawn drugs and those with black box warnings:

  1. The drugs API doesn't appear to have a withdrawn_flag that I can specify? (Although there is a field for ). This is available for the molecule API: https://www.ebi.ac.uk/chembl/api/data/molecule?withdrawn_flag=1 . Please can you add this field to the drugs API?
  2. The wording for the drugs API is 'black_box', but the molecule API is 'black_box_warning'. Please can you change the drugs API to 'black_box_warning'? See https://www.ebi.ac.uk/chembl/api/data/drug?black_box=1 and https://www.ebi.ac.uk/chembl/api/data/molecule?black_box_warning=1

Thanks for your help! Fiona