Ecosyste.ms: Packages

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

Top 8.2% on proxy.golang.org

proxy.golang.org : 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.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/segmentio/intercom-go
License: Apache-2.0
Latest release: about 9 years ago
First release: about 9 years ago
Namespace: github.com/segmentio
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 20 days ago

    Loading...
    Readme
    Loading...