phenopacket_mapper.api_requests.hpo_api_request module

class phenopacket_mapper.api_requests.hpo_api_request.HPOAPIRequest(hpo_code_system: ~phenopacket_mapper.data_standards.code_system.CodeSystem = CodeSystem(name=Human Phenotype Ontology, name space prefix=HP, version=0.0.0))[source]

Bases: APIRequestSuperClass

A class to request data from the HPO API.

api_base_url = 'https://ontology.jax.org/api/hp/terms/HP:'
get(concept_id: str | int) Coding[source]

Get details about a concept from the Orphanet API.