bayesline.apiclient.BayeslineApiClient#

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

Methods

__init__(client, tqdm_progress)

login(*[, endpoint, client, proxy, verify, ...])

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

new_client(*[, endpoint, api_key, ...])

Attributes

equity

Get the equity API.

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 | None = None, auth_token: str | None = None, client: Client | None = None, proxy: str | None = None, verify: bool = True, tqdm_progress: bool = True) BayeslineApi#
classmethod login(*, endpoint: str = 'https://api.bayesline.com', client: Client | None = None, proxy: str | None = None, verify: bool = True, open_browser: bool = True, use_cache: bool = True, timeout: float = 300.0, tqdm_progress: bool = True) BayeslineApi#
classmethod new_async_client(*, endpoint: str = 'https://api.bayesline.com', api_key: str | None = None, auth_token: str | None = None, 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#

SettingsRegistry

property permissions: PermissionsApi#

Get the user permissions API.

Returns#

PermissionsApi

The user permissions API.

property tasks: TasksApi#

Get the tasks API.

Returns#

TasksApi

The tasks API.