Scrapes the DKB online banking and sends a PUSH message on every new transaction
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
cacert.pem
config.php-example
dkb-crawl.php
simple_html_dom.php

README.md

DKB-push

Scrapes the DKB online banking and sends a PUSH message for every new transaction

This PHP script scrapes the online banking website of the DKB (Deutsche Kreditbank Berlin). After login, the transactions of all accounts are downloaded as CSV files and compared with previously downloaded CSVs. If threre's a new entry, a PUSH message is sent via Boxcar App to any iOS device.

Simple HTML DOM is used for HTML scraping.

To receive the PUSH messages, you need to download the Boxcar 2 app on the iOS Appstore (free). This script sends a maximum of 5 push messages per account and pauses every 3 messages. No push messages are send on the first run. All downloaded CSVs are stored in the data directory for later comparison.

Configuration

Rename config.php-example to config.php and enter the login credentials for the DKB online banking. You also have to enter the boxcar access token. The token is displayed in the Boxcar 2 iOS app under settings.

Usage

This script is best run from cron in your local network, ie on a homeserver or Raspberry Pi.

Example cron entry

This runs the script every two hours during bank business hours:

0 8,10,12,14,16,18 * * 1-6 /path/to/dkb-crawl.php