darbia.sns.sns_services#

Interacting with S&S’ API.

Module Contents#

Classes#

SandSServices

A class wrapping S&S' API.

class darbia.sns.sns_services.SandSServices(base_url: str, account_number: str, token: str)[source]#

A class wrapping S&S’ API.

make_request(method: str, path: str, params: dict[str, Any] | None = None, json: dict[str, Any] | None = None, timeout: int | None = None) dict[source]#

Make a request to S&S’ API.

get_products() list[darbia.sns.models.Product][source]#

Get all products.