An open API service indexing awesome lists of open source software.

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

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