docs: def _get_device_info(self, device_id):
          """Queries the Spark Cloud for detailed information about a device."""
          params = {'access_token': self.access_token}
          r = self.spark_api(device_id).GET(params=params, timeout=30)
          self._check_error(r)
          return r.json()