-
Notifications
You must be signed in to change notification settings - Fork 1
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
add connection search from station to station #21
Comments
Noted. At the moment the best choices are Public Transport Enabler or rolling your own with GTFS. |
That would be pretty neat! |
This would be definitely a very useful feature! Until this is available, I've created something in Python that seems to work: Feel free to contribute in order to improve it and optimize it! :) |
@J0ANMM Why don't you just take GTFS? That was already created by @fredlockheed: You won't need to make any API accesses then. |
I had a look at it, but what I understood is that it takes 2 days to get everything and it is somehow fixed data. Did I misunderstand how GTFS works? |
@J0ANMM The data is there: https://github.com/fredlockheed/db-fv-gtfs/files/201511/2016.0.1.zip Next, DB Fahrplan API only offers planned data ("SOLL-Fahrplan"). I don't think there will be "new" data available anyway. |
Very interesting indeed. Then I can adapt it to retrieve the data from there when creating the legs. Thanks for the feedback! |
Code has been updated to get all the data from GTFS: Feel free to have a look. It takes around 10min to create the table with all possible upcoming legs. As of today with the latest release, that is >10,000,000 rows. |
Hey guys! |
For a lot of applications it would be really useful to be able to pull a list of connections between two stations. At the moment a lot of applications just simulate calls from the DB mobile apps which is sophisticated and does not fit to the openData initiative.
The text was updated successfully, but these errors were encountered: