The Micromobility API provides an interface for retrieving anonymized and aggregated dockless mobility trip data in the City of Austin. This API supplies data to our interactive Dockless Mobility Explorer.
The source database for the API is our Dockless Vehicle Trips dataset.
-
Clone repo and
cdinto it.git clone https://github.com/cityofaustin/atd-micromobility-api.git -
Create a virtual environment and install requirements:
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
- Start the docker server (in the background on port 80)
python app.py
- Make a request:
curl http://localhost:5000/v1/trips?xy=-97.75094341278084,30.276185988411257&flow=destinationAny code in the master or any PRs made against it will be deployed to the staging environment in a lambda function. The production branch will be deployed to its own environment, it does not deploy PRs made against production.