https://github.com/dutchcoders/gonest
Golang NEST library
https://github.com/dutchcoders/gonest
Last synced: 3 months ago
JSON representation
Golang NEST library
- Host: GitHub
- URL: https://github.com/dutchcoders/gonest
- Owner: dutchcoders
- License: mit
- Created: 2015-01-02T11:49:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-06T14:22:56.000Z (over 10 years ago)
- Last Synced: 2025-03-25T12:12:45.684Z (3 months ago)
- Language: Go
- Size: 156 KB
- Stars: 14
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gonest
=====Golang NEST library.
## Features
## Sample
```
package mainimport (
"github.com/dutchcoders/gonest"
"log"
)func main() {
var err error
var nest gonest.Nest
if nest, err := gonest.Connect("clientid", ""); err != nil {
log.Panic(err)
}if err = nest.Authorize("secret", "pincode"); err != nil {
log.Panic(err)
}
var devices gonest.Devices
if err = nest.Devices(&devices); err != nil {
log.Panic(err)
}for _, device := range devices {
fmt.Print(device.Name)
}
}```
## References
See github.com/dutchcoders/nest/ for complete implementation of library.
## Contributions
Contributions are welcome.
## Creators
**Remco Verhoef**
-
-## Copyright and license
Code and documentation copyright 2011-2014 Remco Verhoef.
Code released under [the MIT license](LICENSE).