Naar de inhoud
GET /v1/game-score

Hollinger Game Score

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/basketball-api/v1/game-score" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/basketball-api/v1/game-score", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/basketball-api/v1/game-score");
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/basketball-api/v1/game-score",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "Game Score (John Hollinger) rolls a full box-score line into one productivity number for a single game, scaled like points: PTS + 0.4·FGM − 0.7·FGA − 0.4·(FTA−FTM) + 0.7·ORB + 0.3·DRB + STL + 0.7·AST + 0.7·BLK − 0.4·PF − TOV. Around 10 is an average game, 20+ is excellent and 40+ is historic. It rewards efficient scoring and all-round contribution while docking missed shots and turnovers.",
        "inputs": {
            "pf": 2,
            "ast": 4,
            "blk": 1,
            "drb": 5,
            "fga": 18,
            "fgm": 9,
            "fta": 6,
            "ftm": 5,
            "orb": 2,
            "stl": 2,
            "tov": 3,
            "points": 25
        },
        "game_score": 20.2
    },
    "meta": {
        "timestamp": "2026-06-07T08:17:50.760Z",
        "request_id": "6c9ffe5e-6acf-4a60-ac3c-b1e5c3b22e7c"
    },
    "status": "ok",
    "message": "Game score",
    "success": true
}