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 <country> can be a 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
Minimal Compact Table
curl https://corona-stats.online?minimal=true
Only show top N countries
curl https://corona-stats.online?top=20
Get realtime stats (NEW)
curl https://corona-stats.online?source=2
Latest News (Work in Progress)
curl https://corona-stats.online/updates
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 output)
Note: NodeJS version 12 recommended. You can download it here.
Install
npm install coronavirus-tracker-cli -g
Run command
corona
Filter by country
corona italy
Get realtime stats (NEW)
corona --source=2
Top N countries
corona --top=10
With emojis
corona --emojis
Set Minimal Compact Table
corona --minimal
Disable colors
corona --color=false
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 : 3991
authors :
3342 Sagar Karira 83.7%
356 XhmikosR 8.9%
232 Alexandra Parker 5.8%
26 Lucas Fernandez Nicolau 0.7%
13 Daniel S 0.3%
10 Shelton Koskie 0.3%
5 Sabu Siyad 0.1%
4 Mo'men Tawfik 0.1%
2 Steven 0.1%
1 Greg Myers 0.0%
Other Regional Trackers
Data Sources
- John Hopkins Data updated once a day at 11:59 UTC
- John Hopkins Data API
- WorldoMeters Data API updated very frequently.
Related Projects
- https://github.com/NovelCOVID/API
- https://github.com/javieraviles/covidAPI
- https://github.com/mathdroid/covid-19-api
- https://github.com/warengonzaga/covid19-tracker-cli
- https://github.com/ahmadawais/corona-cli
Hosting
- Big shoutout to Zeit Now.