Skip to content

TheSpeedX/covid-india-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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