tooluniverse.tools.PubChem_get_compound_xrefs_by_CID module¶
PubChem_get_compound_xrefs_by_CID
Get external references (XRefs) for compound by CID, including links to ChEBI, DrugBank, KEGG, etc.
- tooluniverse.tools.PubChem_get_compound_xrefs_by_CID.PubChem_get_compound_xrefs_by_CID(cid, xref_types, *, stream_callback=None, use_cache=False, validate=True)[source]¶
Get external references (XRefs) for compound by CID, including links to ChEBI, DrugBank, KEGG, etc.
- Parameters:
cid (
int
) – Compound ID to query external references for, e.g., 2244.xref_types (
list[Any]
) – List of external database types to query, e.g., [“RegistryID”, “RN”, “PubMedI…stream_callback (
Callable
, optional) – Callback for streaming output
- Return type:
Any