Aggcat

Build Status Coverage Status Gem Version

Intuit Customer Account Data API client

Installation

Aggcat is available through Rubygems and can be installed via:

$ gem install aggcat

or add it to your Gemfile like this:

gem 'aggcat'

Start Guide

Register for Intuit Customer Account Data.

Get your OAuth data.

Usage

require 'aggcat'

# Aggcat global configuration
Aggcat.configure do |config|
  config.issuer_id = 'your issuer id'
  config.consumer_key = 'your consumer key'
  config.consumer_secret = 'your consumer secret'
  config.certificate_path = '/path/to/your/certificate/key'
end

# alternatively, specify configuration options when instantiating an Aggcat::Client
client = Aggcat::Client.new(
  issuer_id: 'your issuer id',
  consumer_key: 'your consumer key',
  consumer_secret: 'your consumer secret',
  certificate_path: '/path/to/your/certificate/key',
  customer_id: 'scope for all requests'
)

# scope Aggcat client and all subsequent requests by customer id
Aggcat.scope(customer_id)

# get all supported financial institutions
Aggcat.institutions

# get details for Bank of America
Aggcat.institution(14007)

# add new financial account to aggregate from Bank of America
Aggcat.discover_and_add_accounts(14007, username, password)

# get already aggregated financial account
Aggcat.()

# you can set scope inline for any request
Aggcat.scope(customer1).()

# get all aggregated accounts
Aggcat.accounts

# update login credentials
Aggcat.(institution_id, , new_username, new_password)

# delete account
Aggcat.()

# get account transactions
Aggcat.(, start_date, end_date)

# delete customer for the current scope
Aggcat.delete_customer

Documentation

Please make sure to read Intuit's Account Data API docs.

Requirements

  • Ruby 1.9.2 or higher

Copyright (c) 2013 Gene Drabkin. See LICENSE for details.