Skip to content

phpanhey/comdirect_financialreport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

comdirect financial report

this script generates an overview diagramm of your last 5 month income/expenses with the help of comdirect-rest api. you will be notified via telegram. very handy is a ssh shortcut on your phone in order to trigger the script on the fly. right now only pushtan is implemented. feel free to adapt the script to your needs.

comdirect financial report

usage

python3 comdirect_financialreport.py 

config

as a default the script depends on a config.json on its root directory in order to work properly. additionally a custom config can be specified as a param like so: python3 comdirect_financialreport.py custom_config.json. in order to use the comdirect api you need to register here.

here's an example of the config.

{
    "username": "comdirect_user_name",
    "password": "comdirect_user_pin",
    "client_id": "user_xxxxxxxxxxxxxxxxxxx",
    "client_secret": "comidrect_client_secret",
    "telegram": {
        "bot_token": "telegram_bot_token",
        "bot_chat_id": "telegram_chat_id"
    }
}

dependencies

pip3 install python-dateutil
pip3 install matplotlib
pip3 install argparse

furthermore curl is required on command line.

thanks

thanks keisentraut for oauth implementation.

About

generates an overview diagramm of your last 5 month income/expenses with the help of comdirect-rest api.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages