darbia.sns
#
A wrapper for S&S’ API.
Submodules#
Package Contents#
Classes#
Product. |
|
Warehouse. |
|
A class wrapping S&S' API. |
- class darbia.sns.Product[source]#
Product.
- colorGroupName: str[source]#
Colors with a similar color group are considered to be a similar color.
- class darbia.sns.Warehouse[source]#
Warehouse.
- class darbia.sns.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.