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/SynapseGomain.go
import github.com/SynapseFI/SynapseGoRefer 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-mockOther functions including (limited) API requests:
make test-api