Naar de inhoud
GET /v1/roundrobin

Round-robin schedule

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "type": "round-robin",
        "rounds": 3,
        "schedule": [
            {
                "round": 1,
                "matches": [
                    {
                        "away": "D",
                        "home": "A"
                    },
                    {
                        "away": "C",
                        "home": "B"
                    }
                ]
            },
            {
                "round": 2,
                "matches": [
                    {
                        "away": "A",
                        "home": "C"
                    },
                    {
                        "away": "D",
                        "home": "B"
                    }
                ]
            },
            {
                "round": 3,
                "matches": [
                    {
                        "away": "B",
                        "home": "A"
                    },
                    {
                        "away": "D",
                        "home": "C"
                    }
                ]
            }
        ],
        "total_games": 6,
        "participants": 4
    },
    "meta": {
        "timestamp": "2026-06-03T09:24:59.779Z",
        "request_id": "10ec9720-d67b-4491-9695-608fc0ed0ac6"
    },
    "status": "ok",
    "message": "Round-robin schedule",
    "success": true
}