/v1/ridgeline
Structural ridgeline length
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"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
}