Skip to content
A SolarEdge Monitoring API wrapper for Go
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
solaredge initial commit with minimal site api Nov 17, 2019
test/integration
.gitignore
README.md initial commit with minimal site api Nov 17, 2019
go.mod
go.sum initial commit with minimal site api Nov 17, 2019

README.md

Golang SolarEdge Monitoring API

Go client for the SolarEdge monitoring API

Usage

package main

import (
    "fmt"
    "os"

    "github.com/elliott-davis/solaredge-go"
)

func main() {
    token := os.Getenv("SOLAREDGE_AUTH_TOKEN")
    // You may optionally include your own http client
    client = solaredge.NewClient(nil, token)
    site, err := client.Site.List(&solaredge.ListOptions{Page: 2, PerPage: 1})
    if err != nil {
    	panic(err)
    }
    fmt.Println(site)
}
You can’t perform that action at this time.