/v1/energy
Rotational kinetic energy & angular momentum
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/flywheel-api/v1/energy" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/flywheel-api/v1/energy", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/flywheel-api/v1/energy");
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/flywheel-api/v1/energy",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"formula": "E = ½·I·ω²; L = I·ω; ω = rpm·2π/60.",
"angular_speed": {
"hz": 50,
"rpm": 3000,
"omega_rad_s": 314.159265
},
"inertia_source": "given",
"kinetic_energy_kj": 61.68502751,
"kinetic_energy_wh": 17.13472986,
"kinetic_energy_joules": 61685.027507,
"moment_of_inertia_kg_m2": 1.25,
"angular_momentum_kg_m2_s": 392.699082
},
"meta": {
"timestamp": "2026-06-04T10:18:54.212Z",
"request_id": "3d26438d-33e6-4ef9-85fb-b41e54236c03"
},
"status": "ok",
"message": "Rotational kinetic energy",
"success": true
}