departureBoard
Updated on March 10, 2022 — xml — 19 downloads
- Type
- API
- MIME Type
- Created on
- March 15, 2021
- Modified on
- March 10, 2022
- Published on
- March 15, 2021
Updated on March 3, 2023 — Creative Commons Attribution 4.0
Administration compétente en matière de transports publics en ce qui concerne la gestion, l'organisation et le contrôle des services de transports publics réguliers et spécialisés. Plus particulièrement, l'administration est en charge de la gestion technique et financière des réseaux de transports…
3 datasets
L'Administration des transports publics vous offre l’accès à son OpenAPI des départs en temps réel.
Définition du schéma de l'API (XSD)
Veuillez contacter opendata-api@atp.etat.lu pour obtenir votre clé personnelle.
A) Vous devez indiquer les coordonnées géographiques x, y (en système WGS84):
originCoordLat=
originCoordLong=
B) Selon vos besoins vous pouvez préciser:
maxNo= un nombre max. d'arrêts retournés
r= un rayon autour des coordonnées (en mètres)
Exemple requête
https://cdt.hafas.de/opendata/apiserver/location.nearbystops?accessId=<API-KEY>&originCoordLong=6.09528&originCoordLat=49.77723&maxNo=5000&r=100000&format=json
(Remarque: Si vous voulez recevoir tous les arrêts existants utilisez les valeurs dans l'exemple)
Utilisez le résultat au-dessus. Cette liste vous indique l'identifiant de chaque arrêt. Vous avez besoin de cet identfiant pour générer les départs en temps-réel de l'arrêt souhaité.
id=
Exemple requête
https://cdt.hafas.de/opendata/apiserver/departureBoard?accessId=<API-KEY>&lang=fr&id=200426002&format=json
Updated on March 10, 2022 — xml — 19 downloads
Updated on March 10, 2022 — xml — 10 downloads
You have built a more comprehensive database than those presented here? This is the time to share it!
No resources match your search.
Explore the reuses of this dataset.
Did you use this data ? Reference your work and increase your visibility.
Application
Published on November 9, 2023 by Luxembourg Institute of Science and Technology
Discussion between the organization and the community about this dataset.
Bonjour, Si je prends l’exemple de Kesseler ( arrêt de bus à Strassen) Je vois que j’ai l’arrêt de bus qui est dans une direction et aussi dans l’autre direction ( d’un côté où l’autre de la route) Je pense qu’avec le field : direction 1 ou 2 j’allais pouvoir différencier l’arrêt de bus Kesseler direction centre ville ou dans l’autre sens. Mais ça n’est pas le cas. Je voulais savoir comment différencier le même arrêt de bus mais avoir les horaires pour les bus dans une seule direction Merci à vous
I noticed that if two bus stops are given that do not have a direct connection between them, that the API does not provide any information. Is this intended or am I missing some parameters that I need to set? Best, Aaron.
Moien and Happy New Year :-) Is there a way to get the real arrival time of buses and trains at a terminal station? Or do apps like mobiliteit.lu just add the scheduled amount of time to the real time data of the penultimate stop?
Hello! How and where may I receive AccessId? I've generated api_key on portal in my profile, but access denied.
Please contact opendata-api@atp.etat.lu to get your personal api-key.
Hello I want to ask about the current api url for departure board that seems to be giving errorCode="API_PARAM" errorText="id or extId missing (IllegalArgumentException)" when requesting with this URL https://cdt.hafas.de/opendata/apiserver/departureBoard?accessId=5287a4f9-5003-4c6c-9282-ff67e7eed013 is something I need to be aware of ? Thank you in advance !
Tried both with this URL as well and it was giving same error https://cdt.hafas.de/opendata/apiserver/departureBoard?accessId=5287a4f9-5003-4c6c-9282-ff67e7eed013&lang=en&format=json&rtMode=FULL
You are missing the id parameter, which tells the API for which stop you are requesting the departures. Based on your example : https://cdt.hafas.de/opendata/apiserver/departureBoard?accessId=5287a4f9-5003-4c6c-9282-ff67e7eed013&id=200426002