Covid API
Usage
Countries
- METHOD: GET
- URL:
https://api.trackingcovid.com/api/countries
- RESPONSE:
{"Georgia": [],
"Latvia": [],
"Jamaica": [],
"Poland": [],
"Canada": [
"British Columbia",
"Ontario",
"Alberta",
"Quebec",
"New Brunswick",
"Manitoba",
"Saskatchewan",
"Grand Princess"
],
...
}
By Country
- METHOD: GET
- URL:
https://api.rackingcovid.com/api/confirmed/:country
- RESPONSE
{
"country": "Canada",
"cases": [0, 0, 1,...],
"predictions": [0.6292397306678004, 0.6990728897808295, ...],
"prediction_type": "weighted_exponential",
"start": "2020-01-22"
}
By Countries
- METHOD: GET
- URL:
https://api.trackingcovid.com/api/confirmed/?countries=:countries
- RESPONSE
[ { "country": "Canada", "cases": [0, 0, 1,...], "predictions": [0.6292397306678004, 0.6990728897808295, ...], "prediction_type": "weighted_exponential", "start": "2020-01-22" }, { "country": "US", "cases": [0, 0, 1,...], "predictions": [0.1602764754993061, 0.19285269106150466, ...], "prediction_type": "weighted_exponential", "start": "2020-01-22" }, ... ]
Sources
All data from: Johns Hopkins CSSE