This is ruby client implementation for Bitbankcc API
Switch branches/tags
Clone or download
Latest commit 27ca446 Dec 5, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin initial commit Apr 25, 2017
lib update version number Dec 5, 2017
spec initial commit Apr 25, 2017
.gitignore modify .gitignore Apr 25, 2017
.rspec initial commit Apr 25, 2017
Gemfile initial commit Apr 25, 2017
README.md Add 'SMS TOKEN' to README Nov 17, 2017
Rakefile initial commit Apr 25, 2017
ruby_bitbankcc.gemspec initial commit Apr 25, 2017

README.md

RubyBitbankcc

This is ruby client implementation for Bitbankcc API.

Installation

Add this line to your application's Gemfile:

gem 'ruby_bitbankcc'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ruby_bitbankcc

Usage

#!/usr/bin/env ruby -Ilib
require 'ruby_bitbankcc'

bbcc = Bitbankcc.new("YOUR API KEY", "YOUR SECRET KEY")
bbcc.read_transactions('btc_jpy')
bbcc.read_ticker('btc_jpy')
bbcc.read_order_books('btc_jpy')
bbcc.read_balance()
bbcc.read_active_orders('btc_jpy')
bbcc.create_order('btc_jpy', "0.001", 130000, 'buy', 'limit')
bbcc.cancel_order('btc_jpy', order_id)
bbcc.read_trade_history('btc_jpy')
bbcc.read_withdrawal_account('btc')
bbcc.request_withdrawal('btc', 'ACCOUNT UUID', '0.001', 'OTP TOKEN', 'SMS TOKEN')
JSON.parse(response.body)