def _request(self, method: str, path: str, params: dict=None, **kwargs) -> dict:
    request = requests.request(method=method, url=self._get_url(path), headers=self.headers, params=params, **kwargs)
    json = request.json()
    return json
def _request(self, method: str, path: str, params: dict=None, **kwargs) -> dict:
    request = requests.request(method=method, url=self._get_url(path), headers=self.headers, params=params, **kwargs)
    json = request.json()
    return json