Go-based API wrapper for Synapse REST API. This library handles the user authentication process. As long as the user's fingerprint is registered, further authentication is not necessary in the development flow.
$ go get github.com/SynapseFI/SynapseGo
main.go
import github.com/SynapseFI/SynapseGo
Refer to examples and our API documentation for examples.
- Add your credentials to "client_credentials.sample.json" and rename it "client_credentials.json"
- Open the file "request_test.go" and change the value of "var userID string" to a user that was generated on your platform
Functions that mock the Synapse API:
make test-mock
Other functions including (limited) API requests:
make test-api