sagarkarira / coronavirus-tracker-cli

Track conronavirus cases from command line. curl https://corona-stats.online/
https://corona-stats.online/
944 stars 81 forks source link

More frequent updates request #10

Closed LesnyRumcajs closed 4 years ago

LesnyRumcajs commented 4 years ago

Perhaps hourly / every two hours? So far it's the best tool out there except for the severely outdated information.

sagarkarira commented 4 years ago

Thanks, @LesnyRumcajs

I will try and see what can be done. But John Hopkins data is updated every 24 hours which I am using. You can check it out here

LesnyRumcajs commented 4 years ago

Ah, I thought there are more sources and / or the data source is updated more often. Makes more sense now. Thanks!

sagarkarira commented 4 years ago

@LesnyRumcajs I will be adding the latest news/updates command today. That will help with the discrepancy.

Empty2k12 commented 4 years ago

Something that is updated more often is https://www.worldometers.info/coronavirus/ but I'm not sure you can use their data.

sagarkarira commented 4 years ago

@Empty2k12 They dont have an official API, sadly. I am looking for a realtime tracking API, especially because the new cases are coming up so fast. 😢

LesnyRumcajs commented 4 years ago

This page https://covid-19-sars.pl/ uses some allegedly WHO data from: https://coronavirus-19-api.herokuapp.com (which is supposed to be on par with worldometers), updated every 15 minutes. But it doesn't go nicely with curl. :(

sagarkarira commented 4 years ago

@LesnyRumcajs API looks good. I will try to integrate it tomorrow.

sagarkarira commented 4 years ago

Added a secondary API realtime updates. https://github.com/sagarkarira/coronavirus-tracker-cli/pull/60

https://corona-stats.online/?source=2

LesnyRumcajs commented 4 years ago

Great, thank you!