/gobitflyer

[WIP] bitFlyer Lightning API library for Go

Primary LanguageGoMIT LicenseMIT

gobitflyer

Test Status codecov Go Report Card MIT License

🚧 This library is under construction.

gobitflyer is bitFlyer Lightning API library for Go.

Installation

go get github.com/matsudan/gobitflyer

Usage

import "github.com/matsudan/gobitflyer/bitflyer"

Construct a new bitFlyer client, then access the bitFlyer APIs. For example:

client := bitflyer.NewClient(nil)

ticker, err := client.GetTicker(contexnt.Background(), "BTC_JPY")

Authentication

Set the BITFLYER_API_KEY and BITFLYER_API_SECRET environment variables. To set these variables on Linux, macOS, or Unix, use export :

export BITFLYER_API_KEY=your_api_key
export BITFLYER_API_SECRET=your_api_secret

For more detailed information, see here

License

This library is distributed under the MIT License.

Author

@matsudan