/v1/incline
Block on an inclined plane
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/incline-api/v1/incline" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/incline-api/v1/incline", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/incline-api/v1/incline");
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/incline",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"slides": true,
"formula": "N = m·g·cosθ; slope force = m·g·sinθ; slides when m·g·sinθ > μ·N.",
"mass_kg": 10,
"weight_n": 98.0665,
"angle_deg": 30,
"gravity_ms2": 9.80665,
"net_force_n": 23.554826,
"normal_force_n": 84.92808,
"acceleration_ms2": 2.355483,
"friction_coefficient": 0.3,
"gravity_along_slope_n": 49.03325,
"max_static_friction_n": 25.478424
},
"meta": {
"timestamp": "2026-06-04T10:18:44.112Z",
"request_id": "af88cdd5-cb40-458d-8ee4-0dc716616486"
},
"status": "ok",
"message": "Block on an inclined plane",
"success": true
}