Project

banker

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
A collection of strategies to access online bank accounts to obtain balance and transaction details.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Banker

Gem Version CI Build Status Dependency Status Code Climate

A collection of strategies to access online bank accounts to obtain balance and transaction details.

Supported Institutes

  • Barclay's Bank => Barclays
  • Barclaycard UK => BarclaycardUK
  • Capital One UK => CapitalOneUK
  • Lloyds TSB UK => LloydsTSBUK

####Extras

  • Credit Expert UK => CreidtExpertUK

Installation

Add this line to your application's Gemfile:

gem 'banker'

And then execute:

$ bundle

Or install it yourself as:

$ gem install banker

Example Usage

user_params = {
	surname: "Bloggs",
	username: "Bloggs123",
	password: "password",
	memorable_word: "superduper",
	card_number: 4111111111111111,
	date_of_birth: Date.parse('2012-01-01')
}

Get the balance in pennies of the account.

# Barclays Bank
Banker::Barclays.new(user_params).accounts.first
# => <Banker::Account @name="Barclays Bank", @uid="cdd5f8e1c6e441fd9aac2786ca38c835", @amount=130000, @limit=-150000, @currency="GBP">

Extra strategies

# Credit Expert UK
Banker::CreditExpertUK.new(user_params).score #=> 800

Dependancies

  • Mechanize
  • OFX

Alternate Languages

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

This library is distributed under the MIT license. Please see the LICENSE file.