Skip to content

JustaPenguin/sendgrid-contacts-go

Repository files navigation

sendgrid-contacts-go

Golang bindings for SendGrid's Contacts Marketing API

Example

import "github.com/justapenguin/sendgrid-contacts-go"

// ...

client := contacts.New("SENDGRID_APIKEY")

resp, err := client.Recipients().Add(
    &Recipient{
      FirstName: "John", 
      LastName:  "Doe", 
      Email:     "[email protected]",
    },
)

if err != nil {
    // ...
}

// do something with resp...

About

Golang bindings for SendGrid's Contacts Marketing API

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages