diff --git a/hashtopolis/hashtopolis.py b/hashtopolis/hashtopolis.py index ff1a14f..cf93a9d 100644 --- a/hashtopolis/hashtopolis.py +++ b/hashtopolis/hashtopolis.py @@ -1101,14 +1101,14 @@ def get_cracks_per_day(self): uri = self._api_endpoint + self._model_uri + 'getCracksPerDay' r = requests.get(uri, headers=self._headers) self.validate_status_code(r, [200], "getCracksPerDay failed") - return r.json()['data'] + return r.json()['meta'] def get_completed_count(self): self.authenticate() uri = self._api_endpoint + self._model_uri + 'getCompletedCount' r = requests.get(uri, headers=self._headers) self.validate_status_code(r, [200], "getCompletedCount failed") - return r.json()['data'] + return r.json()['meta'] def get_global_config(self): self.authenticate()