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

Feature/nav 145 extract python client package #1

Merged
merged 37 commits into from
Aug 21, 2024

Conversation

munterfi
Copy link
Member

@munterfi munterfi commented Aug 18, 2024

Public transit service client Python package which works with the service v0.4.0.

Since the snake_case notation is used, the public transit viewer would need some adjustments. Also the new query parameters from NAV-131 are not yet supported.

@munterfi munterfi self-assigned this Aug 18, 2024
@munterfi munterfi requested a review from clukas1 August 18, 2024 19:49
@clukas1
Copy link
Member

clukas1 commented Aug 20, 2024

Added Docstrings and changed typing to newer approach without imports from typing.

  • Added support to request connections from location / coordinate instead of only stops.

I suggest implementing the changes to the API for the improved query configs in a separate issue.

clukas1
clukas1 previously approved these changes Aug 20, 2024
Copy link
Member

@clukas1 clukas1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really nice work! Some stuff I can learn from here. Added some more changes, if you agree with those, I think we can merge this one.

clukas1
clukas1 previously approved these changes Aug 20, 2024
@munterfi munterfi assigned clukas1 and unassigned munterfi Aug 21, 2024
@munterfi munterfi requested a review from clukas1 August 21, 2024 14:52
@munterfi munterfi self-assigned this Aug 21, 2024
Copy link
Member

@clukas1 clukas1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good, ready for lift off.

public_transit_client/client.py Show resolved Hide resolved
@clukas1 clukas1 merged commit 683f4c4 into main Aug 21, 2024
1 check passed
@munterfi munterfi deleted the feature/NAV-145-Extract-python-client-package branch August 21, 2024 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants