Skip to content
Regularly export your Mint.com transactions
Ruby
Find file
Latest commit 3ea4818 Dec 7, 2015 @toddmazierski Merge pull request #15 from toddmazierski/14-type-error
Fix bug where error wasn't coerced to string

README.md

mint-exporter

Regularly export your Mint.com transactions.

Travis CI badge

Installation

As a :floppy_disk: standalone utility :floppy_disk:

  1. Clone this repository:

    git clone git://github.com/toddmazierski/mint-exporter.git
    cd mint-exporter
  2. Rename .env.example to .env and fill in your Mint credentials

    cp .env.example .env
  3. Install dependencies with Bundler:

    bundle
  4. Run the exporter script:

    bundle exec ruby mint-exporter.rb > transactions.csv

As a :gem: gem :gem:

  1. Add to your Gemfile:

    gem 'mint', git: 'git://github.com/toddmazierski/mint-exporter.git'
  2. Add an initializer:

    # config/initializers/mint.rb
    
    Mint.configure do |config|
      config.username = ENV.fetch('MINT_USERNAME')
      config.password = ENV.fetch('MINT_PASSWORD')
    end
  3. To output transactions:

    client = Mint::Client.new
    puts client.transactions.fetch

:warning: Warning :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.

Something went wrong with that request. Please try again.