Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Golang SolarEdge Monitoring API

Go client for the SolarEdge monitoring API

Usage

package main

import (
    "fmt"
    "os"

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

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)
}

About

A SolarEdge Monitoring API wrapper for Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages