/v1/set
Set status
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/tennis-api/v1/set" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tennis-api/v1/set", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tennis-api/v1/set");
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/tennis-api/v1/set",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "A set is won at 6 games with a two-game lead; at 6-6 a tiebreak decides it (final score 7-6), or 7-5 if a player pulls ahead first. Some formats use an advantage set with no tiebreak.",
"score": "6-4",
"inputs": {
"games_a": 6,
"games_b": 4,
"tiebreak_at": 6
},
"status": "set won",
"winner": "a",
"needs_tiebreak": false
},
"meta": {
"timestamp": "2026-06-06T07:13:58.414Z",
"request_id": "ff528ba1-41b6-4916-b5f4-955fbe7f6c3a"
},
"status": "ok",
"message": "Set status",
"success": true
}