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

Description des paramètres de l'API temps réel

Last modified on Wednesday, April 6, 2016

none

Liste de tous les arrêts

Last modified on Wednesday, April 6, 2016

xsd

Définition du schéma de l'API

Last modified on Tuesday, August 23, 2016

none

Liste des arrêts de transport public autour d'un point

Last modified on Wednesday, April 6, 2016

none

API des départs en temps réel pour un arrêt donné

Last modified on Tuesday, August 23, 2016

Discussions

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.