Skip to content

🦠 A simple and fast (< 200ms) API for tracking the global coronavirus (COVID-19, SARS-CoV-2) outbreak. It's written in python using the 🍼 Flask framework.

Notifications You must be signed in to change notification settings

MM-coder/coronavirus-tracker-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coronavirus-tracker (API)

This is a fast (< 200ms) and basic API for tracking development of the new coronavirus (2019-nCoV). It's written in python using 🍼 Flask.

Endpoints

All requests must be made to the base url: https://coronavirus-tracker-api.herokuapp.com (e.g: https://coronavirus-tracker-api.herokuapp.com/all). 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 /deaths

Getting just recoveries:

GET /recovered

Data

The data is retrieved programatically and re-formatted from the 2019 Novel Coronavirus (nCoV) Data Repository, provided by JHU CCSE.

License

The data is available to the public strictly for educational and academic research purposes.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone https://github.com/ExpDev07/coronavirus-tracker-api.git
  • cd coronavirus-tracker-api
  • pipenv shell
  • pipenv install

Running / Development

Running Tests

Linting

Building

Deploying

About

🦠 A simple and fast (< 200ms) API for tracking the global coronavirus (COVID-19, SARS-CoV-2) outbreak. It's written in python using the 🍼 Flask framework.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.5%
  • Makefile 0.5%