-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bahn.de
API endpoints for boards
#3
Comments
bahn.de
API endpoint for boardsbahn.de
API endpoints for boards
Ah thanks, interesting indeed, hadn't found that yet on the bahn.de website. And yes, if you ever find a way to prolong the covered duration, let us know :) |
I noticed that the bahn.de variant provides many more remarks in the boards (all that are also attached to the journeys) than the DB Navigator endpoint (which only surfaces the really important ones like "Stop cancelled"). So maybe it would be worth also implementing that, even if it's also limited to an hour... |
I would be happy to implement this, though that most likely would not happen before 3rd Februrary, since I'm quite busy in the next two weeks. So if this is something more urgent and somebody has the time to add this to the library, feel free to do so :) |
No one has indicated that they need this so far, so yes why not, if you want. I was thinking that we could introduce a separate |
Sounds sensible 👍 |
bahn.de boards endpoint also returns some stopovers ( |
Hi,
I don't know if this is useful in any way, but since I didn't find any documentation about this here, I may share it:
The API endpoints for departure and arrival boards seem to be
https://www.bahn.de/web/api/reiseloesung/abfahrten
andhttps://www.bahn.de/web/api/reiseloesung/ankuenfte
respectively.Example request:
https://www.bahn.de/web/api/reiseloesung/abfahrten?datum=2024-12-30&zeit=11:55:00&ortExtId=8011160&ortId=A%3D1%40O%3DBerlin+Hbf%40X%3D13369549%40Y%3D52525589%40U%3D80%40L%3D8011160%40i%3DU%C3%97008065969%40&mitVias=true&maxVias=8&verkehrsmittel[]=ICE&verkehrsmittel[]=EC_IC&verkehrsmittel[]=IR&verkehrsmittel[]=REGIONAL
Response
Unfortunately, the boards only cover one hour and there does not seem to exist a query parameter with the ability of changing this (same story as with the mobile DB Navigator API)
The text was updated successfully, but these errors were encountered: