/v1/platonic
Platonic solid
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/solids-api/v1/platonic" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/solids-api/v1/platonic", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/solids-api/v1/platonic");
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/solids-api/v1/platonic",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Platonic solid from edge length a. Cube: V=a³, S=6a². Tetrahedron: V=a³/(6√2). Dodecahedron and icosahedron use the golden-ratio coefficients.",
"faces": 20,
"inputs": {
"edge": 1,
"solid": "icosahedron"
},
"volume": 2.18169499,
"surface_area": 8.66025404
},
"meta": {
"timestamp": "2026-06-05T19:50:11.442Z",
"request_id": "f6eb5fd0-8490-45b7-b983-9246593f91e8"
},
"status": "ok",
"message": "Platonic solid",
"success": true
}