Rubitcoin
Super simple Bitcoin ticker.
Installation
Add this line to your application's Gemfile:
gem 'rubitcoin'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rubitcoin
How to
require 'rubitcoin'
Rubitcoin.fetch
#=> {:high=>223.15, :last=>208.39, :timestamp=>1421461371.0, :bid=>207.95, :vwap=>210.62, :volume=>32705.34241534, :low=>198.04, :ask=>208.21}
Rubitcoin.high
#=> 223.15
Contributing
- Fork it ( https://github.com/[my-github-username]/Rubitcoin/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 a new Pull Request