/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/twostroke-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/twostroke-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/twostroke-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/twostroke-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"notes": "Ratio as '50:1' or a number; volume in l, gal (US), impgal, ml or floz. Oil = fuel ÷ ratio. Use the manufacturer's specified ratio and a quality two-stroke oil. For four-stroke or fuel economy use a different API.",
"service": "twostroke-api",
"endpoints": {
"GET /v1/mix": "Oil (ml / fl oz) to add to a fuel volume at a given ratio.",
"GET /v1/meta": "This document.",
"GET /v1/ratio": "The gas:oil ratio from measured fuel and oil amounts."
},
"description": "Two-stroke premix maths: oil needed for a fuel volume at a gas:oil ratio, and the ratio from measured amounts."
},
"meta": {
"timestamp": "2026-06-06T07:13:56.717Z",
"request_id": "6cf4962f-25de-4ec4-9e38-268236203a27"
},
"status": "ok",
"message": "Meta",
"success": true
}