mirror of
https://github.com/steinhobelgruen/netatmo-api-go.git
synced 2024-11-21 22:23:55 +00:00
update doc
This commit is contained in:
parent
8562438f63
commit
d037c7c603
|
@ -32,7 +32,7 @@ func main() {
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
dc, err := n.GetDeviceCollection()
|
dc, err := n.Read()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
@ -80,5 +80,5 @@ Station : Home
|
||||||
|
|
||||||
```
|
```
|
||||||
## Tips
|
## 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.
|
- Main station is handle as a module, it means that Modules() method returns list of additional modules and station itself.
|
||||||
|
|
Loading…
Reference in a new issue