Naar de inhoud
GET /v1/meta

Spec

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/bowling-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}