/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/darts-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/darts-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/darts-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/darts-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"notes": "X01 legs end on a double or the bull (50). 170 is the highest three-dart checkout; 169/168/166/165/163/162/159 are bogey numbers. Exact full-board search.",
"service": "darts-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/average": "Three-dart average from a total score and darts thrown.",
"GET /v1/checkout": "Whether a remaining score can be checked out, the minimum darts and a suggested combination."
},
"description": "Darts maths: X01 checkout solver (finishable, minimum darts, suggested route, bogey numbers) and three-dart average."
},
"meta": {
"timestamp": "2026-06-06T07:14:08.233Z",
"request_id": "6578bbdb-aaae-4377-af66-82ef10d1ea9d"
},
"status": "ok",
"message": "Meta",
"success": true
}