Track coronavirus from cli
curl https://corona-stats.online/
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/UKorcurl https://corona-stats.online/GB
Add ?format=json at the end of any API to get json formatted data.
Example:
curl https://corona-stats.online?format=json
Install
npm install coronavirus-tracker-cli -g
Run command
corona
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.
- CSSEGISandData for the data.
- ExpDev07 for the api.
- Zeit Now for hosting.
