Mintkit
A Mint.com API. Not at all affiliated with or endorsed by mint.com/intuit. Your mileage may vary.
This Fork
- Updated to work with Mint.com as of 2013-11-10.
- Updated to properly handle transactions with commas in any field.
Installation
Add this line to your application's Gemfile:
gem 'mintkit'
And then execute:
$ bundle
Or install it yourself as:
$ gem install mintkit
Usage
Command line:
mintkit --help
Ruby API:
client = Mintkit::Client.new(username,password)
# tell mint to refresh all your accounts
client.refresh #(note: it doesn't block yet while refreshing)
# dump all accounts and transactions
puts client.accounts #print out the accounts
puts client.transactions #print out all your transactions
# or use iterators (works for accounts as well)
client.transactions do |t|
puts "#{t[:account]} #{t[:amount]} #{t[:description]} #{t[:date]}"
end
Contributing
- 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
) - Create new Pull Request