https://github.com/thespeedx/covid-india-api
A Web API Giving All Formatted data about Corona Cases in India
https://github.com/thespeedx/covid-india-api
corona corona-api corona-india corona-tracker covid covid-19-india covid-api flask python thespeedx web-api
Last synced: 2 months ago
JSON representation
A Web API Giving All Formatted data about Corona Cases in India
- Host: GitHub
- URL: https://github.com/thespeedx/covid-india-api
- Owner: TheSpeedX
- Created: 2020-03-19T19:58:59.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-01T14:53:28.000Z (almost 5 years ago)
- Last Synced: 2025-04-11T23:51:53.021Z (2 months ago)
- Topics: corona, corona-api, corona-india, corona-tracker, covid, covid-19-india, covid-api, flask, python, thespeedx, web-api
- Language: Python
- Size: 70.3 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# COVID-INDIA-API
A Web API To Get Details of Corona in India## Description
This is a Web API that Gets you Details of Corona Virus in India.
Like:
- Stats
- News
- New Cases
- Prediction
### Starting Server
Start Server:
```python3 server.py```
#### To Get A World Map
Send A GET Request To ```http://domain.com/world```
#### To Get India Heat Map
Send A GET Request To ```http://domain.com/india```
#### To Get All States Statistics
Send A GET Request To ```http://domain.com/api/all```
#### To Get A recent news
Send A GET Request To ```http://domain.com/api/news```
#### To Update The Details
Send A GET Request To ```http://domain.com/update/{password}```
#### To Get A recent Reports After Update
Send A GET Request To ```http://domain.com/api/new```
#### To Get Helpline Numbers
Send A GET Request To ```http://domain.com/api/helpline```
#### To Get HOW-TO Guides
Send A GET Request To ```http://domain.com/api/guides```
#### To Get Quotes
Send A GET Request To ```http://domain.com/api/quotes```
#### To Get A State's Statistics
Send A POST Request To ```http://domain.com/api/state```
With The JSON data format: ```{"state":"statename"}```
#### To Get A State's Prediction of Getting Ill
Send A POST Request To ```http://domain.com/api/predict```
With The JSON data format: ```{"state":"statename"}```
### Valid State Names
Andhra Pradesh
Delhi
Haryana
Karnataka
Kerala
Maharashtra
Odisha
Pondicherry
Punjab
Rajasthan
Tamil Nadu
Telengana
Union Territory of Jammu and Kashmir
Union Territory of Ladakh
Uttar Pradesh
Uttarakhand
West Bengal
Union Territory of Chandigarh
#### Credits
Made With ❤ By SpeedX