tooluniverse.tools.OpenTargets_get_drug_id_description_by_name moduleΒΆ

OpenTargets_get_drug_id_description_by_name

Fetch the drug chemblId and description based on the drug generic name.

tooluniverse.tools.OpenTargets_get_drug_id_description_by_name.OpenTargets_get_drug_id_description_by_name(drugName, *, stream_callback=None, use_cache=False, validate=True)[source]ΒΆ

Fetch the drug chemblId and description based on the drug generic name.

Parameters:
  • drugName (str) – The name of the drug for which the ID is required.

  • stream_callback (Callable, optional) – Callback for streaming output

  • use_cache (bool, default False) – Enable caching

  • validate (bool, default True) – Validate parameters

Return type:

Any