code: def get_stats(self):
          '''
          Get kitty stats as a dictionary
          '''
          resp = requests.get('%s/api/stats.json' % self.url)
          assert(resp.status_code == 200)
          return resp.json(f get_stats(self):
          '''
          Get kitty stats as a dictionary
          '''
          resp = requests.get('%s/api/stats.json' % self.url)
          assert(resp.status_code == 200)
          return resp.json()
docs: Get kitty stats as a dictionary