Skip to content

MrCorncob/coronavirus-tracker-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coronavirus-tracker-cli

Track coronavirus from cli

Screenshot

CURL

Complete Data

curl https://corona-stats.online/

Filter by Country Stats

curl https://corona-stats.online/<country>

where can be country name or its ISO code.

  • US: curl https://corona-stats.online/US
  • Italy: curl https://corona-stats.online/Italy
  • UK: curl https://corona-stats.online/UK or curl https://corona-stats.online/GB

API

Add ?format=json at the end of any API to get json formatted data.

Example:

curl https://corona-stats.online?format=json

Local Command (For coloured ouput)

Install

npm install coronavirus-tracker-cli -g

Run command

corona

ToDos

  • Filter by country to get cases by local states.
  • Move from npm to curl
  • Add daily change.
  • Add growth rate. (linear regression)
  • Add latest updates from reddit / twitter.

Other Regional Trackers.

Thanks to

Related Projects

License

WTFPL

About

Track conronavirus cases from command line. curl https://corona-stats.online/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%