zaanposni / vvspy

simple python module for the VVS and SSB API (Verkehrsverbund Stuttgart)
MIT License
37 stars 2 forks source link

missing delay data #62

Closed PixelPenguin145 closed 1 year ago

PixelPenguin145 commented 1 year ago

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.

PixelPenguin145 commented 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?

zaanposni commented 1 year ago

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)

The properties you want to look out for are (for departures):

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).

PixelPenguin145 commented 1 year ago

Hey thanks for the quick answer.

I also noticed that its working, just took a little bit of time to play around ;)