diff --git a/netsuite/rest_api.py b/netsuite/rest_api.py index b4d07e5..2c4d689 100644 --- a/netsuite/rest_api.py +++ b/netsuite/rest_api.py @@ -28,6 +28,9 @@ def __init__( def hostname(self) -> str: return self._make_hostname() + async def request(self, method: str, subpath: str, **request_kw): + return await self._request_impl(method, subpath, **request_kw) + async def get(self, subpath: str, **request_kw): return await self._request("GET", subpath, **request_kw)