GET Line/{ID}/Route

Returns all lines with their route from Luxembourg integrated in Transport for Luxembourg.

Resource URL

https://api.tfl.lu/v1/Line/{ID}/Route

Format

The response will be formatted as a JSON.

Object properties

Key Type Possible values Description
id string {id} id of line
type string - tram
- subway
- train
- bus
- ferry
- cable-car
- gondola
- funicular
type of line
name string {name} name of line
long_name string {long_name} long name of line (usually the origin and destination of a line)
stopPoints array {stopPoints} array of stop points where this line stops

Sample request & response

GET https://api.tfl.lu/v1/Line/3:CFLBUS:192/Route

{
    "id": "3:CFLBUS:192",
    "type": "bus",
    "name": "192",
    "long_name": "Kirchberg, Rehazenter - Hassel, Küneftchen",
    "stopPoints": [
        200417034,
        200417015,
        200417017,
        200417009,
        200417013,
        200417005,
        200417016,
        200417007,
        200405014,
        200405029,
        200405023,
        200405026,
        200405032,
        200404008,
        200404016,
        200404028,
        200304004,
        200304001,
        200303007,
        200303001,
        200303006,
        200301003,
        200301002,
        201103001,
        201103004,
        201103003,
        201103002,
        201103005,
        201101001,
        201101002,
        201101003,
        200405036,
        200405020,
        200417031,
        200417029,
        200417014,
        200405035
    ]
}

License

Please refer to Line for information about the line data licensing.

Credits

Made by Daniel Duton & Thierry Degeling from ION Network Solutions.

Sponsored by Digital Lëtzebuerg.

results matching ""

    No results matching ""