[Line] get specific public transportation line

Published on March 6, 2017

See the reuse

Transport for Luxembourg

Transport for Luxembourg is a project initiated by Thierry DEGELING and Daniel DUTON. As a proof of concept, they made a proxy API for Mobiliteit.lu at the Game of Code hackathon. After being awarded 3rd best team at the Hackathon, Digital Lëtzebuerg has given ION Network Solutions (employer of…

31 reuses

  • lines
  • mobiliteit
  • public-transport
  • tfl

Informations

Type
API
Topic
Others
ID
58bd5426111e9b2e2b26bdf6

Publication

Embed

Permalink

Description

Get all possible public transport lines

Documentation: https://docs.api.tfl.lu/v1/en/RESTAPIs/Line/id.html

Access the API: https://api.tfl.lu/v1/Line/{ID}

Here's an example:

[{
    "id": "3:RGTR--:689",
    "type": "bus",
    "name": "689",
    "long_name": "Hautbellain - Troisvierges, Gare"
}, {
    "id": "3:CFLBUS:185",
    "type": "bus",
    "name": "185",
    "long_name": "Schwebsingen, Centre - Ellenger Gare"
}, {
    "id": "3:RGTR--:565",
    "type": "bus",
    "name": "565",
    "long_name": "Ettelbruck, Lycée technique - Mont St. Nicolas"
}, {
    "id": "3:RGTR--:687",
    "type": "bus",
    "name": "687",
    "long_name": "Troisvierges, Gare - Huldange, Schmitt"
}, {
    "id": "1:AVL---:2",
    "type": "bus",
    "name": "2",
    "long_name": "Limpertsberg, Lycée Michel Lucius - Cessange, Boy Konen"
}, {
    ...
}]

Used datasets 1

Discussion between the organization and the community about this reuse.

More reuses

Discover more reuses.