/v1/friction
Flat-surface friction
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/incline-api/v1/friction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/incline-api/v1/friction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/incline-api/v1/friction");
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/incline-api/v1/friction",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"formula": "f = μ·N; angle of repose = atan(μ).",
"mass_kg": 5,
"normal_force_n": 49.03325,
"friction_force_n": 19.6133,
"angle_of_repose_deg": 21.801409,
"friction_coefficient": 0.4
},
"meta": {
"timestamp": "2026-06-04T10:18:44.011Z",
"request_id": "d4359e00-cc09-4688-bfbd-50bd4e47960f"
},
"status": "ok",
"message": "Flat-surface friction",
"success": true
}