/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/horizontalcurve-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/horizontalcurve-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/horizontalcurve-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/horizontalcurve-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"notes": "US units (ft, mph, deg). T = R·tan(Δ/2); L = R·Δ(rad); LC = 2R·sin(Δ/2); M = R(1−cos(Δ/2)); E = R(sec(Δ/2)−1); degree of curve = 5729.578/R; R_min = V²/(15(e+f)). For slope/grade conversion use a slope API; for open-channel flow a Manning API.",
"service": "horizontalcurve-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/geometry": "Tangent, length, chord, ordinates and degree of curve.",
"GET /v1/stations": "PC and PT stations from the PI station.",
"GET /v1/min-radius": "Minimum radius for a design speed (AASHTO)."
},
"description": "Horizontal road-curve geometry: curve elements from radius and angle, PC/PT stationing, and minimum radius for a design speed."
},
"meta": {
"timestamp": "2026-06-07T08:18:03.575Z",
"request_id": "bcd0cad0-2ae5-42a2-9c77-ff2d35e4c023"
},
"status": "ok",
"message": "Meta",
"success": true
}