/go-quip

Quip bindings for Go

Primary LanguageGoApache License 2.0Apache-2.0

go-quip

Quip bindings for Go

Installation

go get should work:

go get github.com/mduvall/go-quip

API Support

The library currently supports the documented endpoints.

Usage/Examples

For usage of go-quip and examples using the library, refer to the godoc page.

A quick rundown:

q := quip.NewClient("access_token")

// Getting recent messages...
rmp := quip.GetRecentMessagesParams{
    ThreadId: "thread_id",
}
messages := q.GetRecentMessages(&rmp)

for _, message := range messages {
    fmt.Println(message.Text)
}

// Creating a new message

nm := quip.NewMessageParams{
    ThreadId: "YLZAAAQV9Py",
    Content:  "Byah!",
}
message := q.NewMessage(&nm)