/v1/broadcrested
Broad-crested weir
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/weir-api/v1/broadcrested" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/weir-api/v1/broadcrested", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/weir-api/v1/broadcrested");
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/weir-api/v1/broadcrested",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "Q = Cd·(2/3)^1.5·√g·b·H^1.5 ≈ Cd·1.705·b·H^1.5. Broad-crested weir; Cd≈0.85.",
"type": "broad-crested",
"head_m": 0.3,
"inputs": {
"gravity": 9.81,
"crest_width": 2,
"discharge_coefficient": 0.85
},
"solved_for": null,
"discharge_l_s": 476.2428,
"discharge_m3_s": 0.4762428,
"coefficient_constant": 1.704895
},
"meta": {
"timestamp": "2026-06-04T18:38:27.884Z",
"request_id": "f8cd3934-d373-4565-9634-d541d2ff1eb8"
},
"status": "ok",
"message": "Broad-crested weir",
"success": true
}