Closed PixelPenguin145 closed 1 year ago
Hey, i was just using your library for a train display. But I get no delay data of the trains. I tried departures and arrivals, but its always the scheduled time coming back.
Is this a bug or am I using it wrong?
Hi @PixelPenguin145
thanks for your bug report.
I also receive an above-average number of trains that are on time. Very special for german trains, isnt it :)
When trying to access trains by the SSB (U-Bahn) or other companies I actually got realtime data and delays too, so I guess there is something wrong with the Deutsche Bahn currently? Furthermore, I found that if you are looking at https://vvs.de there are no delays as well...
My guess is that this is a temporary issue and certainly no internal issue of this library.
Feel free to try the following stations (this is where I received accurate delay data)
de:08111:6118
"Hauptbahnhof Tief"5000355
"Wallgraben"The properties you want to look out for are (for departures):
departure.delay
(the difference in minutes)departure.datetime
(the planned departing time)departure.real_datetime
(the actual departing time)By the way, keep in mind that there are certain trains that never have real time data as the Deutsche Bahn does not provide it (old trains without localization features or similar).
Hey thanks for the quick answer.
I also noticed that its working, just took a little bit of time to play around ;)
Describe the bug A clear and concise description of what the bug is.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Code fragment Let us see the important code sample that fails.
Additional context Add any other context about the problem here.