BridgeHomeService
A list of all methods in the BridgeHomeService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_bridge_homes | List all available bridge homes. |
get_bridge_home | Get details of a single bridge home from its given {bridgeHomeId} . |
get_bridge_homes
List all available bridge homes.
- HTTP Method:
GET
- Endpoint:
/clip/v2/resource/bridge_home
Return Type
GetBridgeHomesOkResponse
Example Usage Code Snippet
from open_hue import OpenHue, Environment
sdk = OpenHue(
api_key="YOUR_API_KEY",
api_key_header="YOUR_API_KEY_HEADER",
base_url=Environment.DEFAULT.value
)
result = sdk.bridge_home.get_bridge_homes()
print(result)
get_bridge_home
Get details of a single bridge home from its given {bridgeHomeId}
.
- HTTP Method:
GET
- Endpoint:
/clip/v2/resource/bridge_home/{bridgeHomeId}
Parameters
Name | Type | Required | Description |
---|---|---|---|
bridge_home_id | str | ✅ | ID of the bridge home. |
Return Type
GetBridgeHomeOkResponse
Example Usage Code Snippet
from open_hue import OpenHue, Environment
sdk = OpenHue(
api_key="YOUR_API_KEY",
api_key_header="YOUR_API_KEY_HEADER",
base_url=Environment.DEFAULT.value
)
result = sdk.bridge_home.get_bridge_home(bridge_home_id="bridgeHomeId")
print(result)
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs