[Line] get all lines of specific mode

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

  • mobiliteit
  • public-transport
  • tfl

Informations

Type
API
Topic
Others
ID
58bd55a3cc765e1981544265

Publication

Embed

Permalink

Description

Get all possible public transport lines of specific mode

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

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

Here's an example:

[{
    "id": "2:C88---:CRE7100",
    "type": "train",
    "name": "CRE7100",
    "long_name": "Virton - Luxembourg, Gare Centrale"
}, {
    "id": "2:C82---:RB5100",
    "type": "train",
    "name": "RB5100",
    "long_name": "Trier, Hauptbahnhof - Luxembourg, Gare Centrale"
}, {
    "id": "2:C82---:CRE1800",
    "type": "train",
    "name": "CRE1800",
    "long_name": "Wiltz, Gare - Kautenbach, Gare"
}, {
    "id": "2:C82---:RB5900",
    "type": "train",
    "name": "RB5900",
    "long_name": "Luxembourg, Gare Centrale - Arlon, Gare"
}, {
    "id": "2:C82---:RB3600",
    "type": "train",
    "name": "RB3600",
    "long_name": "Diekirch, Gare - Luxembourg, Gare Centrale"
}, {
    ...
}]

Used datasets 1

Discussion between the organization and the community about this reuse.

More reuses

Discover more reuses.