phenopacket_mapper.api_requests.orpha_api_request module

class phenopacket_mapper.api_requests.orpha_api_request.OrphaAPIRequest(orpha_code_system: ~phenopacket_mapper.data_standards.code_system.CodeSystem = CodeSystem(name=Orphanet Rare Disease Ontology, name space prefix=ORPHA, version=0.0.0))[source]

Bases: APIRequestSuperClass

A class to request data from the Orphanet API.

api_base_url = 'https://www.orpha.net/en/disease/detail/'
get(concept_id: str | int) Coding[source]

Get details about a concept from the Orphanet API.