houndapi.client package

Subpackages

Submodules

houndapi.client.client module

class houndapi.client.client.HoundAPI(host: str = '127.0.0.1', port: int | None = None, protocol: Literal['http', 'https'] = 'http')[source]

Bases: APIMethods

the API that wraps all of the methods

Parameters:
  • host (str, optional) – the host/domain ex: myapi.net, 127.0.0.1, default=”127.0.0.1”

  • port (int, optional) – the host port, default = None

  • protocol (str, optional) – the host protocol, default = “http”

async close() None[source]

Close the aiohttp ClientSession

async delete(endpoint: str, body: Dict[str, Any] = None) Dict[str, Any] | List[Dict[str, Any]][source]
async get(endpoint: str) Dict[str, Any] | List[Dict[str, Any]][source]
async post(endpoint: str, body: Dict[str, Any] = None) Dict[str, Any] | List[Dict[str, Any]][source]

Module contents