Update: You may also be intersted in codealchemist/hubot-dolar-blue and matiu/dolar-blue
Query Argentine Peso vs US$ exchange values with particular interest in official vs. street (blue) reference prices.
dolarblue is a command-line tool to query AR$ vs US$ exchange values.
The term blue denotes an important difference between the real value of Argentine local currency (the argentine peso) versus the official value currently unreacheable to the general public.
$ gem install dolarblue
or add to your Gemfile this line: gem 'dolarblue'
then run bundle install
Query latest values
$ dolarblue
Sample result:
Obtaining latest AR$ vs US$ exchange values...Parsing values...
Done: 2015-12-18 19:50:28 -0300
- Dollar Official....: 13.30 / 13.60
- Dollar Bolsa.......: n/a / 13.71
- Dollar Blue........: 14.05 / 14.20
- Gap bolsa......blue: 4%
- Gap official...blue: 4%
Information source:
http://www.ambito.com/economia/mercados/monedas/dolar/
- Fork it.
- Make your feature addition or bug fix and create your feature branch.
- Update the Change Log.
- Add specs/tests for it. This is important so I don't break it in a future version unintentionally.
- Commit, create a new Pull Request.
- Check that your pull request passes the build.
Released under the MIT License. See the LICENSE file for further details.
RubyGems | Documentation | Source | Bugtracker | Build Status | Dependency Status | Code Climate