get_contact_email

get_contact_email(prefix: str) str | None[source]

Return the contact email, if available.

Parameters:

prefix – The prefix to lookup

Returns:

The resource’s contact email address, if it is available.

>>> import bioregistry
>>> bioregistry.get_contact_email('bioregistry')  # from bioregistry curation
'cthoyt@gmail.com'
>>> bioregistry.get_contact_email('chebi')
'amalik@ebi.ac.uk'
>>> assert bioregistry.get_contact_email('pass2') is None  # dead resource