/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/yahtzee-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/yahtzee-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/yahtzee-api/v1/meta");
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/yahtzee-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"notes": "Dice are five values 1–6. Full house 25, small straight 30, large straight 40, Yahtzee 50; upper bonus +35 at 63. Scores a given roll — it does not roll the dice. For random rolls use a dice API.",
"service": "yahtzee-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/score": "Score a roll of five dice across every category, with the best box.",
"GET /v1/total": "Upper-section bonus and grand total from a filled scorecard."
},
"description": "Yahtzee scoring: score five dice across all thirteen categories, and the upper-section bonus / grand total."
},
"meta": {
"timestamp": "2026-06-06T07:13:56.386Z",
"request_id": "693e3553-2f52-4bfd-ba00-3ee3e706ba09"
},
"status": "ok",
"message": "Meta",
"success": true
}