/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/firewood-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/firewood-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/firewood-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/firewood-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "1 cord = 128 ft³. Face cord = 8×4 ft × piece length (default 16 in). Heat values are typical and vary with moisture.",
"service": "firewood",
"species": [
"osageorange",
"hickory",
"blacklocust",
"oakwhite",
"oakred",
"beech",
"sugarmaple",
"ash",
"walnut",
"birchyellow",
"redmaple",
"cherry",
"elm",
"douglasfir",
"sycamore",
"cedar",
"pinewhite",
"poplar",
"aspen",
"basswood",
"spruce",
"willow"
],
"endpoints": {
"/v1/heat": "Heating value (million BTU) and heating-oil/gas/kWh equivalents from cords and species.",
"/v1/volume": "Stack dimensions to cubic feet/metres, cords, face cords and steres.",
"/v1/convert": "Convert between cord, face cord, stere, m³ and ft³ (face cord uses the piece length)."
},
"description": "Firewood maths: stack volume to cords/face cords/steres/m³, unit conversion, and heating value by species."
},
"meta": {
"timestamp": "2026-06-04T01:59:19.190Z",
"request_id": "7d7e8133-ae82-4f4e-b778-84f0255d6e0d"
},
"status": "ok",
"message": "Meta",
"success": true
}