coronavirus-tracker-cli
Track The Corona virus from your 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
orcurl 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
With emojis
corona --emojis
Filter by country
corona italy
Disable colors
corona --color=false
Top 10 (Working on native command)
Note: This command will cause colored output to be discarded.
# Grep the rank of 10 and the 23 lines preceding it
corona | grep -B 23 ' 10 '
ToDos
Filter by country to get cases by local states.Move from npm to curlAdd daily change.- Add growth rate. (linear regression)
- Add latest updates from reddit / twitter.
Contributors
project : curl-corona
lines : 2837
authors :
2479 Sagar Karira 87.4%
293 Alexandra Parker 10.3%
30 Lucas Fernandez Nicolau 1.1%
25 Shelton Koskie 0.9%
6 Mo'men Tawfik 0.2%
3 XhmikosR 0.1%
1 CyberDracula 0.0%
Other Regional Trackers.
Thanks to
- CSSEGISandData for the data.
- ExpDev07 for the api.
- Zeit Now for hosting.
Related Projects
- https://github.com/NovelCOVID/API
- https://github.com/javieraviles/covidAPI
- https://github.com/mathdroid/covid-19-api