Update markdown Trafikverket Train (#22657)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
G Johansson 2022-05-15 22:04:55 +02:00 committed by GitHub
parent 12ce1a99b3
commit 9f46093f0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.