GET /v1/leaderboards

Leaderboard top players

Essayez-le en direct

Un appel gratuit par session — pas d'inscription, pas de clé API. Passe par le portail d'Oanor.

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

Extraits de code

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