A Ruby library to query the fundsexplorer.
Add this line to your application's Gemfile:
gem 'fundsrb'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install fundsrb
require 'fundsrb'
client = Fundsrb::Client.new
client.quotes('ALZR11')
{
:liquidity=>"7.828",
:dividend=>"R$ 0,59",
:yield=>"0,53%",
:patrimony=>"R$ 94,66",
:pvp=>"1,17",
:name=>"ALIANZA TRUST RENDA IMOBILIARIA FDO INV IMOB",
:cnpj=>"28.737.771/0001-85",
:segment=>"Logistica"
}
Thanks to the fundsexplorer team for build this awesome app.
Bug reports and pull requests are welcome on GitHub at https://github.com/hamorim/fundsrb. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Fundsrb project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.