ahmadawais / corona-cli

🦠 Track the Coronavirus disease (COVID-19) in the command line. Worldwide for all countries, for one country, and the US States. Fast response time (< 100ms). https://x.com/MrAhmadAwais
https://NodeCLI.com
MIT License
1.85k stars 191 forks source link

New option --date #33

Open umutdurak opened 4 years ago

umutdurak commented 4 years ago

New option --date -d ddmmyy that gives the results for the given date.

ahmadawais commented 4 years ago

Can you share you see that happening? Also PR is welcomed.

michange commented 4 years ago

We would really use an option to show individual data of past dates, so we can draw curves, and calculate moving-averages, etc... EG : Belgium - Cases --d 01032020

Screen Shot 2020-03-24 at 01 42 24
nitinpatil1992 commented 4 years ago

@ahmadawais I have added --date option. It's currently for country specific. Should we generalise it to all countries as well? So there will GET /countries + n * GET /v2/historical/{country} these many API calls.

botwithabeard commented 4 years ago

Can you help me understand a use case for this?