MaayanLab / cfde_gene_pages

Common Fund Gene Landing Pages as a Dashboard
Other
1 stars 0 forks source link

add TTD #148

Closed u8sand closed 2 years ago

u8sand commented 2 years ago

Therapeutic Target Database (TTD) does have search and landing pages for targets & drugs. Unfortunately there is no apparent API and some aspects of the site make it difficult to get proper validation.

While we can produce:

Getting directly to the landing page would require a way to get TTD's custom identifiers (not possible without an API from them or downloading their database to stage our own API which defeats the purpose of our goals)

Besides being unable to get the landing pages directly, we also can't be sure there are any results http://idrblab.net/ttd/search/ttd/target?search_api_fulltext=THISGENEDOESNOTEXIST Still returns a 200 status code, so the card would be activated for all values whether or not information is available, unless we download the HTML and look for this error message :nauseated_face: