Socket
Book a DemoInstallSign in
Socket

syrup

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

syrup

0.0.14
bundlerRubygems
Version published
Maintainers
1
Created
Source

= Syrup

Syrup helps you to extract bank account information and transactions.

== Usage

Setup an instance of the bank

zions_bank = Syrup.setup_institution('zions_bank') do |config| config.username = 'user' config.password = 'pass' config.secret_questions = {'What is your secret question?' => "I don't know"} end

List accounts

zions_bank.accounts.each do |account| puts "#{account.name} (#{account.current_balance})" # => "Checking (100.0)" end

Get transactions

account = zions_bank.find_account_by_id 123456 transactions = account.find_transactions(Date.today - 30) # => an array of Transactions from the last 30 days transactions = account.find_transactions(Date.parse('2011-01-01'), Date.parse('2011-02-01') - 1) # => an array of Transactions from the month of January

== Installation

The latest version of Syrup can be installed with Rubygems:

[sudo] gem install "syrup"

In Rails 3, add this to your Gemfile and run the +bundle+ command.

gem "syrup"

In Rails 2, add this to your environment.rb file.

config.gem "syrup"

== Supported Institutions

Currently, only Zions Bank, UCCU, and Bank of American Fork are supported. I will be implementing UCCU, USAA, and Wells Fargo (probably in that order). If you would like support for a different bank, you have two options:

  • Get me the credentials to log into an account with that bank (you'd have to trust me).
  • Implement it yourself and submit a pull request. See {Adding Support For Another Institution}[https://github.com/dontangg/syrup/wiki/Adding-Support-For-Another-Institution]

FAQs

Package last updated on 07 Jun 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.