ruby api client for the mtgox.com bitcoin exchange
<img src=“https://secure.travis-ci.org/paulasmuth/mtgox-ruby.png” />
In your Gemfile
gem "mtgox-ruby", :git => "git://github.com/paulasmuth/mtgox-ruby.git"
or
gem install git://github.com/paulasmuth/mtgox-ruby.git
Get recent trades:
@mtgox_client = MtgoxClient.new most_recent_trade = @mtgox_client.recent_trades.first most_recent_trade.buy? => true most_recent_trade.sell? => false most_recent_trade.amount => 42 most_recent_trade.price => 5,23 most_recent_trade.order_id => 123123123123