All Projects → amazingshellyyy → covid19-api

amazingshellyyy / covid19-api

Licence: MIT License
Covid19 Data API (JSON) - LIVE

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to covid19-api

coviddata
Daily COVID-19 statistics by country, region, and city
Stars: ✭ 49 (+145%)
Mutual labels:  coronavirus, coronavirus-globaloutbreak, coronavirus-tracking, coronavirus-real-time, coronavirus-info, coronavirus-tracker, covid-19, covid, covid-data, 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 (+510%)
Mutual labels:  coronavirus, coronavirus-globaloutbreak, coronavirus-tracking, coronavirus-real-time, coronavirus-info, coronavirus-tracker, covid-19, covid-data, covid19-data
COVID-19-DETECTION
Detect Covid-19 with Chest X-Ray Data
Stars: ✭ 43 (+115%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-real-time, coronavirus-info, covid-19, covid, covid-data, covid19-data
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 (+130%)
Mutual labels:  coronavirus, coronavirus-globaloutbreak, coronavirus-tracking, coronavirus-real-time, coronavirus-info, covid-19, covid19-data
align covid
Coronavirus time series aligned by number of cases, not date.
Stars: ✭ 22 (+10%)
Mutual labels:  coronavirus, coronavirus-globaloutbreak, coronavirus-tracking, coronavirus-info, coronavirus-tracker, covid
CoronaVirusDatabase
A repository for analyzing references and database of "gisanddata.maps.arcgis.com" website for Corona Virus.
Stars: ✭ 38 (+90%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-real-time, coronavirus-info, covid-19, covid-data
CoronaVirusOutbreakAPI
A tiny and small program to crawler and analyze outbreak of COVID-19 in world and every country using PHP.
Stars: ✭ 20 (+0%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-real-time, coronavirus-info, covid-19, covid
Covid19arData
Data COVID-19 Argentina actualizada y en formatos abiertos.
Stars: ✭ 51 (+155%)
Mutual labels:  open-data, coronavirus, coronavirus-info, covid-19, covid, covid-data
open-data-covid-19
Open Data Repository for the Covid-19 dataset.
Stars: ✭ 19 (-5%)
Mutual labels:  open-data, covid-19, covid, covid-data, covid19-data
covid19-animation-generator
Generates an animation of COVID-19 data
Stars: ✭ 33 (+65%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-tracker, covid-19, covid
CoronaVirus-2019-nCoV-Live-Tracking
CoronaVirus(COVID-19) Live Map Tracker Android Kotlin App
Stars: ✭ 43 (+115%)
Mutual labels:  coronavirus, coronavirus-globaloutbreak, coronavirus-tracking, coronavirus-real-time, covid-19
ctt
Corona Tracker Tracker Dashboard for the German Corona-Tracing-app
Stars: ✭ 15 (-25%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-real-time, coronavirus-info, covid19-data
Covid19radar
Open Source / i18n / iOS Android Cross Platform Contact Tracing App by exposure notification framework Xamarin App and Server Side Code
Stars: ✭ 35 (+75%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-tracker, covid-19, covid
covid-19
An app made with Flutter to track COVID-19 case counts.
Stars: ✭ 47 (+135%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-tracker, covid-19, covid19-data
covid19-kerala-api-deprecated
Deprecated - A fast API service for retrieving day to day stats about Coronavirus(COVID-19, SARS-CoV-2) outbreak in Kerala(India).
Stars: ✭ 14 (-30%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-real-time, covid-data, covid19-data
covidtrackerapiwrapper
CovidSharp is a crossplatform C# API wrapper for the Coronavirus tracking API (https://github.com/ExpDev07/coronavirus-tracker-api)
Stars: ✭ 11 (-45%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-info, coronavirus-tracker, covid-19
coronavirusrd
Web app to show information about the current cases of COVID 19 in Dominican Republic
Stars: ✭ 13 (-35%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-real-time, coronavirus-tracker, covid-19
Corona Cli
🦠 Track the Coronavirus disease (COVID-19) in the command line. Worldwide for all countries, for one country, and the US States. Fast response time (< 100ms). To chat: https://twitter.com/MrAhmadAwais/
Stars: ✭ 1,812 (+8960%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-real-time, coronavirus-info, covid-19
covid19-visualized
COVID-19 World update with data Visualization (Include Indonesia cases)
Stars: ✭ 23 (+15%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-tracker, covid-19, covid19-data
covid-19indiatracker
Track Covid-19 cases in India from MacOS menu bar
Stars: ✭ 24 (+20%)
Mutual labels:  coronavirus-tracking, coronavirus-info, coronavirus-tracker, covid-19, covid-data

Covid19 Open API (Stop updating on Sep 16th)

Covid19 Open API

This API currently collects California, New York, Washington states' counties' data with confirmed cases and deaths numbers. We are working on datas for other states' county as well.

*2020 Mar 30 updates: start collecting US states data which includes 50 U.S states, 1 federal disctrict, and 5 inhabited territories.

  • County Data is updated twice every day at 9am UCT and 3pm UCT!
  • State Data is updated everyday at 12pm UCT!

Please star this repo to support my effort! Thank you so much!

For state timeseries data:

  • Request method: GET
  • Endpoint:
https://amazingshellyyy.com/covid19-api/<country-code>/statesTimeseries.json

For county timeseries data:

  • Request method: GET
  • Endpoint:
https://amazingshellyyy.com/covid19-api/<country-code>-<subvisions-code>/countyTimeseries.json

List

Specifications

< country-code>

< subdivisions-code>

Using axios

import axios from 'axios';
axios.get('https://amazingshellyyy.com/covid19-api/US-CA/countyTimeseries.json')
      .then(res => {
        console.log('covid CA County data',res.data)
      })
      .catch(err => {
        console.log(err)
      })

Sample Data

Sample | State Timeseries data:

The JSON contains timeStamp (stored in milliseconds) and array of states' cases with objects of each state and its name, cases, and deaths.

[
  {
    "timeStamp": 1585618844246,
    "data": [
      {
        "state": "Alabama",
        "case": 827,
        "death": 4
      },
      {
        "state": "Alaska",
        "case": 102,
        "death": 2
      },
      {
        "state": "American Samoa",
        "case": 0,
        "death": 0
      },
      ...
    ]
  }
  ...
]

Sample | County Timeseries data:

The JSON contains timeStamp (stored in milliseconds) and array of counties' cases with objects of each county and its name, cases, and deaths.

[
  {
    "timeStamp": 1584367447000,
    "data": [
      {
        "county": "Santa Clara",
        "case": 114,
        "death": 2
      },
      {
        "county": "Los Angeles",
        "case": 69,
      "death": 1
      },
      {
        "county": "San Francisco",
        "case": 37,
        "death": 0
      },
      ...
    ]
  }
  ...
}

Notes

  • US state wide data is missing on Mar 26th. Be awared that there might be a gap.
  • In California county data, Yuba and Sutter reported their cases together at one resource before March 25 so part of the data look like this:
      ...
      {
        "county": "Yuba/Sutter",
        "case": 3,
        "death": 0
      },
      ...
  • some data in Washinton State is hasn't been assigned to any county therefore the county name will be "(Unassigned)":
      ...
      {
        "county": "(Unassigned)",
        "case": 160,
        "death": 0
      }
      ...

Some visualization done with this API

Mapitout: https://mapitout.github.io/#/covid19

*Please submit an issue if you would like to put your project here. :)

resource

Contribute to data collecting

  1. Run the following command at the root level
  • replace stateCode to the state's Code you want to create
$ mkdir ./docs/US-<stateCode>
$ touch ./docs/US-<stateCode>/countyTimeseries.json
$ echo "[]" >> ./docs/US-<stateCode>/countyTimeseries.json
  1. Run the following command to test with the getDataTest() function. getDataTest(stateCode, url, selector, countyIndex, caseIndex, deathIndex)
  • e.g.
    • for NJ Data:
      getCountyData('NJ','https://en.wikipedia.org/wiki/2020_coronavirus_pandemic_in_New_Jersey', '.sortable tbody tr[class!=sortbottom]', 1,3,5);
    • for NY Data:
      getCountyData('NY','https://en.wikipedia.org/wiki/2020_coronavirus_pandemic_in_New_York_(state)', '.sortable tbody tr[class!=sortbottom]', 1,3,5);
$ echo "getCountyData(a,b,c,d,e,f)" >> ./getData/test.js
$ node ./getData/test.js
  1. Check countyTimeseries.json in ./docs/US-stateCode and see if the data is there and correct.

  2. run follow command to remove the testing code from test.

$ echo "const { getCountyData } = require('./getData.js');" > ./getData/test.js
  1. call the function in the run file and it will automatically run every hour.
$ echo "getCountyData(a,b,c,d,e,f).then(successCallback, failureCallback);" >> ./getData/run.js
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].