mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +00:00
Update markdown Trafikverket Train (#22657)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
12ce1a99b3
commit
9f46093f0d
@ -20,21 +20,23 @@ Retrieve train departure information from [Trafikverket](https://www.trafikverke
|
||||
|
||||
## Use cases
|
||||
|
||||
- Retrieve the next departure and information connected to it for a specific train line.
|
||||
- Retrieve information for specific departure time on a specific train line.
|
||||
- Retrieve the next departure between two stations.
|
||||
- Retrieve information for specific departure time between two stations.
|
||||
- Set up an alert or perform actions if your train is delayed or canceled.
|
||||
|
||||
## Retrieved data
|
||||
|
||||
- Next departure for the specific train line.
|
||||
- Canceled status.
|
||||
- The number of minutes delayed.
|
||||
- Delayed time.
|
||||
- Planned time if no delays occur.
|
||||
- Estimated time of arrival if delays occur.
|
||||
- Actual time - when it did arrive.
|
||||
- Other information / additional texts.
|
||||
- Deviations.
|
||||
|
||||
The next departure is calculated from actual, estimated, and planned to provide the most accurate information about departure.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Please click [here](https://api.trafikinfo.trafikverket.se/) and register to obtain the API key.
|
||||
|
Loading…
x
Reference in New Issue
Block a user