/v1/fives
All-Fives / Muggins open-end score
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}