Felix3qH4 / Mobiliteit.lu

Real-Time tracking of bus lines across Luxembourg (thanks to Mobiliteit.lu/Hafas.de API)
5 stars 0 forks source link

Question regarding cancelled Trains/Bus #2

Open d1nd141 opened 1 year ago

d1nd141 commented 1 year ago

Salut,

i created a similar script for trains. (pushing data to mysql to view in grafana). By hazard, do you know how to identify a cancelled trains/bus ?

Unfortunately the documentation provided on opendata is poor.

Villmols Merci.

Felix3qH4 commented 1 year ago

I found a folder of data which mobiliteit.lu has to upload to hafas for the api so based on what is in there one can understand a bit more about the api and what the return values mean. If you have a look at it I recommend looking at the Hafas documentation at the same time because then many things will make a lot more sense in the documentation. https://inno.hafas.de/bvg-hackathon-2018/HAFAS_ReST_Interface_v.1.23.23.pdf

Felix3qH4 commented 1 year ago

Its the 'opendata' folder

d1nd141 commented 1 year ago

Don't understand what you mean with the opendata folder. Sry

Felix3qH4 commented 1 year ago

You have probably already looked at the Hafas documentation (the link I sent in the comment)? There are many details explained about what the return values are like the values you get from the API when you make a request. But many things are poorly explained so that without having access to the files I just uploaded as folder to the github, it is really difficult or nearly impossible to understand many things in the documentation. Thanks to the files many things become clearer. But you can't just look at the files, you have to look at the documentation whilst looking at the files otherwise its still gibberish.

d1nd141 commented 1 year ago

My bad, missed the opendata folder on git here ;-) Will take a look. Tks