reminix.client.Client

class reminix.client.Client[source]

Bases: object

Main client for interacting with the Reminix API

__init__(api_key, base_url=None, timeout=None, headers=None)[source]

Initialize the Reminix client.

Parameters:

Example:

client = Client(api_key="your-api-key")

Methods

__init__(api_key[, base_url, timeout, headers])

Initialize the Reminix client.

close()

Close the HTTP client

request(method, path[, params, json, headers])

Make an HTTP request to the API.

__init__(api_key, base_url=None, timeout=None, headers=None)[source]

Initialize the Reminix client.

Parameters:

Example:

client = Client(api_key="your-api-key")
async __aenter__()[source]

Async context manager entry

async __aexit__(exc_type, exc_val, exc_tb)[source]

Async context manager exit

async close()[source]

Close the HTTP client

async request(method, path, params=None, json=None, headers=None)[source]

Make an HTTP request to the API.

Parameters:
Return type:

Any

Returns:

Response data (parsed JSON)

Raises: