An API for accessing data contained in the Priority Route Link Details dataset.
Built as an example of REST, SQL, PANDAS and FLASK usage.
# how to setup a virtual environment
python -m venv env
env\Scripts\activategit clone https://github.com/ChristopherAyling/RouteLinkAPI.git
cd RouteLinkAPI
pip install -r requirements.txtpython app.pypython app.py --prodAll returns are JSON formatted.
GET /routes
GET /routes/<int>
GET /search?query=<string>