/v1/ridgeline
Structural ridgeline length
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/hammock-api/v1/ridgeline" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hammock-api/v1/ridgeline", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hammock-api/v1/ridgeline");
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/hammock-api/v1/ridgeline",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "A structural ridgeline fixed at about 83 % of the hammock length gives the repeatable ~30° hang and the right amount of sag every time. Shorter ridgeline = tighter/flatter; longer = deeper. Set it once and your lay is consistent on any trees.",
"inputs": {
"hammock_length": 132,
"ridgeline_percent": 83
},
"ridgeline_length": 109.56
},
"meta": {
"timestamp": "2026-06-06T15:30:49.112Z",
"request_id": "bf375a9f-1f39-46cd-8eef-d3a4a893a7a3"
},
"status": "ok",
"message": "Ridgeline length",
"success": true
}