getAEcountries: getAEcountries

Description Usage Arguments Value See Also Examples

Description

A function to get cities information from Aviation Edge API. As stated on aviation-edge.com, this countries database contains all countries and regions in the world.

Available API Options

Usage

1
getAEcountries(country.iso.code = NULL, country.name = NULL, api.key)

Arguments

country.iso.code

ISO code of the country (eg. DE)

country.name

name of the country (eg. France)

api.key

you authentication api key

Value

answer a json object containing airports information details

See Also

https://www.iata.org/publications/Pages/code-search.aspx

https://aviation-edge.com/developers/

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
Details about Andorra
## Not run:  
getAEcountries(country.iso.code = "AD",
              api.key = 'key.here') 

## End(Not run)
## Not run:  
getAEcountries(country.name = "Andorra",
              api.key = 'key.here') 

## End(Not run)

All countries
## Not run: 
getAEcountries(country.iso.code = NULL,
              country.name = NULL,
              api.key = 'key.here')

## End(Not run)

longwei66/flightR documentation built on May 18, 2019, 2:35 a.m.