Description Usage Arguments Value See Also Examples
A function to get airlines information from Aviation Edge API. As stated on aviation-edge.com, this is a complete database of all the airlines in the world, especially Interesting if used in combination with other AE API solutions such as the flight tracker.
Available API Options
The entire database of airlines, i.e. get all airlines in one shot, this represents ~13k+ items worldwide (with free API)
Information about a specific airline by IATA airline code.
All airlines for a specific country using country code (Iso).
1 2 | getAEairlines(airline.iata.code = NULL, country.iso.code = NULL,
api.key)
|
airline.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
"airlineId": "1",
"nameAirline": "American Airlines",
"codeIataAirline": "AA",
"iataPrefixAccounting": "1",
"codeIcaoAirline": "AAL",
"callsign": "AMERICAN",
"type": "scheduled",
"statusAirline": "active",
"sizeAirline": "963",
"ageFleet": "10.9",
"founding": "1934",
"codeHub": "DFW",
"nameCountry": "United States",
"codeIso2Country": "US"
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 | The entire airlines database
## Not run:
getAEairlines( api.key = 'key.here')
## End(Not run)
Information about AA airlines
## Not run:
getAEairlines(airline.iata.code = "AA", api.key = 'key.here')
## End(Not run)
All airlines in France
## Not run:
getAEairlines(airline.iata.code = NULL,country.iso.code = "FR",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.