An open API service indexing awesome lists of open source software.

https://github.com/charliemaiors/satispay-client

Implementation of Golang Client in order to interact with Satispay using online api
https://github.com/charliemaiors/satispay-client

client golang satispay

Last synced: 5 months ago
JSON representation

Implementation of Golang Client in order to interact with Satispay using online api

Awesome Lists containing this project

README

          

# Satispay golang client
[![Build Status](https://travis-ci.org/charliemaiors/satispay-client.svg?branch=master)](https://travis-ci.org/charliemaiors/satispay-client) [![GoDoc](https://godoc.org/charliemaiors/satispay-client?status.svg)](http://godoc.org/github.com/charliemaiors/satispay-client) [![Go Report Card](https://goreportcard.com/badge/github.com/charliemaiors/satispay-client)](https://goreportcard.com/report/github.com/charliemaiors/satispay-client)

This is the implementation of a client library (written in golang) in order to interact with [Satispay online API](https://s3-eu-west-1.amazonaws.com/docs.online.satispay.com/index.html).

## Usage

In order to include this client in your project run:

```bash
go get github.com/charliemaiors/satispay-client
```

And use it in your code:

```golang
import client "github.com/charliemaiors/satispay-client"

func main(){
client, err := client.NewClient("your-satispay-token", false)
valid := client.CheckBearer()
user, err := client.CreateUser("user-phone-number")
...
}
```