[Line] get all lines of specific mode with their routes

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
58bd56b6cc765e1981544266

Publication

Embed

Permalink

Description

Get all possible public transport lines of specific mode with their routes

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

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

Here's an example:

[{
    "id": "2:C88---:CRE7100",
    "type": "train",
    "name": "CRE7100",
    "long_name": "Virton - Luxembourg, Gare Centrale",
    "stopPoints": [
        300000046,
        300000033,
        300000017,
        220903008,
        220902006,
        190101011,
        190301004,
        200415004,
        200405035
    ]
}, {
    "id": "2:C82---:RB5100",
    "type": "train",
    "name": "RB5100",
    "long_name": "Trier, Hauptbahnhof - Luxembourg, Gare Centrale",
    "stopPoints": [
        500000079,
        500000084,
        500000028,
        500000019,
        180703003,
        180701004,
        180603001,
        180207004,
        180103002,
        180106003,
        200701001,
        200204001,
        200601013,
        200406009,
        200405035
    ]
}, {
    "id": "2:C82---:CRE1800",
    "type": "train",
    "name": "CRE1800",
    "long_name": "Wiltz, Gare - Kautenbach, Gare",
    "stopPoints": [
        120603002,
        120604001,
        120903018
    ]
}, {
    "id": "2:C82---:RB5900",
    "type": "train",
    "name": "RB5900",
    "long_name": "Luxembourg, Gare Centrale - Arlon, Gare",
    "stopPoints": [
        200405035,
        200101007,
        190903008,
        190901001,
        191103002,
        300000003,
        190903011
    ]
}, {
    ...
}]

Used datasets 1

Discussion between the organization and the community about this reuse.

More reuses

Discover more reuses.