The Trinsic API Go library provides convenient access to the Trinsic API from applications written in Go.
See the Trinsic docs for more detailed information on how to start integrating with our identity acceptance network.
Install the package with:
go get github.com/trinsic-id/sdk-go-api
The package needs to be configured with your app's access token, which is available in the Trinsic Dashboard.
import "github.com/trinsic-id/sdk-go-api"
func main() {
config := trinsic_api.NewConfiguration()
config.AddDefaultHeader("Authorization", "Bearer "+"your-access-token")
api := trinsic_api.NewAPIClient(config)
attachments := api.AttachmentsAPI;
network := api.NetworkAPI;
sessions := api.SessionsAPI;
}
You can find a full Go example in the samples folder.
Our SDKs follow the Semantic Versioning ("SemVer") scheme.
For example, the version number 1.13.0
has a major version of 1
, a minor version of 13
, and a patch version of 0
.
Breaking changes are only introduced alongside a new major version.
Any issues, inquiries, and feature requests can be sent to [email protected], or feel free to open a GitHub issue here.