-
Notifications
You must be signed in to change notification settings - Fork 0
Package sectoralarm implements access to the Sector Alarm API
License
mattias-ohlsson/go-sectoralarm
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Package sectoralarm Package sectoralarm implements access to the Sector Alarm API. USAGE - main.go: package main import ( "fmt" "github.com/mattias-ohlsson/go-sectoralarm" ) func main() { client, _ := sectoralarm.NewClient("user@example.org", "password") client.Login() panels, _ := client.GetPanelList() for _, panel := range panels { temperatures, _ := client.GetTemperatures(panel.PanelID) for _, temperature := range temperatures { fmt.Println(temperature.Label, temperature.Temperature) } } }
About
Package sectoralarm implements access to the Sector Alarm API
Resources
License
Stars
Watchers
Forks
Releases
No releases published