Read the statement by Michael Teeuw here.
Deutsche Bahn Delay
-
Hi, is there any chance for a module: Station/Next Trains + Delay for German Deutsche Bahn? Like this: mobil.bahn.de/bin/query.exe/dox?S=8000318&Z=8003395&start=1&rt=1&time=16:54
Thanks, Mathias
-
I don’t think that’s possible. Deutsche Bahn provides an API, though currently only for long-distance trains and without any information on delays.
-
I also wanted to have a module like this displaying the actual delays for my trains to catch.
What seems like the only solution would be to scrape the URL from above (http://mobil.bahn.de/bin/query.exe/dox?S=8000318&Z=8003395&start=1&rt=1), but without the time attribut. Just cut out the interesting part and put it in a module.
seems doable, but i don’t have the JS-Background, I’m afraid.
-
You could use the API by the local organization unit, which is VRR for instance.
I wrote something about the VRR-Routing, which possibly may work for other Locations (At leat in NRW):
https://forum.magicmirror.builders/topic/1281/deutsche-bahn-list-of-connections-with-delays/3
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login