Get departures from a bus or train stop.

Documentation: https://docs.api.tfl.lu/v1/en/RESTAPIs/StopPoint/Departures/

Access the API: https://api.tfl.lu/v1/StopPoint/Departures/:stationId

Here's an example:

[{
    "id": "1|5232|4|82|14022017",
    "type": "bus",
    "trainId": null,
    "line": "13",
    "number": 1123,
    "departure": 1487086020,
    "delay": 0,
    "live": true,
    "departureISO": "2017-02-14T16:27:00+01:00",
    "destination": "Luxembourg/Strassen, Centre Hospitalier",
    "destinationId": 200405008
}, {
    "id": "1|5776|0|82|14022017",
    "type": "bus",
    "trainId": null,
    "line": "9",
    "number": 2660,
    "departure": 1487086020,
    "delay": 0,
    "live": true,
    "departureISO": "2017-02-14T16:27:00+01:00",
    "destination": "Cents, Waassertuerm",
    "destinationId": 200406019
}, {
    ...
}]

Discussions

+

Start a new discussion

Discussion between the reusers and the community about this reuse.