replenigo
![PyPI - License](https://img.shields.io/pypi/l/replenigo)
Script that utilizes Sbanken's Open Banking API to refill accounts to specified balances
Usage
I recommend you to check out Sbanken's developer portal and read the documentation for the Sbanken API before using this app
-
Retrieve credentials required to use the API at https://sbanken.no/bruke/utviklerportalen/
-
Install replenigo
pip install replenigo
- Use
replenigo.template.yaml
to create your own replenigo.yaml
config file with required credentials, source account and refill parameters. Some defaults are provide (see replenigo.defaults.yml
), if not specified in replenigo.yaml
. - See below for use of the
replenigo
CLI
replenigo
Script that utilizes Sbanken's Open Banking API to refill accounts to specified balances
Usage:
$ replenigo [OPTIONS] COMMAND [ARGS]...
Options:
--install-completion
: Install completion for the current shell.--show-completion
: Show completion for the current shell, to copy it or customize the installation.--help
: Show this message and exit.
Commands:
refill
: Refill accounts to specified balances
replenigo refill
Refill accounts to specified balances
Usage:
$ replenigo refill [OPTIONS]
Options:
-c, --config-file FILENAME
: Configurations file [default: replenigo.yaml]-r, --reverse-if-above-goal / -R, --no-reverse-if-above-goal
: If refill goal has been exceeded, decide if the surplus should be transferred back to the source account-m, --transfer-message TEXT
: Message to be displayed in the bank transfer (max 30 chars)-p, --write-checkpoints / -P, --no-checkpoints
: Enable or disable "checkpointing", which creates an empty checkpoint file on each successful refill-d, --checkpoints-dir DIRECTORY
: Directory to store checkpoint files--help
: Show this message and exit.