An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/segmentio/intercom-go

Package intercom-go provides a thin client for the Intercom API: http://doc.intercom.io/api/. The first step to using Intercom's Go client is to create a client object, using your App ID and Api Key from your [settings](http://app.intercom.io/apps/api_keys). The client can be configured with different options by calls to Option: Errors may be returned from some calls. Errors returned from the API will implement `intercom.IntercomError` and can be checked: The HTTP Client used by this package can be swapped out for one of your choosing, with your own configuration, it just needs to implement the HTTPClient interface: The client will probably need to work with `appId`, `apiKey` and `baseURI` values. See the provided client for an example. Then create an Intercom Client and inject the HTTPClient: Due to the way Go represents the zero value for a bool, it's necessary to pass pointers to bool instead in some places. The helper `intercom.Bool(true)` creates these for you. For many resources, pagination should be applied through the use of a PageParams object passed into List() functions.

Ecosystem
proxy.golang.org
Latest Release
v1.0.0
almost 11 years ago
Versions
1
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/segmentio/intercom-go
spec
License Apache-2.0
Namespace github.com/segmentio
First Release almost 11 years ago
Last Synced 28 days ago
Repository
Stars 1 on GitHub
Forks 0 on GitHub
Rankings on proxy.golang.org
Overall Top 8.2%