/v1/list
List all distilleries
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/whisky-api/v1/list" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/whisky-api/v1/list", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/whisky-api/v1/list");
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/whisky-api/v1/list",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"count": 86,
"total": 86,
"distilleries": [
{
"region": "Highlands",
"flavours": {
"body": 2,
"honey": 2,
"malty": 2,
"nutty": 2,
"smoky": 2,
"spicy": 1,
"winey": 2,
"floral": 2,
"fruity": 2,
"tobacco": 0,
"medicinal": 0,
"sweetness": 2
},
"postcode": "PH15 2EB",
"distillery": "Aberfeldy"
},
{
"region": "Speyside",
"flavours": {
"body": 3,
"honey": 4,
"malty": 3,
"nutty": 2,
"smoky": 1,
"spicy": 3,
"winey": 2,
"floral": 2,
"fruity": 3,
"tobacco": 0,
"medicinal": 0,
"sweetness": 3
},
"postcode": "AB38 9PJ",
"distillery": "Aberlour"
},
{
"region": "Highlands",
"flavours": {
"body": 1,
"honey": 2,
"malty": 2,
"nutty": 2,
"smoky": 2,
"spicy": 0,
"winey": 0,
"floral": 2,
"fruity": 3,
"tobacco": 0,
"medicinal": 0,
"sweetness": 3
},
"postcode": "AB5 5LI",
"distillery": "AnCnoc"
},
{
"region": "Islay",
"flavours": {
"body": 4,
"honey": 0,
"malty": 2,
"nutty": 1,
"smoky": 4,
"spicy": 2,
"winey": 0,
"floral": 0,
"fruity": 1,
"tobacco": 0,
"medicinal": 4,
"sweetness": 1
},
"postcode": "PA42 7EB",
"distillery": "Ardbeg"
},
{
"region": "Highlands",
"flavours": {
"body": 2,
"honey": 1,
"malty": 3,
"nutty": 2,
"smoky": 2,
"spicy": 1,
"winey": 1,
"floral": 1,
"fruity": 1,
"tobacco": 0,
"medicinal": 0,
"sweetness": 2
},
"postcode": "AB54 4NH",
"dist
…