This is an endpoint built on python's fastAPI to return the black market rates of Nigeria
You'll need a virtual environment to install necessary requirements
virtualenv venv
Activate virtual environment
source venv/bin/activate
Install necessary requirements
pip install -r requirements.txt
Run the application
uvicorn main:app
Use a GET request to call http://127.0.0.1:8000/get_rates
Response is a json data
{ "data": { "black_market": 740.0, "cbn": 440.0 } }
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.