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
cd
into 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=destination
Any 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.