-
Notifications
You must be signed in to change notification settings - Fork 2
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
bahn_v2 converter: new type BIKE_PARKING_LOCKED #156
Comments
Now it seems the API has 2 bike capacity types @the-infinity My understanding of your first point; Otherwise, I would prefer your second point to add this as a new bike source. According to the API Documentation, they now make available the information on Bike Parking, as in the screenshot below. Perhaps in the future they might add more information/attributes on Bike parking. I also have the question on when and how we should generate data dump? |
The first point is mostly about adding it there: https://github.com/ParkenDD/parkapi-sources-v3/blob/main/src/parkapi_sources/converters/bahn_v2/validators.py#L35 , because otherwise the whole datasets gets rejected. This has to be done anyway. The interesting point comes afterwards: what should we do with these values? As ParkingSites just have one |
The PR is now opened, kindly review, thanks! |
Implemented with version 0.16.0 |
It seems that Bahn API was updates and now has a new capacity called
BIKE_PARKING_LOCKED
.We should have a look if ...
a) add this to our enumeration
b) maybe add this as a new bike source?
Data dump should be generated if decision was done
The text was updated successfully, but these errors were encountered: