Skip to content

Company

Get a list of companies.

GET /company

Returns:

Type Description
list[dict]

list[dict]: List of companies, each containing: - name (str) - email (str)

Source code in nukiwebapi/company.py
 7
 8
 9
10
11
12
13
14
15
16
17
def list_companies(self) -> list[dict]:
    """Get a list of companies.

    GET /company

    Returns:
        list[dict]: List of companies, each containing:
            - name (str)
            - email (str)
    """
    return self.client._request("GET", "/company")