Vai al contenuto
GET /v1/meta

Spec

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/bowling-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "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
}