Download data from aib.ie in OFX format
Project description
aib2ofx
...or how to grab transaction data out of AIB's online interface, and format it
into OFX
file.
Installation
python3 -mvenv aib2ofx
pip install aib2ofx
This will create a virtualenv for aib2ofx
, fetch its code then install it with
all dependencies. Once that completes, you'll find aib2ofx
executable in the
bin
directory of this new virtualenv.
Usage
Create a ~/.aib2ofx.json
file, with AIB login details.
Set the permission bits to 0600 to prevent other system users from reading it.
touch ~/.aib2ofx.json
chmod 0600 ~/.aib2ofx.json
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
.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aib2ofx-0.70.0a1.tar.gz
.
File metadata
- Download URL: aib2ofx-0.70.0a1.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.7.3 Linux/4.19.104-microsoft-standard
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | babd08678ff5e92c1c779673b2f447ef2ec7a7089d686e73e2fbb7ad3d1fd3f7 |
|
MD5 | aebb60a7a69771da5e9dd5a9b5450c03 |
|
BLAKE2b-256 | 4b2014815ded7e93a0e2dcf996d34fabcca837dbac9943261d24ba6a7f36df24 |
File details
Details for the file aib2ofx-0.70.0a1-py3-none-any.whl
.
File metadata
- Download URL: aib2ofx-0.70.0a1-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.7.3 Linux/4.19.104-microsoft-standard
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bba15664d1a94643de1057a66bc1f867666869a3c14c9d49361c90682c8e586 |
|
MD5 | 0a79f0f098861346885929116d44dace |
|
BLAKE2b-256 | 2a590a6603a7bdde5282bb6034d860e97428d77c3fe410c237d1d90bbafa16be |