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

Wrong per milion result #50

Closed erropix closed 4 years ago

erropix commented 4 years ago

Annotation 2020-03-26 231936

as shown in the above screenshot, the per million cases is wrong, for Italy and Spain

joeguilmette commented 4 years ago

Switzerland as well.

JoseB91 commented 4 years ago

I think the problem is regarding the REST API, I looked on https://corona.lmao.ninja/v2/countries and is showing cases for all those countries you mentioned.

ahmadawais commented 4 years ago

Your screenshot doesn't show the version of CLI. Are you using the latest one?

ahmadawais commented 4 years ago

On the latest version of the CLI, I see all the correct stats

image

erropix commented 4 years ago

This was for the latest version at Mar 26 when I opened it

ahmadawais commented 4 years ago

What version? Is it 5.3? corona --version to check. As you see in my screenshot, it's fine.

erropix commented 4 years ago

It's no longer an issue, I forgot the exact version, you can check what version was the latest as of March 26th. but anyway, it's surely was an API issue not related to the tool