Vai al contenuto
GET /v1/roundrobin

Round-robin schedule

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}