Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikong/bitreserve
Bitreserve Ruby SDK
https://github.com/mikong/bitreserve
Last synced: 3 days ago
JSON representation
Bitreserve Ruby SDK
- Host: GitHub
- URL: https://github.com/mikong/bitreserve
- Owner: mikong
- License: mit
- Created: 2014-12-29T03:25:25.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-19T10:02:58.000Z (almost 10 years ago)
- Last Synced: 2024-11-11T19:46:33.424Z (2 months ago)
- Language: Ruby
- Size: 164 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bitreserve
Bitreserve Ruby SDK
## Authentication
Bitreserve is an OAuth 2.0 compliant service... but they are still working on providing the Web Application Flow and Non-Web Application Flow. Meanwhile, they recommend using Basic Authentication or creating a Personal Access Token (PAT).
## Installation
Add this line to your application's Gemfile:
gem 'bitreserve'
And then execute:
$ bundle
Or install it yourself as:
$ gem install bitreserve
## Usage
require 'bitreserve'
api = Bitreserve::Client.new# Currencies
Bitreserve.currencies# All Tickers
api.ticker# Tickers for currency
api.ticker(currency: :usd)# Transparency
api.reserve_status## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request