Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/roberto/jsonrates_client
Client for jsonrates.com written in Ruby.
https://github.com/roberto/jsonrates_client
Last synced: 7 days ago
JSON representation
Client for jsonrates.com written in Ruby.
- Host: GitHub
- URL: https://github.com/roberto/jsonrates_client
- Owner: roberto
- License: mit
- Created: 2014-09-25T03:31:15.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-26T01:34:39.000Z (about 10 years ago)
- Last Synced: 2024-08-09T05:46:58.429Z (3 months ago)
- Language: Ruby
- Size: 137 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# JsonratesClient
Client for [jsonrates.com](http://jsonrates.com/) written in Ruby.
## Usage
Jsonrates::Client.historical(from: "USD", to: "BRL", date: "2014-06-23")
# {"2014-06-23"=>{"utctime"=>"2014-06-23T23:50:03+02:00", "rate"=>"2.22120000"}}## Installation
Add this line to your application's Gemfile:
gem 'jsonrates_client'
And then execute:
$ bundle
Or install it yourself as:
$ gem install jsonrates_client
## Contributing
1. Fork it ( https://github.com/roberto/jsonrates_client/fork )
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 a new Pull Request