bayesline.apiclient.BayeslineApiClient#

class bayesline.apiclient.BayeslineApiClient(client: ApiClient, tqdm_progress: bool)#
__init__(client: ApiClient, tqdm_progress: bool)#

Methods

__init__(client, tqdm_progress)

new_async_client(*[, endpoint, client, ...])

new_client(*[, endpoint, client, proxy, ...])

Attributes

equity

Get the equity API.

incidents

permissions

Get the user permissions API.

settings_registry

Gets the top level settings registry.

tasks

Get the tasks API.

__init__(client: ApiClient, tqdm_progress: bool)#
classmethod new_client(*, endpoint: str = 'https://api.bayesline.com', api_key: str, client: Client | None = None, proxy: str | None = None, verify: bool = True, tqdm_progress: bool = True) BayeslineApi#
classmethod new_async_client(*, endpoint: str = 'https://api.bayesline.com', api_key: str, client: AsyncClient | None = None, proxy: str | None = None, verify: bool = True, tqdm_progress: bool = False) AsyncBayeslineApi#
property equity: BayeslineEquityApi#

Get the equity API.

Returns#

BayeslineEquityApi

The equity API.

property settings_registry: SettingsRegistry#

Gets the top level settings registry.

The top level settings registry gives access to all settings used throughout the system.

Returns#

NewSettingsRegistry

property permissions: PermissionsApi#

Get the user permissions API.

Returns#

PermissionsApi

The user permissions API.

property incidents: IncidentsServiceApi#
property tasks: TasksApi#

Get the tasks API.

Returns#

TasksApi

The tasks API.