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

Feat pb 974 migration from trias to ojp for transport stop requests #4487

Draft
wants to merge 4 commits into
base: develop-2024-12-18
Choose a base branch
from

Conversation

rebert
Copy link
Contributor

@rebert rebert commented Nov 12, 2024

No description provided.

The API we use to get time table data for open transport stops will be
decomissioned soon. Hence we migrate to OJP 2.0.
The requests to the API and the parsing of the response needed some
adaptions for that. Furthermore, the OJP 2.0 API's response sometimes
has a strange timestamp format, there are sometimes 7 instead of the
expexted 6 digits for the milliseconds. Hence a try except was used to
safely convert to the expected format in that cases.
Also some minor code clean-up was done.
@ltclm ltclm changed the base branch from master to develop-2024-12-18 November 13, 2024 13:08
@github-actions github-actions bot added this to the 2024-12-18 milestone Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants