/v1/cylinder
Cylinder push/pull force
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/hydraulic-api/v1/cylinder" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hydraulic-api/v1/cylinder", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hydraulic-api/v1/cylinder");
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/hydraulic-api/v1/cylinder",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"formula": "push F = P·A_bore; pull F = P·(A_bore − A_rod).",
"bore_area_m2": 0.0019634954,
"pressure_bar": 100,
"pull_force_n": 14726.215564,
"push_force_n": 19634.954085,
"pull_force_kn": 14.72621556,
"push_force_kn": 19.63495408,
"rod_diameter_m": 0.025,
"annulus_area_m2": 0.0014726216,
"bore_diameter_m": 0.05
},
"meta": {
"timestamp": "2026-06-04T10:18:40.260Z",
"request_id": "fdc77ebb-6867-4c86-be9c-8c65fdd5498f"
},
"status": "ok",
"message": "Cylinder push/pull force",
"success": true
}