Skip to content
Permalink
069745fbec
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
102 lines (102 sloc) 4.62 KB
[
{
"Name": "Get All Data",
"Description": "Returns all data in the system. Warning: this request returns 8MB+ and takes 5+ seconds",
"Path": "/all",
"Params": null
},
{
"Name": "Get List Of Countries",
"Description": "Returns all countries and associated provinces. The country_slug variable is used for country specific data",
"Path": "/countries",
"Params": null
},
{
"Name": "Get List Of Cases Per Country Per Province By Case Type",
"Description": "Returns all cases by case type for a country. Country must be the country_slug from /countries. Cases must be one of: confirmed, recovered, deaths",
"Path": "/country/{country}/status/{status}",
"Params": [
"country",
"status"
]
},
{
"Name": "Get List Of Cases Per Country Per Province By Case Type With Live Count",
"Description": "Returns all cases by case type for a country with the latest record being the live count. Country must be the country_slug from /countries. Cases must be one of: confirmed, recovered, deaths",
"Path": "/country/{country}/status/{status}/live",
"Params": [
"country",
"status"
]
},
{
"Name": "Get List Of Cases Per Country By Case Type",
"Description": "Returns all cases by case type for a country. Country must be the country_slug from /countries. Cases must be one of: confirmed, recovered, deaths",
"Path": "/total/country/{country}/status/{status}",
"Params": [
"country",
"status"
]
},
{
"Name": "Get List Of Cases Per Country Per Province By Case Type From The First Recorded Case",
"Description": "Returns all cases by case type for a country from the first recorded case. Country must be the country_slug from /countries. Cases must be one of: confirmed, recovered, deaths",
"Path": "/dayone/country/{country}/status/{status}",
"Params": [
"country",
"status"
]
},
{
"Name": "Get List Of Cases Per Country By Case Type From The First Recorded Case",
"Description": "Returns all cases by case type for a country from the first recorded case. Country must be the country_slug from /countries. Cases must be one of: confirmed, recovered, deaths",
"Path": "/total/dayone/country/{country}/status/{status}",
"Params": [
"country",
"status"
]
},
{
"Name": "Get List Of Cases Per Country Per Province By Case Type From The First Recorded Case With Live Count",
"Description": "Returns all cases by case type for a country from the first recorded case with the latest record being the live count. Country must be the country_slug from /countries. Cases must be one of: confirmed, recovered, deaths",
"Path": "/dayone/country/{country}/status/{status}/live",
"Params": [
"country",
"status"
]
},
{
"Name": "Get Live List Of Cases Per Country Per Province By Case Type",
"Description": "Returns all live cases by case type for a country. These records are pulled every 10 minutes and are ungrouped. Country must be the country_slug from /countries. Cases must be one of: confirmed, recovered, deaths",
"Path": "/live/country/{country}/status/{status}",
"Params": [
"country",
"status"
]
},
{
"Name": "Get Live List Of Cases Per Country Per Province By Case Type After A Date",
"Description": "Returns all live cases by case type for a country after a given date. These records are pulled every 10 minutes and are ungrouped. Country must be the country_slug from /countries. Cases must be one of: confirmed, recovered, deaths",
"Path": "/live/country/{country}/status/{status}/date/{date}",
"Params": [
"country",
"status",
"date"
]
},
{
"Name": "Add a webhook to be notified when new data becomes available",
"Description": "POST Request must be in JSON format with key URL and the value of the webhook. Response data is the same as returned from /summary",
"Path": "/webhook",
"Params": [
"URL",
"webhook"
]
},
{
"Name": "Summary of new and total cases per country",
"Description": "A summary of new and total cases per country",
"Path": "/summary",
"Params": null
}
]