rakd / go-fyb

fybse.se and fybsg.com api implementation in golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-fyb

go-fyb is an implementation of the fybsg.com & fybse.se API in Golang.

Based off of https://github.com/toorop/go-bittrex/

Import

import "github.com/rakd/go-fyb"

Usage

package main

import (
	"fmt"
	"github.com/rakd/go-fyb"
)

const (
	API_KEY    = "YOUR_API_KEY"
	API_SECRET = "YOUR_API_SECRET"
)

func main() {
	// fyb client
	client := fyb.New(fyb.APIBaseURLForSGD, API_KEY, API_SECRET)

	// Get tickers
	tickers, err := client.GetTickers()
	fmt.Println(err, tickers)
}

Stay tuned

Donate

  • BTC: 1Ah8sarQ4w9FnsCs8LoG6JuYiFHmrAAy6F

About

fybse.se and fybsg.com api implementation in golang

License:MIT License


Languages

Language:Go 100.0%