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.
To install go-onfido, use go get
:
go get github.com/easy-dev/go-onfido
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