Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kilimchoi/shapeshift_ruby
A ruby wrapper for the shapshift.io API
https://github.com/kilimchoi/shapeshift_ruby
Last synced: 16 days ago
JSON representation
A ruby wrapper for the shapshift.io API
- Host: GitHub
- URL: https://github.com/kilimchoi/shapeshift_ruby
- Owner: kilimchoi
- License: mit
- Created: 2017-11-22T01:04:36.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-04T13:41:32.000Z (over 7 years ago)
- Last Synced: 2024-11-06T20:41:16.251Z (2 months ago)
- Language: Ruby
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# ShapeShift API Wrapper
A ruby wrapper for the [shapshift.io API](https://shapeshift.io)
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'shapeshift_ruby'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install shapeshift_ruby
## Usage
```ruby
require 'shapeshift_ruby'
client = ShapeShiftRuby::Client.new
client.rate(pair: 'btc_ltc')
=> {"pair"=>"btc_ltc", "rate"=>"59.50746268"}
```## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/iamkidjoe/shapeshift-ruby.
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).