/v1/average
Average + target
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/bowling-api/v1/average" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bowling-api/v1/average", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bowling-api/v1/average");
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/bowling-api/v1/average",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Average = total pins ÷ games (leagues drop the fraction). To reach a target average over the next games, you need target × (total games) − current pins. Bowl above your average to raise it.",
"inputs": {
"games": 3,
"total_pins": 450
},
"average": 150,
"average_floor": 150
},
"meta": {
"timestamp": "2026-06-06T07:13:58.618Z",
"request_id": "4b168d38-4450-461d-b0c8-352b2265be0c"
},
"status": "ok",
"message": "Average",
"success": true
}