Vai al contenuto
GET /v1/friction

Flat-surface friction

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/incline-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "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
}