A simple ruby library to interface with BTCTurk API.
Also includes an executable for easy commandline access.
Add this line to your application's Gemfile:
gem 'btcturk'
And then execute:
$ bundle
Or install it yourself as:
$ gem install btcturk
require 'btcturk'
BTCTurk::ticker
=> {"high"=>1290.0,
"last"=>1275.0,
"timestamp"=>1395551544.0,
"bid"=>1275.0,
"volume"=>20.81,
"low"=>1253.03,
"ask"=>1279.98}
BTCTurk::orderbook
BTCTurk::trades
BTCTurk::trades_since('532ded923ab47520bc5841d9')
BTCTurk::balance
BTCTurk::orders
BTCTurk::transactions
- Fork it ( http://github.com/krmbzds/btcturk/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request