Skip to main content

AqBanking API for Python

[![Build Status](https://travis-ci.org/monofox/python-aqbanking.svg?branch=master)](https://travis-ci.org/monofox/python-aqbanking) [![CodeFactor](https://www.codefactor.io/repository/github/monofox/python-aqbanking/badge)](https://www.codefactor.io/repository/github/monofox/python-aqbanking)

This is a python wrapper for AqBanking - so of course you need the AqBanking and Gwenhywfar dependencies installed for a successful compilation. The only supported things at the moment: get balance of an account, get the transactions of an account (with limitation to start and end date), list configured accounts in AqBanking, check an IBAN.

License

This library is published under the GPLv3 License. See “LICENSE” for details.

Dependencies

The proper development packages are required for:
  • AqBanking >= 5.8.1 (tested until 5.8.2)

  • Python >= 3.1

  • gwenhywfar >= 4.0.0

For the installation, it is necessary to have the proper development packages installed (e.g. apt-get install libaqbanking-dev libgwenhywfar60-dev)

Depending on your bank, you may need to update your bank account information (BPD) through aqhbci4 tool (refer to mailing list). Furthermore there might be a later release to support the TAN recording during balance / login.

Install

To install this library, just execute (append –user if it should not be installed systemwide): python setup.py install

Alternative, you can install the library via PyPi: pip install python-aqbanking

Please remember, that this library only works with Python 3.

Usage

To import it, just do the following: import aqbanking

And then you can verify the IBAN number e.g. with: aqbanking.chkibn(‘DE19….’)

And to list all configured accounts (you can not configure it through this library at the moment), you execute this command: aqbanking.listacc()

Furthermore in order to communicate with your bank, you’ll need to register your application at [FinTS](https://www.hbci-zka.de/register/prod_register.htm). You’ll receive a code which must be given to the module like: aqbanking.setRegistrationKey(‘some characters’)

For all other functions, you need first to create an account: acc = aqbanking.Account(no=157458624, bank_code=45021512)

New is a function in order to get the information, which jobs or features are available: acc.availableJobs() Implemented is: nationalTransfer and sepaTransfer.

Furthermore if you’re doing some transfer you’re partially asked to enter three times the password. Now you can build your PIN cache with help of the set_callbackPasswordStatus function. This calls the python callback with parameters token, pin and status whereas the status field can be 9 = reset, 1 = Bad password, 2 = Remove password and 0 = all went fine.

You can find some examples inside of the examples/ folder.

Known Bugs/Missing features

Smartcard/Chipcard support meanwhile integrated. But no “text” that user has to enter something on the readers panel is provided.

The server certificate of the HTTPS connection is not validated at the moment, so do not use it for sensitive data, as man in the middle attack is possible without notice.

Contributing

If you’d like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome. We cannot cover everything from beginning. Your experience and expertise is necessary to make a awesome product out of it!

Release files for python-aqbanking 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-aqbanking 0.0.8
File Size Uploaded
python-aqbanking-0.0.8.tar.gz 28.0 kB Details

Release files / python-aqbanking-0.0.8.tar.gz

Download URL python-aqbanking-0.0.8.tar.gz
Size 28.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9790988bfaaf322c45ae992ecb80932822486fa0c284fd7caae22fb62a982db5
BLAKE2b-256 checksum
How to use checksums
c05178a711db53438157df82dc1de8a4d806269bbafbd9efac2895dc1506a0f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

Release history Release notifications | RSS feed

This release

0.0.8 This release

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page