/v1/meta
Spec
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/bowling-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bowling-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bowling-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/bowling-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"notes": "Pins per roll are 0–10; a perfect game is twelve strikes (300). Handicap = ⌊(basis − average) × percent⌋ ≥ 0. Average drops the fraction in most leagues. Pin scoring, not lane physics.",
"service": "bowling-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/score": "Score a game from a comma list of pins per roll.",
"GET /v1/average": "Average, new average after more games, and pins needed for a target.",
"GET /v1/handicap": "League handicap per game and per series from an average."
},
"description": "Ten-pin bowling maths: full game scoring with strike/spare bonuses, league handicap, and average / target-average."
},
"meta": {
"timestamp": "2026-06-06T07:13:58.883Z",
"request_id": "eed7b1bc-c279-4764-9a38-14987e2e0bdf"
},
"status": "ok",
"message": "Meta",
"success": true
}