/v1/search
Search terms across ontologies
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/ontology-api/v1/search" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ontology-api/v1/search", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ontology-api/v1/search");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/ontology-api/v1/search",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"count": 20,
"query": "diabetes",
"total": 257,
"results": [
{
"iri": "http://purl.obolibrary.org/obo/MONDO_0005015",
"type": "class",
"label": "diabetes mellitus",
"obo_id": "MONDO:0005015",
"ontology": "mondo",
"definition": "A metabolic disorder characterized by abnormally high blood sugar levels due to diminished production of insulin or insulin resistance/desensitization."
},
{
"iri": "http://purl.obolibrary.org/obo/MONDO_0004782",
"type": "class",
"label": "diabetes insipidus",
"obo_id": "MONDO:0004782",
"ontology": "mondo",
"definition": "A disorder characterized by excretion of large amounts of urine, accompanied by excessive thirst. Causes include deficiency of antidiuretic hormone or failure of the kidneys to respond to antidiuretic hormone. It may also be drug-related."
},
{
"iri": "http://purl.obolibrary.org/obo/MONDO_0005406",
"type": "class",
"label": "gestational diabetes",
"obo_id": "MONDO:0005406",
"ontology": "mondo",
"definition": "Carbohydrate intolerance first diagnosed during pregnancy."
},
{
"iri": "http://purl.obolibrary.org/obo/MONDO_0005827",
"type": "class",
"label": "lipoatrophic diabetes",
"obo_id": "MONDO:0005827",
"ontology": "mondo",
"definition": "A rare syndrome characterized by almost complete absence of body fat, accentuated muscularity, insulin-resistant diabetes, hyperlipidemia, hepatomegaly, and hypermetabolism."
},
{
"iri": "http://purl.obolibrary.org/obo/MONDO_0015967",
"type": "class",
"label": "monogenic diabetes",
"obo_id": "MONDO:0015967",
"ontology": "mondo",
"definition": "Diabetes mellitus that is caused by mutations in a single gene."
},
{
"iri": "http://purl.obolibrary.org/obo/MONDO_0007450",
"type": "class",
"label": "neurohypophyseal diabetes insipidus",
"obo_id": "MONDO:0007450",
"ontology": "mondo",
"definition": "Hereditary central diabetes insipidus is a rare genetic subtype of central diabetes insipidus (CDI) characterized by polyuria and polydipsia due to a deficiency in vasopressin (AVP) synthesis."
},
{
"iri": "http://purl.obolibrary.org/obo/MONDO_0015790",
"type": "class",
"label": "central diabetes insipidus",
"obo_id": "MONDO:0015790",
"onto
…