Python client library to interact with the Stride REST API
- Please report issues and feature requests here
- To get updates about the system status and for general help join Hasadna's Slack #open-bus channel (Hasadna Slack signup link)
Refer to the API Docs for the available paths, parameter types and general usage.
The client provides the following methods:
stride.get(path, params=None)
: Make a GET request to the given path with optional params dictstride.iterate(path, params=None, limit=1000)
: For list operations - iterate over all items up to the given limit.
See the Jupyter notebooks for examples.
For a very quickstart without any installation, you can open the notebooks online:
- Load route rides to dataframe
- getting all arrivals to all stops of a given line on a given day
- load siri vehicle locations to pandas dataframe
Install the library
pip install --upgrade open-bus-stride-client