repositorypackage
1.1.0
Repository: https://github.com/getground/go-onfido.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
go-onfido
Client for the Onfido API
This library was built for Utility Warehouse internal projects, so priority was given to supporting the features we needed. If the library is missing a feature from the API, raise an issue or ideally open a PR.
Important
This library is used by Module Core. Do go get -u github.com/getground/go-onfido
there if you wish to update the module version used.
Installation
To install go-onfido, use go get
:
go get github.com/getground/go-onfio
Usage
First you're going to need to instantiate a client (grab your sandbox API key)
client := onfido.NewClient("test_123")
Or you can instantiate usign the env variable ONFIDO_TOKEN
client, err := onfido.NewClientFromEnv()
Now checkout some of the examples