/v1/fov
Field of view from distance & size
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/viewdistance-api/v1/fov" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/viewdistance-api/v1/fov", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/viewdistance-api/v1/fov");
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/viewdistance-api/v1/fov",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Horizontal field of view = 2 · atan(width / (2 · distance)). SMPTE recommends ≥30°, THX 36–40°.",
"assessment": "Within the SMPTE–THX recommended range.",
"aspect_ratio": "16:9",
"diagonal_inches": 65,
"distance_inches": 105,
"horizontal_fov_degrees": 30.2
},
"meta": {
"timestamp": "2026-06-04T01:59:10.542Z",
"request_id": "52228841-62da-466d-a842-38c149c2619b"
},
"status": "ok",
"message": "Field of view from distance and screen size",
"success": true
}