/v1/physical
Physical / compound pendulum
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/pendulum-api/v1/physical" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pendulum-api/v1/physical", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pendulum-api/v1/physical");
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/pendulum-api/v1/physical",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Compound pendulum swinging about a pivot a distance d from its centre of mass. The equivalent simple-pendulum length is I/(m·d).",
"inputs": {
"mass": 1,
"gravity": 9.81,
"distance": 0.5,
"moment_of_inertia": 0.3333
},
"period_s": 1.637865,
"frequency_hz": 0.610551,
"angular_frequency": 3.836205,
"equivalent_simple_length_m": 0.6666
},
"meta": {
"timestamp": "2026-06-04T10:18:37.139Z",
"request_id": "8ea3f039-7b35-48c2-8b61-63758e4e298d"
},
"status": "ok",
"message": "Physical pendulum",
"success": true
}