getOSNflightsByAircraft: getOSNflightsByAircraft

Description Usage Arguments Value See Also Examples

Description

Documentation from OpenSky Network API This API call retrieves flights for a particular aircraft within a certain time interval. Resulting flights departed and arrived within (begin, end) If no flights are found for the given period, HTTP stats 404 - Not found is returned with an empty response body.

Usage

1
2
getOSNflightsByAircraft(icao24 = NULL, from.time = NULL,
  to.time = NULL, login = NULL, password = NULL)

Arguments

icao24

Unique ICAO 24-bit address of the transponder in hex string representation. All letters need to be lower case

login

osn valid login

password

osn valid password

begin.time

as "YYYY-MM-DD HH:MM:SS", Start of time interval to retrieve flights

end.time

as "YYYY-MM-DD HH:MM:SS", End of time interval to retrieve flights

Value

The response is a JSON array of flights where each flight is an object with properties:

See Also

https://opensky-network.org/apidoc/rest.html#flights-by-aircraft

Examples

1
2
3
4
5
6
7
8
## Not run: 
getOSNflightsByAircraft(icao24 = '3c666b',
                       from.time = '2018-01-29 00:00:00',
                       to.time = '2018-01-29 01:00:00',
                       login = 'login',
                       password = 'my pasword')

## End(Not run)

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