Sha256: 907088b356a59ae08e5e85b1d48a14b48f0693ec1b4f70c193da2ea7e682205d
Contents?: true
Size: 1022 Bytes
Versions: 1
Compression:
Stored size: 1022 Bytes
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 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.0 | lib/bitflyer_api/methods/public.rb |