A simple rails app that gets Australian Dollars, Brazilian Reais and US Dollars quotations for the last working days from Europe Central Bank API and put them in a nice and simple chart based on Brazilian Real rates.
You can clone and run it as a rails app.
The class responsible for getting the quotes is Exchanger.
You can get all rates for the last working days calling as get_quotes
exchanger = Exchanger.new
exchanger.get_quotes # will return a hash of quotes for each currency
...or you can call get_quote for a specific currency:
exchanger.get_quote('USD')
- 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
- Submit a pull request :D
Check 'LICENSE' file for more details.