oebb icon indicating copy to clipboard operation
oebb copied to clipboard

Possibility for delay information?

Open princefishthrower opened this issue 4 years ago • 1 comments

Love the library, I've built a minimalist command line tool to view departing trains near my station of choice :)

I was wondering however, if it would be possible to include delay information to the journey object. (Usually presented in

Vorarlberg verkehrs verbund (https://fahrplan.vmobil.at/) and I think OEBB's site (https://tickets.oebb.at/de/ticket) have these infos - so it must be retreivable somehow.

Also you need to add 2021 to the README that they still haven't made any sort of API public 😉

Thanks again!

  • Chris

princefishthrower avatar Aug 18 '21 10:08 princefishthrower

Hi, I was working on a similar project and I found out that indeed the API responds back with a "departureDelay" or "arrivalDelay" if this is the case:

"departureDelay": "2021-08-20T22:42:00.000",
"departureDelay": "2021-08-20T22:42:00.000",
"departureDelay": "2021-08-20T23:33:00.000",

gary094 avatar Aug 20 '21 21:08 gary094