Help us shape the future of Go! Take the 2026 Go Developer Survey

go-hubspot

module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2017 License: Apache-2.0

README

Build Status

go-hubspot

Go client for HubSpot

Note: This currently does not implement all HubSpot API endpoints, however pull requests are welcome

Install

go get github.com/bold-commerce/go-hubspot

Unit Tests

To run the unit tests, install ginkgo and gomega and run:

ginkgo -r

Usage

client := hubspot.NewClient("https://api.hubapi.com", "my-api-key")

// send single email
emailId := 12345678
err := client.SingleEmail(emailId, "tyler.durden@gmail.com")
if err != nil {
	log.Fatalf("hubspot error: %s", err.Error())
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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