From 6faf8ecae6fd2dceadf2f3bbd15565f35c2c1a64 Mon Sep 17 00:00:00 2001 From: Collin Guarino Date: Mon, 29 Feb 2016 19:34:19 -0500 Subject: Changed example code to match new FindBridges function and fixed documentation. --- bridge.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bridge.go') diff --git a/bridge.go b/bridge.go index a69c736..2a6fb26 100644 --- a/bridge.go +++ b/bridge.go @@ -152,9 +152,8 @@ func HandleResponse(resp *http.Response) ([]byte, io.Reader, error) { return body, reader, nil } -// FindBridge will visit www.meethue.com/api/nupnp to see if a bridge -// is available on the local network. This feature currently only supports one -// bridge on the network. +// FindBridges will visit www.meethue.com/api/nupnp to see a list of +// bridges on the local network. func FindBridges() ([]Bridge, error) { bridge := Bridge{IPAddress: "www.meethue.com"} body, _, err := bridge.Get("/api/nupnp") -- cgit v1.2.3