Skip to content

jackpopper/bitflyer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bitflyer

bitFlyer Lightningのapiクライアント

Example

package main

import (
    bitflyer "../src/bitflyer"
    "context"
    "fmt"
    "log"
    "time"
)

func main() {
    c := bitflyer.NewClient("", "")
    ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
    defer cancel()

    b, err := c.GetBoard(ctx, "BTC_JPY")
    if err != nil {
        log.Fatalln(err)
    }
    mp := b.MidPrice
    fmt.Printf("%#v : %#v\n", productCode, mp)
}

About

bitFlyer Lightningのapiクライアント

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages