/go-fyb

fybse.se and fybsg.com api implementation in golang

Primary LanguageGoMIT LicenseMIT

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