Skip to content

nodebe/black_market_rate_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rate Scraper

This is an endpoint built on python's fastAPI to return the black market rates of Nigeria

Installation

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

Usage

Run the application

uvicorn main:app

Use a GET request to call http://127.0.0.1:8000/get_rates

Expected Response

Response is a json data

{ "data": { "black_market": 740.0, "cbn": 440.0 } }

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages