Giter Site home page Giter Site logo

aib2ofx's Introduction

aib2ofx

...or how to suck data out of AIB's online interface, and format it into OFX file. Also supports conversion of pre-downloaded AIB e-statements.

Installation

If your pip install is new enough, it's sufficient to run this:

pip install 'git+git://github.com/yacoob/aib2ofx.git@HEAD'

If your pip doesn't support installing from VCS sources, or you just want to do things the traditional way, execute following commands:

umask 022
python setup.py build
sudo python setup.py install

All missing dependencies should be installed as well. If that has completed successfully, you should find aib2ofx command in your Python's bin dir.

How to use

Create a ~/.aib-sucker file, with AIB login details. Set the permission bits to 0600 to prevent other system users from reading it.

touch ~/.aib-sucker
chmod 0600 ~/.aib-sucker

It has a JSON format, single object with one key per AIB login you want to use.

{
    "bradmajors": {
        "regNumber": "12345678",
        "pin": "12345"
    }
}

The fields are, as follows:

  • regNumber

    Your AIB registered number.

  • pin

    Your five digit PIN.

You can put more than one set of credentials in the file; the script will download data for all accounts for all logins.

{
    "bradmajors": {
        "regNumber": "12345678",
        "pin": "12345"
    },
    "janetweiss": {
        "regNumber": "87654321",
        "pin": "54321"
    }
}

Note that there's no comma after the last account details.

Once you've prepared that config file, run:

aib2ofx -d /output/directory

The script should connect to AIB, log in using provided credentials, iterate through all accounts, and save each of those to a separate file located in /output/directory.

To convert AIB PDF e-statements, download the statements from online banking and put them in a directory of your choice. Then run:

aib2ofx -d /output/directory -p /pdf/statement/directory

Guarantee

There is none.

I've written that script with my best intentions, it's not malicious, it's not sending the data anywhere, it's not doing anything nasty. I'm using it day to day to get data about my AIB accounts into a financial program that I use. It should work for you as good as it works for me. See the LICENSE file for more details.

aib2ofx's People

Contributors

automaciej avatar fiadliel avatar normanr avatar parabolala avatar thomasliasn avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.