getAEcities: getAEcities

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 cities database contains all cities in the world with their aviation and travel related data.

Available API Options

Usage

1
getAEcities(city.iata.code = NULL, country.iso.code = NULL, api.key)

Arguments

city.iata.code

IATA code of the airport

country.iso.code

ISO code of the country (eg. DE)

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
20
21
22
23
Details about Anaa city
## Not run:  
getAEcities(city.iata.code = 'AAA ',
              country.iso.code = NULL,
              api.key = 'key.here') 

## End(Not run)

All cities in France
## Not run: 
getAEcities(city.iata.code = NULL,
              country.iso.code = 'FR',
              api.key = 'key.here')

## End(Not run)

All cities
## Not run: 
getAEcities(city.iata.code = NULL,
              country.iso.code = NULL,
              api.key = 'key.here')

## End(Not run)

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