GET /covid/:country
COVID-19 statistics for a specific country þar á meðal total and today's cases/deaths, recovery rate, testing rate, per-million metrics, and country flag. Gagnlegt fyrir epidemiological research, public health mælaborð, and historical analysis.
country
nauðsynlegt
Country name or ISO code
| Nafn | Nauðsynlegt | Sjálfgefið | Lýsing |
|---|---|---|---|
country |
Já | - | Country name or ISO code |
curl https://nordapi.ee/api/v1/covid/norway
curl https://nordapi.ee/api/v1/covid/norway
curl https://nordapi.ee/api/v1/covid/usa
curl https://nordapi.ee/api/v1/covid/japan
{
"data": {
"active": 0,
"cases": 1509732,
"cases_per_million": 273930,
"code": "NO",
"country": "Norway",
"critical": 0,
"deaths": 6638,
"deaths_per_million": 1204,
"flag": "https://disease.sh/assets/img/flags/no.png",
"population": 5511370,
"recovered": 1503094,
"tests": 11002430,
"today_cases": 0,
"today_deaths": 0
},
"success": true
}