From d037c7c6031eb44a1ac596ae847e733fcb68da57 Mon Sep 17 00:00:00 2001 From: Nicolas Leclercq Date: Fri, 29 Jul 2016 15:54:09 +0200 Subject: [PATCH] update doc --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4965020..23076c3 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ func main() { os.Exit(1) } - dc, err := n.GetDeviceCollection() + dc, err := n.Read() if err != nil { fmt.Println(err) os.Exit(1) @@ -80,5 +80,5 @@ Station : Home ``` ## Tips -- Only GetDeviceCollection() method actually do an API call and refresh all data at once +- Only Read() method actually do an API call and refresh all data at once - Main station is handle as a module, it means that Modules() method returns list of additional modules and station itself.