command
module
Version:
v0.0.0-...-6eac626
Opens a new window with list of versions in this module.
Published: Jul 31, 2020
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
COVID-19 India (Server - Golang)
Refined Stats From COVID-19 Official Website
Data is periodontally collected from Official Website
API Server:
https://api.novelcoronaindia.info
API Endpoints:
-
GET /covid19/all
-
GET /covid19/date/{date}
-
GET /covid19/dateRange/{startDate}/{endDate}
-
GET /covid19/formattedData
(Optional query parameter: startDate
and endDate
).
/covid19/formattedData?startDate=15-05-2020
(Optional endDate. Default: Today
)
/covid19/formattedData?endDate=21-05-2020
(Optional startDate. Default: 03-04-2020
)
/covid19/formattedData?startDate=15-05-2020&endDate=21-05-2020
- Sample Response
{
"data": [
{
"date": "21-05-2020",
"confirmed": 1000,
"recovered": 500,
"death": 5,
"active": 495,
"stateWise": [
{
"stateName": "West Bengal",
"confirmed": 500,
"recovered": 200,
"death": 1,
"active": 299,
},
// more state data
],
},
// more date wise data
];
}
Note:
- Accepted date format:
DD-MM-YYYY
(eg. 18-04-2020
)
- Data available from
03-04-2020
Frontend Code: https://github.com/ritwickdey/covid-19-india-react
Incidents
30-05-2020
- What?
- Wrong
CONFIRMED
& ACTIVE
case data for 30-05-2020
. I added an avg value for 30-05-2020
.
- Why?
- HTML of mohfw.gov.in was changed
MIT Licence
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.