This project is a basic example implementation of the Vizion tracking API to provide bill of lading and container milestone tracking written in Python. This project uses Flask, SQLAlchemy, and Marshmallow.
- Clone the repo to your machine
- Rename/copy
.env.samplefile to.envand replace API key and/or database URI. - (optional) Create a virtual Python environment in the project directory and activate
- Install dependencies (
pip install -r requirements.txt) - Create database in Python console
>>> from api import db>>> db.create_all()
- Start API server (
python api.py)