Go client library for the Signal Sciences API.
go get github.com/signalsciences/go-sigsci
email := “[sigsci email]”
password := “[sigsci password]“
sc, err := sigsci.NewClient(email, password)
if err != nil {
log.Fatal(err)
}
package main
import (
"log"
sigsci "github.com/signalsciences/go-sigsci"
)
func main() {
email := “[sigsci email]“
password := “[sigsci password]“
sc, err := sigsci.NewClient(email, password)
if err != nil {
log.Fatal(err)
}
agents, err := sc.ListAgents("testcorp", "www.mysite.com")
if err != nil {
log.Fatal(err)
}
log.Println(agents)
}