Skip to content

Kaushal-creator/api

 
 

Repository files navigation

COVID19-India API

A volunteer-driven, crowdsourced database for COVID-19 stats & patient tracing in India

JSON

Status Data URL
💚 Patient Level : Raw Data https://api.covid19india.org/raw_data.json
💚 Patient Level : Deaths and Recoveries https://api.covid19india.org/deaths_recoveries.json
💚 National Level :Time series, State-wise stats and Test counts https://api.covid19india.org/data.json
💚 State Level : has district-wise info https://api.covid19india.org/state_district_wise.json
💚 State Level : has district-wise info V2 (minor difference in structure) https://api.covid19india.org/v2/state_district_wise.json
💚 State Level : Daily changes https://api.covid19india.org/states_daily.json
💚 Essentials and resources https://api.covid19india.org/resources/resources.json
🔚 Travel history (No more updated) https://api.covid19india.org/travel_history.json

CSV

Sometimes, having files in a spreadsheet format is more useful for analysts and scientists. We have provided the files as downloadable csv files in the following location.

Data URL
Google sheets in csv https://api.covid19india.org/csv/

🚀 Quick example : Apply the formula =IMPORTDATA("https://api.covid19india.org/csv/latest/state_wise.csv") in A1 cell of a Google Sheets to get the state data for analysis :)

Projects Using This API

Telegram Channels

Analysis

Other Trackers/Dashboards

Telegram Bots

Quick Links

How this works

  • This repo is merely a bridge to the main source of Data (Google Sheets)
  • Volunteers collect data from trusted sources and update the sheet
  • This repo periodically fetches relevant data from the Sheet and create/update static json/csv.
  • We use Github Actions to fetch the data periodically and auto-commit. Thank you @Github :)

Contributing

  • Contributions to new data formats are welcome. Please create a GH issue and discuss there before working on the same.
  • Please raise an issue before submitting a PR
  • Report issues with regarding covid19india.org website in the react-site repository
  • DO NOT change anything in gh-pages branch directly.They get replaced automatically

Notes

  • Do not use the "Current Status" in raw_data.json as we are rarely able to map the status to the exact patient anymore. This will soon be deprecated in a future version of the API.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.0%
  • Shell 5.0%