Skip to content

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

Notifications You must be signed in to change notification settings

lowb1rd/DKB-push

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages