forked from platypush/platypush
Use the /total/country/<cc> endpoint instead of /total/dayone/country/<cc>
This commit is contained in:
parent
0c10825d2e
commit
d595688d55
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class Covid19Plugin(Plugin):
|
||||||
countries = self._get_countries(country)
|
countries = self._get_countries(country)
|
||||||
ret = []
|
ret = []
|
||||||
for country in countries:
|
for country in countries:
|
||||||
ret += requests.get('{}/total/dayone/country/{}'.format(self.base_url, country)).json()
|
ret += requests.get('{}/total/country/{}'.format(self.base_url, country)).json()
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue