/v1/physical
Physical / compound pendulum
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}