udaya2899/covid-india-api

Created Dec 27, 2020 · View the udaya2899/covid-india-api repository page

A Flask RESTful GET server that scraps data from https://mohfw.gov.in to update latest state level COVID-19 / Coronavirus data in India

Want this for your repo?

Render a free sample of any GitHub repo in seconds.

Visualize your own →

Contributors

4

Lines of Code

1,210

From

Mar 28, 2020

To

Jul 27, 2020

About udaya2899/covid-india-api

Covid India API is a REST API service that provides state-level COVID-19 statistics for India by scraping official data from the Ministry of Health and Family Welfare website. Built with Python and Flask, the API exposes coronavirus case data through simple GET endpoints and returns the information as JSON, making it accessible for developers and applications needing Indian pandemic data.

The project uses BeautifulSoup to web scrape the official government health ministry website and aggregate the data into a standardized API format. The API returns both individual state-level statistics (confirmed cases, recoveries, deaths) and national totals, along with timestamps indicating when the data was last updated. The service was originally deployed on Heroku and was featured in Postman's COVID-19 API Resource Center, making it a reference implementation for pandemic data aggregation.

The repository is now archived and no longer actively maintained, as noted in the README. It demonstrates a practical solution to the problem of making government health data machine-readable during a period when official APIs were not readily available, using lightweight technologies appropriate for the task.

Share this video