All Projects → Omaroid → Covid-19-API

Omaroid / Covid-19-API

Licence: MIT license
A realtime API for coronavirus cases on Heroku. Data automatically updated every 10 minutes!

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Covid-19-API

Coronavirus Tracker Api
🦠 A simple and fast (< 200ms) API for tracking the global coronavirus (COVID-19, SARS-CoV-2) outbreak. It's written in python using the 🔥 FastAPI framework. Supports multiple sources!
Stars: ✭ 1,577 (+2572.88%)
Mutual labels:  heroku, deaths, ncov, coronavirus, recoveries, covid-19
covid19-timeseries
Covid19 timeseries data store
Stars: ✭ 38 (-35.59%)
Mutual labels:  coronavirus, covid-19, covid19-data
COVID19
A web app to display the live graphical state-wise reported corona cases in India so far. It also shows the latest news for COVID-19. Stay Home, Stay Safe!
Stars: ✭ 122 (+106.78%)
Mutual labels:  coronavirus, covid-19, covid19-data
coronavirus-data
This repository contains data on Coronavirus Disease 2019 (COVID-19) in New York City (NYC), from the NYC Department of Health and Mental Hygiene.
Stars: ✭ 926 (+1469.49%)
Mutual labels:  coronavirus, covid-19, covid19-data
covid-19-image-repository
Anonymized dataset of COVID-19 cases with a focus on radiological imaging. This includes images (x-ray / ct) with extensive metadata, such as admission-, ICU-, laboratory-, and patient master-data.
Stars: ✭ 42 (-28.81%)
Mutual labels:  coronavirus, covid-19, covid19-data
COVID-19-DETECTION
Detect Covid-19 with Chest X-Ray Data
Stars: ✭ 43 (-27.12%)
Mutual labels:  coronavirus, covid-19, covid19-data
covid19-pr-api
COVID-19 Open API for Datasets in Puerto Rico
Stars: ✭ 21 (-64.41%)
Mutual labels:  coronavirus, covid-19, covid19-data
data2019nCoV
COVID-19 Pandemic Data R Package
Stars: ✭ 40 (-32.2%)
Mutual labels:  ncov, coronavirus, covid-19
Co-ronaBD.info
Interactive Dashboard of Bangladesh for the Covid-19 Pandemic
Stars: ✭ 28 (-52.54%)
Mutual labels:  coronavirus, covid-19, covid19-data
covid19 scenarios data
Data preprocessing scripts and preprocessed data storage for COVID-19 Scenarios project
Stars: ✭ 43 (-27.12%)
Mutual labels:  ncov, coronavirus, covid-19
coronavirus-dresden
Collects official SARS-CoV-2 infection statistics published by the city of Dresden.
Stars: ✭ 19 (-67.8%)
Mutual labels:  coronavirus, covid-19, covid19-data
coviddata
Daily COVID-19 statistics by country, region, and city
Stars: ✭ 49 (-16.95%)
Mutual labels:  coronavirus, covid-19, covid19-data
CoronaXiv
First Prize in HackJaipur Hackathon 2020 for Best ElasticSearch-based Product! Website: http://coronaxiv2.surge.sh/#/
Stars: ✭ 15 (-74.58%)
Mutual labels:  heroku, coronavirus, covid-19
covid-19-usa-by-state
CSV files of COVID-19 total daily confirmed cases and deaths in the USA by state and county. All data from Johns Hopkins & NYT..
Stars: ✭ 35 (-40.68%)
Mutual labels:  deaths, coronavirus, covid-19
Ncovmemory
2020新冠肺炎记忆:报道、非虚构与个人叙述(持续更新) Memory of 2020 nCoV: Media Coverage, Non-fiction Writings, and Individual Narratives (Continuously updating)
Stars: ✭ 11 (-81.36%)
Mutual labels:  ncov, coronavirus, covid-19
coronainfobd
Real-time corona-virus tracker of Bangladesh 🇧🇩 which includes latest updates, data visualization, public awareness from WHO and some advice to aware people. 🥰❤
Stars: ✭ 46 (-22.03%)
Mutual labels:  coronavirus, covid-19, covid19-data
covid19-api
Covid19 Data API (JSON) - LIVE
Stars: ✭ 20 (-66.1%)
Mutual labels:  coronavirus, covid-19, covid19-data
covid-19-sg
Visualising COVID-19/Coronavirus cases and cluster zones in Singapore
Stars: ✭ 15 (-74.58%)
Mutual labels:  ncov, coronavirus, covid-19
covid-19
An app made with Flutter to track COVID-19 case counts.
Stars: ✭ 47 (-20.34%)
Mutual labels:  coronavirus, covid-19, covid19-data
red-cross
官方公示数据概览
Stars: ✭ 18 (-69.49%)
Mutual labels:  ncov, coronavirus, covid-19

COVID-19 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 and also contains historical data 📈. I've also programmed a scheduler on the app to refresh the data every 10 minutes.

Endpoints

All requests must be made to the base url: https://covid19api.herokuapp.com/. You can try it out in your browser to further inspect responses.

Getting confirmed cases, deaths, and recoveries:

GET /
{ "latest": { ... }, "confirmed": { ... }, "deaths": { ... }, "recovered": { ... }, "updatedAt": "2020-03-27 12:00:12.067975" }

Getting just confirmed:

GET /confirmed
{ "latest": 418678, "locations": [ ... ] }

Getting just deaths:

GET /deaths
{ "latest": 18625, "locations": [ ... ] }

Getting just recovered:

GET /recovered
{ "latest": 35000, "locations": [ ... ] }

Getting just latest data:

GET /latest
{ "confirmed": 418678, "deaths": 18625, "recovered": 35000}

Getting update UTC datetime:

GET /updatedAt
"2020-03-27 12:00:12.067975"

Data

The data comes from the 2019 Novel Coronavirus (nCoV) Data Repository, provided by JHU CCSE. It is programmatically retrieved, re-formatted and stored in the server for every 10 minutes.

Prerequisites

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

Installation

  • git clone https://github.com/Omaroid/Covid-19-API
  • cd Covid-19-API
  • pip install -r requirements.txt

Running / Development

Deploying

  • Create a Heroku account
  • Create a Heroku application
  • heroku login
  • git init
  • heroku git:remote -a <AppName>
  • git add .
  • git commit -am "first commit"
  • git push heroku master

Testing

  • Visit your application webpage
  • https://<AppName>.herokuapp.com/

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].