Skip to content
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

Various bugfixes for the gtfsToTimetableApi example code #11

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

hallonstedt
Copy link
Contributor

  • Update README with valid links to how API-keys are created
  • Update requirements.txt to allow for more modern versions of libraries needed. I have tested them and they work fine.
  • Add window start and end to the query_engine calls since default arguments only evaluate when the function is defined which previously meant that the departure window was static.
  • The static time-table files were only loaded on application start instead of every 24 hours as intended. They are now checked on ever end-point call and if expired, they will be updated. This means a few milliseconds additional delay to API-calls but should not be noticeable.
  • if GtfsTimeTable.py is run directly, it didn't use the command-line provided stop_id. This is now fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant