go-getresponse

module
v0.0.0-...-3cf7a8a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2017 License: Apache-2.0

README

go-getresponse

A golang API client for GetResponse V3

Supported APIs

Usage

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(), "jsmith@example.com", "John Smith", nil, campaignID, nil, nil)
    if err != nil {
        log.Printf("Error creating contact in GR: %s", err.Error())
    }
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL