/v1/meta
Spec
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/golf-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/golf-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/golf-api/v1/meta");
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/golf-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"notes": "Slope defaults to 113 (the neutral rating). Stableford uses the standard 2-points-for-net-par scale. A scoring aid, not an official handicap record.",
"service": "golf-api",
"endpoints": {
"GET /v1/net": "Net score for a round from the gross total and course handicap.",
"GET /v1/meta": "This document.",
"GET /v1/handicap": "Course and playing handicap from handicap index, slope and course rating.",
"GET /v1/stableford": "Stableford points for a hole from gross, par and strokes received."
},
"description": "Golf scoring maths: WHS course handicap, Stableford points and net score."
},
"meta": {
"timestamp": "2026-06-06T07:14:08.618Z",
"request_id": "07591e29-f2db-4dac-8a40-281a68a58c5b"
},
"status": "ok",
"message": "Meta",
"success": true
}