WebService::OpenSky::Core::Flight - Flight class
version 0.4
use WebService::OpenSky; my $opensky = WebService::OpenSky->new; my $flights = $opensky->get_arrivals_by_airport('KLAX', $start, $end); while ( my $flight = $flights->next ) { say $flight->callsign; }
This class is not to be instantiated directly. It is a read-only class representing OpenSky flight responses.
All attributes are read-only.
Unique ICAO 24-bit address of the transponder in hex string representation. All letters are lower case.
Estimated time of departure for the flight as Unix time (seconds since epoch).
ICAO code of the estimated departure airport. Can be null if the airport could not be identified.
Estimated time of arrival for the flight as Unix time (seconds since epoch)
ICAO code of the estimated arrival airport. Can be null if the airport could not be identified.
Callsign of the vehicle (8 chars). Can be null if no callsign has been received. If the vehicle transmits multiple callsigns during the flight, we take the one seen most frequently.
Horizontal distance of the last received airborne position to the estimated
Vertical distance of the last received airborne position to the estimated departure airport in meters
Horizontal distance of the last received airborne position to the estimated arrival airport in meters
Vertical distance of the last received airborne position to the estimated arrival airport in meters
Number of other possible departure airports. These are airports in short distance to estDepartureAirport.
estDepartureAirport
Number of other possible departure airports. These are airports in short distance to estArrivalAirport.
estArrivalAirport
Curtis "Ovid" Poe <curtis.poe@gmail.com>
This software is Copyright (c) 2023 by Curtis "Ovid" Poe.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install WebService::OpenSky, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::OpenSky
CPAN shell
perl -MCPAN -e shell install WebService::OpenSky
For more information on module installation, please visit the detailed CPAN module installation guide.