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

GBFS support #621

Merged
merged 14 commits into from
Oct 25, 2024
Merged

GBFS support #621

merged 14 commits into from
Oct 25, 2024

Conversation

pablohoch
Copy link
Member

Needs motis-project/osr#20

Example config:

gbfs:
  feeds:
    # GBFS feed:
    #callabike:
    #  url: https://api.mobidata-bw.de/sharing/gbfs/callabike/gbfs
    # GBFS manifest / Lamassu feed:
    mobidata-bw:
      url: https://api.mobidata-bw.de/sharing/gbfs/v3/manifest.json
  default_restrictions:
    mobidata-bw:callabike: # "callabike" feed contained in the "mobidata-bw" manifest
      # these restrictions apply outside of the defined geofencing zones if the feed doesn't contain global rules
      ride_end_allowed: false
      ride_through_allowed: false
    #mobidata-bw: # default restrictions for all feeds contained in the "mobidata-bw" manifest
    #callabike: # default restrictions for standalone GBFS feed "callabike" (when not using the mobidata-bw example)
  update_interval: 300
  http_timeout: 10

@pablohoch pablohoch marked this pull request as ready for review October 25, 2024 15:00
@pablohoch pablohoch merged commit ea8324a into master Oct 25, 2024
13 checks passed
@pablohoch pablohoch deleted the gbfs branch October 25, 2024 15:57
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