chembl_webservices_2 icon indicating copy to clipboard operation
chembl_webservices_2 copied to clipboard

Accessing withdrawn drugs and black box warning drugs via the API

Open FionaEBI opened this issue 4 years ago • 0 comments

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 <withdrawn_class/><withdrawn_country/><withdrawn_reason/><withdrawn_year/>). 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

FionaEBI avatar May 21 '20 11:05 FionaEBI