Aller au contenu
GET /v1/game

A single game's detail

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/wnba-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/wnba-api/v1/game" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/wnba-api/v1/game", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/wnba-api/v1/game");
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/wnba-api/v1/game",
    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": {
        "game": {
            "id": "401856970",
            "name": "Chicago Sky at Toronto Tempo",
            "teams": [
                {
                    "id": "131935",
                    "team": "Toronto Tempo",
                    "score": "85",
                    "record": "6-5",
                    "winner": true,
                    "home_away": "home",
                    "linescores": [
                        "29",
                        "19",
                        "22",
                        "15"
                    ],
                    "abbreviation": "TOR"
                },
                {
                    "id": "19",
                    "team": "Chicago Sky",
                    "score": "68",
                    "record": "4-7",
                    "winner": false,
                    "home_away": "away",
                    "linescores": [
                        "15",
                        "18",
                        "20",
                        "15"
                    ],
                    "abbreviation": "CHI"
                }
            ],
            "venue": "Coca-Cola Coliseum",
            "status": "Final",
            "leaders": [
                {
                    "value": "25",
                    "athlete": "Brittney Sykes"
                },
                {
                    "value": "18",
                    "athlete": "Azura Stevens"
                }
            ],
            "completed": true
        }
    },
    "meta": {
        "timestamp": "2026-06-08T01:20:07.368Z",
        "request_id": "349124c9-80d4-42bb-89a4-642d612442d4"
    },
    "status": "ok",
    "message": "Game retrieved successfully",
    "success": true
}