Skip to content

SynapseFI/SynapseGo

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

SynapseFI Go Library

status

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.

Documentation

Main Docs API Reference

Installation

$ go get github.com/SynapseFI/SynapseGo

main.go

import github.com/SynapseFI/SynapseGo

Examples

Refer to examples and our API documentation for examples.

Testing

To run test-mock or test-api:

  1. Add your credentials to "client_credentials.sample.json" and rename it "client_credentials.json"

To run test-api:

  1. 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