/v1/set
Set status
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
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_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten 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
}