sagarkarira / coronavirus-tracker-cli

Track conronavirus cases from command line. curl https://corona-stats.online/

Home Page:https://corona-stats.online/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

curl https://corona-stats.online/US no longer shows individual states

HirschBerge opened this issue · comments

I used to be able to curl to a file and grep the states to put in my bar, but it no longer shows the states, just total US. Thanks

Same issue as well

the default source is pointing to a source that doesn't show individual provinces ...

You can get the info by running like this curl 'https://corona-stats.online/CA?source=1'

This is something I've tried before, It does work with Canada (which I obviously had not tried), but it doesn't work with the US. it just brings up the overall US, not any of the states.

commented

Will the state data return in some different format?

Sorry, I was busy last week. But I've added US state-wise stats here:
https://corona-stats.online/states/us

I will be adding other countries' state-wise API too. If you know sources please do share.

Thank you