Rbtce
Learn about the BTC-e API at https://btc-e.com/api/3/documentation.
Installation
gem install rbtce
Usage
Note that for the time being only the public API is avaliable in v3.
Info Endpoint
require 'btce'
Rbtce::Info.fetchTicker Endpoint
require 'btce'
Rbtce::Ticker.from( Rbtce::Currency::LTC ).to( Rbtce::Currency::BTC ).
and.from( Rbtce::Currency::LTC ).to( Rbtce::Currency::USD ).
fetchTrades Endpoint
require 'btce'
Rbtce::Trades.from( Rbtce::Currency::LTC ).to( Rbtce::Currency::BTC ).
fetch( limit: 2000 )Depth Endpoint
require 'btce'
Rbtce::Depth.from( Rbtce::Currency::LTC ).to( Rbtce::Currency::BTC ).fetchContributing
- Fork it
- 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
Donate
BTC: 1J6urRH6xbMYUdk6shTshrjtRu3PbhupRk LTC: LX7nFCTEsygsEXpx4k2TAupiJMgrZqsrUr XDG: DUPGsYEMBsWrYzPxbjyu4mQ7ujhAZj58mu