This gem provides a ruby wrapper to the bittrex.com api: Link.
It was inspired by the Poloniex gem Link.
Add this line to your application's Gemfile:
gem 'bittrex_api'
And then execute:
$ bundle
Or install it yourself as:
$ gem install bittrex_api
All methods provided by BittrexApi
are class methods, and are of the same name as the api ( except that "get"s have been removed ).
For example, https://bittrex.com/api/v1.1/public/getmarkets
is written as BittrexApi.markets
The BittrexApi module accepts a setup block for configuration:
BittrexApi.setup do | config |
config.key = 'my api key'
config.secret = 'my secret token'
end
GET requests ( to public ) do not need authentication, and therefor do not need Bittrex to be configured.
GET requests ( to market and account ) will need authentication, and you will have to have your own key and secret token.
- 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
Any donation will be very welcome
BTC address: 17e9toPoPHwfDEXbCxxgVAS7GyzsR1smHZ