CLI (New)
Get all data
covid --help
Worldometers source (default)
covid
or
covid -s worldometers
John Hopkins source (deprecated)
covid -s john_hopkins
List Countries
This comes in handy when you need to know the available names of countries
when using covid -s 'source' -c 'country_name'
, eg. "The Republic of Moldova" or just "Moldova"
So use this when you need to know the country exact name that you can use.
covid -s worldometers --list-countries
Get Status By Country Name
covid -s worldometers -c sweden
Get Total Active cases
covid -s worldometers -o active
Get Total Confirmed cases
covid -s worldometers -o confirmed
Get Total Recovered cases
covid -s worldometers -o recovered
Get Total Deaths
covid -s worldometers -o deaths