A simple API to get tracking events from Correios in a JSON format
brew install pyenv (optional)
brew install pyenv-virtualenv (optional)
brew install pipenvSTCS uses diagram lib that depends on Graphviz to render the diagram, so you need to install Graphviz to update diagrams images
brew install graphvizYou can use the code below to create it via pyenv:
pyenv virtualenv 3.8.0 sctsOr you can just create a virtualenv and activate:
python3 -m venv venv . venv/bin/activate
Just make sure you are using python 3.8.
make Install
make migrations
make migratemake runAccess:
localhost:8000/tracking/ON769530126BR
in which, ON769530126BR is a valid tracking code from Correios
make tests