Description Usage Arguments Value See Also Examples
A function to get airport information from Aviation Edge API. As stated on aviation-edge.com, this world airport database contains detailed data on "every airport, including private and public airports, airstrips, helipads, seaports and much more".
Available API Options
The entire database of airports, i.e. get all airports in one shot, this represents ~10k+ items worldwide (with free API)
Information for a specific airport using it's IATA Code.
All airports for a specific country using country code (Iso).
1 2 | getAEairports(airport.iata.code = NULL, country.iso.code = NULL,
api.key)
|
airport.iata.code |
IATA code of the airport |
country.iso.code |
ISO code of the country (eg. DE) |
api.key |
you authentication api key |
answer a json object containing airports information details
"airportId": "7",
"nameAirport": "Aachen/Merzbruck",
"codeIataAirport": "AAH",
"codeIcaoAirport": "EDKA",
"latitudeAirport": "50.75",
"longitudeAirport": "6.133333",
"geonameId": "3247449",
"timezone": "Europe/Berlin",
"GMT": "1",
"phone": "",
"nameCountry": "Germany",
"codeIso2Country": "DE",
"codeIataCity": "AAH"
https://www.iata.org/publications/Pages/code-search.aspx
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | Details about Lisbon (LIS) airport
## Not run:
getAEairports(airport.iata.code = 'LIS',
country.iso.code = NULL,
api.key = 'key.here')
## End(Not run)
All airports in France
## Not run:
getAEairports(airport.iata.code = NULL,
country.iso.code = 'FR',
api.key = 'key.here')
## End(Not run)
All airports
## Not run:
getAEairports(airport.iata.code = NULL,
country.iso.code = NULL,
api.key = 'key.here')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.