/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/grazing-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/grazing-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/grazing-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/grazing-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"notes": "1 animal unit = a 1000 lb cow eating 26 lb dry matter/day. AU equivalents: cow 1.0, cow-calf 1.3, sheep 0.2, goat 0.17, horse 1.25. Use ~50 % utilization (take half, leave half). US units (acres, lb DM).",
"service": "grazing-api",
"endpoints": {
"GET /v1/days": "Grazing days a paddock provides for a herd.",
"GET /v1/meta": "This document.",
"GET /v1/acres": "Acreage to graze a herd for a number of days.",
"GET /v1/animalunits": "Total animal units from a herd list or by weight."
},
"description": "Rotational-grazing maths: animal units from a herd, grazing days a paddock provides, and acreage to graze a herd for a period."
},
"meta": {
"timestamp": "2026-06-06T15:30:51.903Z",
"request_id": "8dcd5b05-5606-4494-abd1-2d0858d1e649"
},
"status": "ok",
"message": "Meta",
"success": true
}