Get Nigeria Covid-19 states by states
This project is discontinued and service shutdown
Serving data from NCDC(Nigeria Center For Disease Control) as a JSON API
- Any Operating System (ie. MacOS X, Linux, Windows)
- Any IDE with python installed on your system(ie. Pycharm, VSCode etc)
- A little knowledge of Python, Django and Web scrapping
- Hands to code ๐ค
- A brain to think ๐ค
- Nigeria states and cases
- Nigeria total cases
- Nigeria daily cases
$ git clone https://github.com/Mastersam07/ncovid-19-api.git
$ cd ncovid-19-api
$ pip install requirements.txt
$ cd data_getter
$ python scraper.py
$ cd ..\api
$ python manage.py migrate
$ python manage.py runserver
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
# Extra places for collectstatic to find static files.
STATICFILES_DIRS = (
os.path.join(BASE_DIR, 'static'),
)
$ python manage.py collectstatic
If you found this project useful or you like what you see, then please consider giving it a โญ on Github and sharing it with your friends via social media.
Encounter any problem(s)? feel free to open an issue. If you feel you could make something better, please raise a ticket on Github and I'll look into it. Pull request are also welcome.
-
https://github.com/Mastersam07/ncovid, (Flutter) by @mastersam07