I created a train project with Python and I’m having some problems with the DB timetable API. Is it possible to get canceled trains with an API request? I don’t think so. Also, the train delays aren’t included either. I used a Python library called “schiene” to get the train delays. “Schiene” interacts with this site: https://mobile.bahn.de/bin/mobil/query.exe/dox?. I do get some delay information, but I’m still facing issues with the following:
# TODO: this should not be hardcoded!
data['canceled'] = False
Can anyone help with this?
i tryed to get canceled trains with this res API from the DB (RIS::Journeys) but you need to pay for this…
so that’s not possible
newvalo 1 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.