Naar de inhoud
GET /v1/fives

All-Fives / Muggins open-end score

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/dominoes-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/dominoes-api/v1/fives" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dominoes-api/v1/fives", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dominoes-api/v1/fives");
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/fives",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "In All Fives (Muggins) you score whenever the open ends of the layout add up to a multiple of five — and you score that sum. A spinner and the two arms can give two, three or four open ends; a double counts both its pips. Sums that are not a multiple of five (or zero) score nothing.",
        "inputs": {
            "open_ends": [
                3,
                2
            ]
        },
        "points": 5,
        "scores": true,
        "open_end_sum": 5
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:45.291Z",
        "request_id": "bcacd16a-0ec1-47f9-ad0d-0216a71f8045"
    },
    "status": "ok",
    "message": "All Fives",
    "success": true
}