Dollar Price is a scraper for the USD/PEN exchange pair. It can work as a cli app or as an API with docker.
git clone https://github.com/Ed1123/dollar-price.git
cd dollar-price
pip install -r requirements.txt
uvicorn main:app [--reload]
Access rates in: http://127.0.0.1:8000/rates Access documentation in: http://127.0.0.1:8000/docs
python3 -m dollar_price
pytest
- Create a deta account in https://web.deta.sh/
- Install deta with:
curl -fsSL https://get.deta.dev/cli.sh | sh
- Login through the terminal
deta login
- Create a project in the deta website
- Deploy with
deta new --python --name dollar-api .