ARCHIVED
As a result of the DNB merger, the Sbanken API Beta service was closed 2024-03-22, dragging
replenigo
along with it 🪦
Script that utilizes Sbanken's Open Banking API to refill accounts to specified balances
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 ownreplenigo.yaml
config file with required credentials, source account and refill parameters. Some defaults are provide (seereplenigo.defaults.yml
), if not specified inreplenigo.yaml
. - See below for use of the
replenigo
CLI
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
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.