WebService::OpenSky::Core::Waypoint - Waypoint 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 waypoint responses.
All attributes are read-only.
time
Time which the given waypoint is associated with in seconds since epoch (Unix time).
latitude
WGS-84 latitude in decimal degrees. Can be null.
longitude
WGS-84 longitude in decimal degrees. Can be null.
baro_altitude
Barometric altitude in meters. Can be null.
true_track
True track in decimal degrees clockwise from north (north=0°). Can be null.
on_ground
Boolean value which indicates if the position was retrieved from a surface position report.
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.