/v1/normal-depth
Normal depth for a discharge
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/manning-api/v1/normal-depth" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/manning-api/v1/normal-depth", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/manning-api/v1/normal-depth");
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/manning-api/v1/normal-depth",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Normal depth solved by bisection on Manning's equation; discharge_check should match the target.",
"unit": "m",
"shape": "rectangular",
"slope": 0.001,
"manning_n": 0.013,
"flow_area_m2": 1.99766,
"velocity_m_s": 1.5318,
"normal_depth_m": 0.99883,
"discharge_check": {
"l_s": 3060,
"m3_h": 11016,
"m3_s": 3.06,
"ft3_s": 108.0629,
"us_gpm": 48502
},
"roughness_source": "explicit",
"hydraulic_radius_m": 0.49971,
"target_discharge_m3_s": 3.06
},
"meta": {
"timestamp": "2026-06-04T01:59:08.463Z",
"request_id": "b6974b09-b314-440a-b8e9-54611f94da0f"
},
"status": "ok",
"message": "Normal depth for a target discharge",
"success": true
}