Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Travel-Status-DE-HAFAS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
derf
Travel-Status-DE-HAFAS
Commits
1c421e57
Unverified
Commit
1c421e57
authored
2 years ago
by
Birte Kristina Friesel
Browse files
Options
Downloads
Patches
Plain Diff
Document $status->station
parent
7aea72f5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/Travel/Status/DE/HAFAS.pm
+12
-0
12 additions, 0 deletions
lib/Travel/Status/DE/HAFAS.pm
lib/Travel/Status/DE/HAFAS/Journey.pm
+1
-0
1 addition, 0 deletions
lib/Travel/Status/DE/HAFAS/Journey.pm
with
13 additions
and
0 deletions
lib/Travel/Status/DE/HAFAS.pm
+
12
−
0
View file @
1c421e57
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
lib/Travel/Status/DE/HAFAS/Journey.pm
+
1
−
0
View file @
1c421e57
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment