[Line] get all lines with their routes

Publié le 6 mars 2017

Voir la réutilisation

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 réutilisations

  • mobiliteit
  • public-transport
  • tfl

Informations

Type
API
Thématique
Autres
ID
58bd570d111e9b2e511d1bd5

Publication

Intégrer sur votre site

URL stable

Description

Get all possible public transport lines with their routes

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

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

Here's an example:

[{
    "id": "3:RGTR--:689",
    "type": "bus",
    "name": "689",
    "long_name": "Hautbellain - Troisvierges, Gare",
    "stopPoints": [
        110604001,
        110601003,
        110601001,
        110601002,
        110606004,
        110606006,
        110606002,
        110606003,
        110606001,
        110605004
    ]
}, {
    "id": "3:CFLBUS:185",
    "type": "bus",
    "name": "185",
    "long_name": "Schwebsingen, Centre - Ellenger Gare",
    "stopPoints": [
        211002001,
        211002002,
        210603001,
        210601001,
        210601003,
        210601002,
        210602004,
        210602001,
        210602002,
        210602003,
        210602005,
        210201002,
        210201001,
        210201003,
        210202002,
        210202001,
        210202003,
        210502001
    ]
}, {
    "id": "3:RGTR--:565",
    "type": "bus",
    "name": "565",
    "long_name": "Ettelbruck, Lycée technique - Mont St. Nicolas",
    "stopPoints": [
        140701023,
        140701024,
        140701016,
        140602008,
        140603002,
        140401008,
        140401004,
        140401001,
        140401007,
        140203002,
        140203001,
        140202001,
        140205002,
        140205001,
        130201002,
        130201003,
        130201001,
        130203003,
        130203002,
        130203001,
        130105002,
        130104001,
        130104002,
        130108003,
        130301001,
        130203005,
        140401006
    ]
}, {
    ...
}]

Jeux de données utilisés 1

Discussion entre l'organisation et la communauté à propos de cette réutilisation.

Plus de réutilisations

Découvrez davantage de réutilisations.