djc / abna

Python library to automatically retrieve mutations from ABN Amro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ABN Amro mutations retrieval

This Python library enables retrieval of mutations from the Dutch ABN Amro banking site using the "soft token" (5-digit pass code).

Should work with Python 2.7 or 3.x; requires requests and cryptography.

This library was created by and is maintained by Dirkjan Ochtman. If you are in a position to support ongoing maintenance and further development or use it in a for-profit context, please consider supporting my open source work on Patreon.

Example

Here is a minimal example demonstrating how to use the library:

import abna, json

sess = abna.Session('NL01ABNA0123456789')
sess.login(123, '12345')
print(json.dumps(sess.mutations('NL01ABNA0123456789'), indent=2))

Change log

0.3 (2020-02-04)

  • Add User-Agent to fake browser behavior

0.2 (2018-07-15)

  • Allow retrieval of mutations from different accounts (#1, thanks to @ivasic). Note that this changes the signature of the Session.mutations() method to take the account IBAN as a mandatory first argument.

Alternatives

abnamro-tx is a docker-based solution to run a headless Chrome instance that can download mutation files for you.

About

Python library to automatically retrieve mutations from ABN Amro

License:MIT License


Languages

Language:Python 100.0%