Account balance and transactions - nicolaierbs/finance-hacks GitHub Wiki

How to send notifications for bank account balance and transactions

Installation

  • Check out the project (e.g. check it out as maven project with Eclipse)
  • Edit properties accountnotification.properties
    • You need to create a figo account and add your bank account
    • You will also need a developer account to access figo
    • Add all other properties as shown below
  • Edit mail properties
  • Verify your properties by running BalanceInformationRobot
  • Package runnable jar and create a cron job starting the jar

Properties

There are two properties files

accountnotification.properties

CLIENT_ID= get id by requesting figo developer id CLIENT_SECRET= get id by requesting figo developer id FIGO_USER= figo user name FIGO_PASSWORD= password for figo user ACCOUNT_GIRO= the account for which you want to generate the overview NOTIFICATION_FREQUENCY_DAYS=7 the notification frequency (this does not affect how often the system runs, but it provides the overview for the same number of days) MAIL_RECIPIENT= recipient of the notification

mailserver.properties

MAIL_HOST= the host of your mail server MAIL_USER= the user for sending notifications MAIL_PASSWORD= the password for sending notifications

Results

An email is sent to the recipient with the following information:

Hi,

your current balance is 3250 euro.

-19.90 Lastschrift January 25, 2016 A2432122990100992929929

The total expenses in this week were 20 euro.

Best wishes,

your stupid finance advisor