/v1/opening
Required valve opening
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/valveflow-api/v1/opening" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/valveflow-api/v1/opening", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/valveflow-api/v1/opening");
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/valveflow-api/v1/opening",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Linear opening = Kv/Kvs. Equal-percentage opening = 1 + ln(Kv/Kvs)/ln(R). Aim for 20–80 % travel at normal flow.",
"inputs": {
"rated_kv": 20,
"operating_kv": 7.07,
"rangeability": 50
},
"kv_ratio": 0.3535,
"linear_opening_percent": 35.35,
"equal_percentage_opening_percent": 73.4186
},
"meta": {
"timestamp": "2026-06-04T18:38:26.001Z",
"request_id": "d90a89cb-4cd6-4e62-a3b9-33599f939f23"
},
"status": "ok",
"message": "Valve opening",
"success": true
}