Tiny Go library for the Fleek API.
go get -u github.com/mrusme/go-fleek
package main
import (
"log"
"github.com/mrusme/go-fleek"
)
func main() {
f := fleek.New("apiKeyHere")
sites, err := f.GetSitesByTeamId("my-team")
if err != nil {
log.Panic(err)
}
for _, site := range sites {
log.Printf(
"Site ID: %v\nName: %s\nPlatform: %s\n\n",
site.Id,
site.Name,
site.Platform,
)
}
}