API qui permet de connaître la liste et localisation des arrêts de transport public.

À l'aide du résultat, on peut télécharger la liste des prochains départs en temps réel.

L'URL http://travelplanner.mobiliteit.lu/hafas/query.exe/dot?performLocating=2&tpl=stop2csv&stationProxy=yes &look_maxdist=150&look_x=6112550&look_y=49610700 renvoie par exemple :

id=A=1@O=Belair, Sacré-Coeur@X=6,113204@Y=49,610279@U=82@L=200403005@B=1@p=1459856195; 

Ce résultat peut être utilisé comme identifiant avec l'API de départs en temps réel :

http://travelplanner.mobiliteit.lu/restproxy/departureBoard?accessId=cdt&format=json&id=A=1@O=Belair,%20Sacré-Coeur@X=6,113204@Y=49,610279@U=82@L=200403005@B=1@p=1459856195

{
"Departure": [
{
"JourneyDetailRef": {
"ref": "1|132|29|80|6042016"
},
"Product": {
"name": "Bus   13",
"num": "927",
"line": "13",
"catOut": "Bus     ",
"catIn": "AVS",
"catCode": "5",
"catOutS": "AVS",
"catOutL": "Bus     ",
"operatorCode": "AVL",
"operator": "Ville de Luxembourg - Service des Transports en Commun",
"admin": "AVL---"
},
"name": "Bus   13",
"type": "S",
"stop": "Belair, Sacré-Coeur",
"stopid": "A=1@O=Belair, Sacré-Coeur@X=6113204@Y=49610280@U=80@L=200403005@",
"stopExtId": "200403005",
"prognosisType": "PROGNOSED",
"time": "14:23:00",
"date": "2016-04-06",
"rtTime": "14:23:00",
"rtDate": "2016-04-06",
"direction": "Luxembourg/Strassen, Centre Hospitalier",
"trainNumber": "927",
"trainCategory": "AVS"
},
{
"JourneyDetailRef": {
"ref": "1|144|29|80|6042016"
},
"Product": {
"name": "Bus   13",
"num": "939",
"line": "13",
"catOut": "Bus     ",
"catIn": "AVS",
"catCode": "5",
"catOutS": "AVS",
"catOutL": "Bus     ",
"operatorCode": "AVL",
"operator": "Ville de Luxembourg - Service des Transports en Commun",
"admin": "AVL---"
},
"name": "Bus   13",
"type": "S",
"stop": "Belair, Sacré-Coeur",
"stopid": "A=1@O=Belair, Sacré-Coeur@X=6113204@Y=49610280@U=80@L=200403005@",
"stopExtId": "200403005",
"prognosisType": "PROGNOSED",
"time": "14:23:00",
"date": "2016-04-06",
"rtTime": "14:25:00",
"rtDate": "2016-04-06",
"direction": "Luxembourg, Gare Centrale",
"trainNumber": "939",
"trainCategory": "AVS"
}

[…]

],
"serverVersion": "1.0",
"dialectVersion": "1.0"
}

Resources

none

Last modified on Wednesday, April 6, 2016

none

Last modified on Wednesday, April 6, 2016

xsd

Last modified on Tuesday, August 23, 2016

none

Last modified on Wednesday, April 6, 2016

none

Last modified on Tuesday, August 23, 2016

Discussions

Paramètres plus courts

Discussion started on Apr 6, 2016 with 1 message

How to use it?

Discussion started on Apr 9, 2016 with 8 messages

App Android et iOS Transit

Discussion started on Aug 20, 2016 with 5 messages

The API doesn't work anymore since 01.01.17

Discussion started on Jan 2, 2017 with 5 messages

Difference in FahrtIds between Realtime and Scheduled

Discussion started on Mar 28, 2017 with 9 messages

Exceed the max request limit.

Discussion started on Apr 10, 2017 with 10 messages

+

Start a new discussion

Discussion between the organization and the community about this dataset.

Community resources

You have built a more comprehensive database than those presented here? This is the time to share it!

Reuses

You reused these data and published an article, a computer graphics, or an application? It's time to let you know! Reference your work in just a few clicks and increase your visibility.