Skip to content

AnthonyBloomer/covid-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

covid-cli

Get the latest COVID-19 information via the command line.

Installation

pip install covid-cli

Usage

usage: covid [-h] [-all] [-country COUNTRY] [-totals] [-csv] [-us]
             [-sort-by [{Country,Active,Cases,Deaths,Recovered,Death Rate}]]

optional arguments:
  -h, --help            show this help message and exit
  -all, -a              Get all countries totals
  -country COUNTRY, -c COUNTRY
                        Get a specific country's totals.
  -totals, -t           Get global stats: cases, deaths, recovered, time last
                        updated, and active cases
  -csv                  Set this flag to output to CSV.
  -us, -u               Get United States data.
  -sort-by [{Country,Active,Cases,Deaths,Recovered,Death Rate}], -s [{Country,Active,Cases,Deaths,Recovered,Death Rate}]
                        Sort data by column.

Demo

asciicast

About

Get the latest COVID-19 information via the command line.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages