/v1/set
Double-N set statistics
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/dominoes-api/v1/set" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dominoes-api/v1/set", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dominoes-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/dominoes-api/v1/set",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "A double-N set has every unordered pair from 0–0 up to N–N: (N+1)(N+2)/2 tiles. Each number appears N+2 times across the set, so the total pip count is (N+2)·N·(N+1)/2 — 28 tiles and 168 pips for a standard double-six, 55 tiles and 495 pips for a double-nine.",
"inputs": {
"max_double": 6
},
"tile_count": 28,
"total_pips": 168,
"heaviest_tile": "6-6",
"heaviest_tile_pips": 12
},
"meta": {
"timestamp": "2026-06-06T15:30:45.490Z",
"request_id": "99233334-7cbd-452d-8614-4c155ff706df"
},
"status": "ok",
"message": "Set statistics",
"success": true
}