coronavirus-tracker-cli icon indicating copy to clipboard operation
coronavirus-tracker-cli copied to clipboard

Feature request: Regions or Top N

Open Falkgaard opened this issue 4 years ago • 3 comments

Hi, Showing all countries in the list takes up too many pages of the terminal, but it would still be nice to be able to see more than one country.

My suggestion is two-fold:

curl https://corona-stats.online/X

where X is a number (e.g. 20 for "top 20" countries by number of cases)

and/or:

curl https://corona-stats.online/REGION

where region could be like Europe, Scandinavia, Caribbean, Mediterranean, Asia, Oceania, or whatever.

Or just being able to to manually put together a list would be fine too:

curl https://corona-stats.online/SE+DK+NO+FI+IS

for Scandinavia.

Anyways, awesome curl app. Keep up the great work! Regards, -F

Falkgaard avatar Mar 16 '20 16:03 Falkgaard

Thanks @Falkgaard . This sounds great. I will work on this after adding news feed from twitter

sagarkarira avatar Mar 16 '20 18:03 sagarkarira

Added top N filter curl https://corona-stats.online?top=10 corona --top=10

sagarkarira avatar Mar 19 '20 23:03 sagarkarira

Thank you for adding this feature. It would be nice if the top parameter also worked for states / regions. ex: corona us --top=10.

ptsteadman avatar Mar 23 '20 23:03 ptsteadman