Sha256: c24cd9cde9a5956358020a41998d7e1483285818413b00432cbadf5539637ee4
Contents?: true
Size: 1.17 KB
Versions: 1
Compression:
Stored size: 1.17 KB
Contents
module BitflyerApi module Methods module Public def market res = conn.get("/v1/markets") res.body end def board(product_code:) query = prepare_query(product_code: product_code) res = conn.get("/v1/board", query) res.body end def ticker(product_code:) query = prepare_query(product_code: product_code) res = conn.get("/v1/ticker", query) res.body end def executions(product_code:, count: 100, before: nil, after: nil) query = prepare_query( product_code: product_code, count: count, before: before, after: after, ) res = conn.get("/v1/executions", query) res.body end def board_state(product_code:) query = prepare_query(product_code: product_code) res = conn.get("/v1/getboardstate", query) res.body end def health res = conn.get("/v1/gethealth") res.body end def chat(from_date: nil) query = prepare_query(from_date: from_date) res = conn.get("/v1/getchats", query) res.body end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bitflyer_api-0.1.1 | lib/bitflyer_api/methods/public.rb |