Travel::Status::DE::HAFAS::Stop - Information about a HAFAS stop.
# in geoSearch mode for my $stop ($status->results) { printf( "%5.1f km %8d %s\n", $result->distance_m * 1e-3, $result->eva, $result->name ); }
version 4.11
Travel::Status::DE::HAFAS::Stop describes a HAFAS stop. It may be part of a journey or part of a geoSearch / locationSearch request.
Journey-, geoSearch- and locationSearch-specific accessors are annotated accordingly and return undef in other contexts.
Stop name, e.g. "Essen Hbf" or "Unter den Linden/B75, Tostedt".
EVA ID, e.g. 8000080.
Stop latitude (WGS-84)
Stop longitude (WGS-84)
Distance in meters between the requested coordinates and this stop.
Weight / Relevance / Importance of this stop using an unknown metric. Higher values indicate more relevant stops.
DateTime object for actual arrival.
DateTime object for scheduled arrival.
DateTime object for actual or scheduled arrival.
Arrival delay in minutes.
Arrival is cancelled.
DateTime object for actual departure.
DateTime object for scheduled departure.
DateTIme object for actual or scheduled departure.
Departure delay in minutes.
Departure is cancelled.
Departure or arrival delay in minutes.
Direction signage from this stop on, undef if unchanged.
Actual platform.
Scheduled platform.
Actual or scheduled platform.
True if real-time and scheduled platform disagree.
Expected utilization / passenger load from this stop on.
None.
None known.
Travel::Status::DE::HAFAS(3pm).
Copyright (C) 2023 by Birthe Friesel <derf@finalrewind.org>
This module is licensed under the same terms as Perl itself.
To install Travel::Status::DE::DeutscheBahn, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Travel::Status::DE::DeutscheBahn
CPAN shell
perl -MCPAN -e shell install Travel::Status::DE::DeutscheBahn
For more information on module installation, please visit the detailed CPAN module installation guide.