β οΈ This project is no longer maintained since Mint.com strengthened their authentication in 2016 (details) β οΈ
mint-exporter
Regularly export your Mint.com transactions.
Installation
As a πΎ standalone utility πΎ
- Clone this repository:
git clone git://github.com/toddmazierski/mint-exporter.git
cd mint-exporter
- Rename
.env.example
to.env
and fill in your Mint credentials
cp .env.example .env
- Install dependencies with Bundler:
bundle
- Run the exporter script:
bundle exec ruby mint-exporter.rb > transactions.csv
As a π gem π
- Add to your
Gemfile
:
gem 'mint', git: 'git://github.com/toddmazierski/mint-exporter.git'
- Add an initializer:
# config/initializers/mint.rb
Mint.configure do |config|
config.username = ENV.fetch('MINT_USERNAME')
config.password = ENV.fetch('MINT_PASSWORD')
end
- 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.