• This repository has been archived on 10/Jan/2019
  • Stars
    star
    126
  • Rank 284,543 (Top 6 %)
  • Language
    Ruby
  • License
    MIT License
  • Created over 12 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Regularly export your Mint.com transactions

⚠️ This project is no longer maintained since Mint.com strengthened their authentication in 2016 (details) ⚠️

mint-exporter

Regularly export your Mint.com transactions.

Travis CI badge

Installation

As a πŸ’Ύ standalone utility πŸ’Ύ

  1. Clone this repository:
git clone git://github.com/toddmazierski/mint-exporter.git
cd mint-exporter
  1. Rename .env.example to .env and fill in your Mint credentials
cp .env.example .env
  1. Install dependencies with Bundler:
bundle
  1. Run the exporter script:
bundle exec ruby mint-exporter.rb > transactions.csv

As a πŸ’Ž gem πŸ’Ž

  1. Add to your Gemfile:
gem 'mint', git: 'git://github.com/toddmazierski/mint-exporter.git'
  1. Add an initializer:
# config/initializers/mint.rb

Mint.configure do |config|
  config.username = ENV.fetch('MINT_USERNAME')
  config.password = ENV.fetch('MINT_PASSWORD')
end
  1. To output transactions:
client = Mint::Client.new
puts client.transactions.fetch

⚠️ Warning ⚠️

Unfortunately, because Mint.com does not yet have an open API, mint-exporter relies on private APIs to get the data. Because of this, this library has (example) and will continue to occasionally break! Not recommended for production use.