/v1/ridgeline
Structural ridgeline length
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}