github.com/janitor/go-admitad/admitad

Go library for the Admitad API


Install
go get github.com/janitor/go-admitad/admitad

Documentation

go-admitad Build Status

go-admitad is a Go library for the Admitad API.

Install

go get github.com/janitor/go-admitad/admitad

Documentation

GoDoc

Usage

config := &oauth2.Config{}
token := &oauth2.Token{AccessToken: *accessToken}
httpClient := config.Client(oauth2.NoContext, token)

// api client
client := admitad.NewClient(httpClient)
// user info
me, resp, err := client.Me.Show(&admitad.MeShowParams{})

Testing

go test

License

MIT License