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