/v1/airport
All runways at an airport
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/runways-api/v1/airport" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/runways-api/v1/airport", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/runways-api/v1/airport");
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/runways-api/v1/airport",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"count": 4,
"airport": "KJFK",
"runways": [
{
"closed": false,
"airport": "KJFK",
"lighted": true,
"low_end": {
"ident": "13R",
"latitude": 40.6484,
"longitude": -73.8167,
"heading_deg": 121
},
"surface": "PEM",
"high_end": {
"ident": "31L",
"latitude": 40.6279,
"longitude": -73.7716,
"heading_deg": 301
},
"length_m": 4423,
"width_ft": 200,
"length_ft": 14511,
"designation": "13R/31L"
},
{
"closed": false,
"airport": "KJFK",
"lighted": true,
"low_end": {
"ident": "04L",
"latitude": 40.622,
"longitude": -73.7856,
"heading_deg": 31
},
"surface": "PEM",
"high_end": {
"ident": "22R",
"latitude": 40.6488,
"longitude": -73.7647,
"heading_deg": 211
},
"length_m": 3682,
"width_ft": 200,
"length_ft": 12079,
"designation": "04L/22R"
},
{
"closed": false,
"airport": "KJFK",
"lighted": true,
"low_end": {
"ident": "13L",
"latitude": 40.6578,
"longitude": -73.7902,
"heading_deg": 121
},
"surface": "PEM",
"high_end": {
"ident": "31R",
"latitude": 40.6437,
"longitude": -73.7593,
"heading_deg": 301
},
"length_m": 3048,
"width_ft": 200,
"length_ft": 10000,
"designation": "13L/31R"
},
{
"closed": false,
"airport": "KJFK",
"lighted": true,
"low_end": {
"ident": "04R",
"latitude": 40.6254,
"longitude": -73.7703,
"heading_deg": 30.6
},
"surface": "ASP",
"high_end": {
"ident": "22L",
"latitude": 40.6452,
"longitude": -73.7549,
"heading_deg": 210.6
},
"length_m": 2560,
"width_ft": 200,
"length_ft": 8400,
"designation": "04R/22L"
}
],
"longe
…