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
- Host: GitHub
- URL: https://github.com/charliemaiors/satispay-client
- Owner: charliemaiors
- License: mit
- Created: 2017-12-25T11:44:09.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-11-12T09:37:22.000Z (over 5 years ago)
- Last Synced: 2024-06-20T12:36:20.908Z (about 2 years ago)
- Topics: client, golang, satispay
- Language: Go
- Homepage:
- Size: 1.25 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Satispay golang client
[](https://travis-ci.org/charliemaiors/satispay-client) [](http://godoc.org/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")
...
}
```