Unverified Commit 1c421e57 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Document $status->station

parent 7aea72f5
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -928,6 +928,18 @@ If no result was found or the parser / http request failed, returns undef.
Returns a list of Travel::Status::DE::HAFAS::Message(3pm) objects with
service messages. Each message belongs to at least one arrival/departure.

=item $status->station

Returns a hashref describing the most common departure station in all requested
journeys. Note that this may be different from the station for which departures
were requested, as HAFAS uses different identifiers for train stations, bus
stops, and other modes of transit even if they are interlinked.

The hashref contains two entries: B<name> (station name) and B<uic> (UIC / EVA
ID). These are subject to change.

Not available in journey mode.

=item $status->similar_stops

Returns a list of hashrefs describing stops whose name is similar to the one
+1 −0
Original line number Diff line number Diff line
@@ -547,6 +547,7 @@ Name of the station at which this journey was requested.
=item $journey->station_uic (station only)

UIC/EVA ID of the station at which this journey was requested.
May be renamed in future releases.

=item $journey->route