/v1/laureates
Search laureates
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/nobel-api/v1/laureates" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nobel-api/v1/laureates", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nobel-api/v1/laureates");
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/nobel-api/v1/laureates",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"count": 3,
"query": "curie",
"results": [
{
"id": "194",
"name": "Irène Joliot-Curie",
"birth": {
"date": "1897-09-12",
"place": "Paris",
"country": "France"
},
"death": {
"date": "1956-03-17"
},
"gender": "female",
"prizes": [
{
"year": "1935",
"portion": "1/2",
"category": "Chemistry",
"motivation": "in recognition of their synthesis of new radioactive elements"
}
],
"full_name": "Irène Joliot-Curie"
},
{
"id": "6",
"name": "Marie Curie",
"birth": {
"date": "1867-11-07",
"place": "Warsaw",
"country": "Russian Empire"
},
"death": {
"date": "1934-07-04"
},
"gender": "female",
"prizes": [
{
"year": "1903",
"portion": "1/4",
"category": "Physics",
"motivation": "in recognition of the extraordinary services they have rendered by their joint researches on the radiation phenomena discovered by Professor Henri Becquerel"
},
{
"year": "1911",
"portion": "1",
"category": "Chemistry",
"motivation": "in recognition of her services to the advancement of chemistry by the discovery of the elements radium and polonium, by the isolation of radium and the study of the nature and compounds of this remarkable element"
}
],
"full_name": "Marie Curie, née Skłodowska"
},
{
"id": "5",
"name": "Pierre Curie",
"birth": {
"date": "1859-05-15",
"place": "Paris",
"country": "France"
},
"death": {
"date": "1906-04-19"
},
"gender": "male",
"prizes": [
{
"year": "1903",
"portion": "1/4",
"category": "Physics",
"motivation": "in recognition of the extraordinary services they have rendered by their joint researches on the radiation phenomena discovered by Professor Henri Becquerel"
}
],
"full_name": "Pierre Curie"
}
]
…