This is a python client for the Erste Bank (Austrian Bank) that allows you to download account statements (Kontoauszüge) as a csv file. It uses George, therefore, the Verfüger needs to be freigeschaltet for George.
from erste import ErsteClient
iban = 'XXX' # IBAN of your Erste Bank account
username = 'XXX' # please fill in your Verfügernummer
password = 'XXX' # please fill in your George password
client = ErsteClient(username, password, iban=iban)
begin_date = date.today()-timedelta(days=5)
end_date = date.today()
csv_data = client.get_csv(begin_date, end_date)
The above example makes an additional API call to get the internal account id from the iban. For better performance, find the internal account id like this:
client = ErsteClient(username, password, iban=iban)
print client.account_id
And then use the account_id instead of IBAN. Initialization of ErsteClient changes to:
client = ErsteClient(username, password, account_id=account_id)
This is recommended for better performance.
pip install rsa requests