This is a fast (< 200ms) and basic API for tracking development of the new coronavirus (2019-nCoV). It's written in python using 🍼 Flask.
All requests must be made to the base url: https://coronavirus-tracker-api.herokuapp.com. You can try them out in your browser to further inspect responses.
Getting confirmed cases, deaths, and recoveries:
GET /all{ "latest": { ... }, "confirmed": { ... }, "deaths": { ... }, "recovered": { ... } }Getting just confirmed:
GET /confirmed{ "latest": 42767, "locations": [ ... ] }Getting just deaths:
GET /deathsGetting just recoveries:
GET /recoveredThe data is retrieved programatically and re-formatted from the 2019 Novel Coronavirus (nCoV) Data Repository, provided by JHU CCSE.
The data is available to the public strictly for educational and academic research purposes.
You will need the following things properly installed on your computer.
git clone https://github.com/ExpDev07/coronavirus-tracker-api.gitcd coronavirus-tracker-apipipenv shellpipenv install
flask run- Visit your app at http://localhost:5000.