A golang API client for GetResponse V3
go get github.com/healthimation/go-getresponse/getresponse
import (
"log"
"time"
"context"
"github.com/healthimation/go-getresponse/getresponse"
)
func main() {
timeout := 5 * time.Second
client := getresponse.NewClient("my get response api key", timeout)
campaignID := "123"
err := client.(context.Background(), "[email protected]", "John Smith", nil, campaignID, nil, nil)
if err != nil {
log.Printf("Error creating contact in GR: %s", err.Error())
}
}