/v1/match
Update ratings
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/elo-api/v1/match" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/elo-api/v1/match", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/elo-api/v1/match");
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/elo-api/v1/match",
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": {
"a": 1600,
"b": 1400,
"k": 32,
"new_a": 1608,
"new_b": 1392,
"result": "a",
"change_a": 8,
"change_b": -8,
"expected_a": 0.7597,
"expected_b": 0.2403,
"new_a_precise": 1607.69,
"new_b_precise": 1392.31
},
"meta": {
"timestamp": "2026-06-03T17:42:19.686Z",
"request_id": "cb65e19c-feeb-43cd-b42d-aac4d770fd70"
},
"status": "ok",
"message": "Update ratings",
"success": true
}