/v1/set
Double-N set statistics
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}