Skip to main content

BridgeHomeService

A list of all methods in the BridgeHomeService service. Click on the method name to view detailed information about that method.

MethodsDescription
get_bridge_homesList all available bridge homes.
get_bridge_homeGet 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

NameTypeRequiredDescription
bridge_home_idstrID 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

Start for Free →