Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
/ replenigo Public archive

🏦 Script that utilizes Sbanken's Open Banking API to refill accounts to specified balances

Notifications You must be signed in to change notification settings

mathiazom/replenigo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARCHIVED

As a result of the DNB merger, the Sbanken API Beta service was closed 2024-03-22, dragging replenigo along with it 🪦

replenigo

PyPI PyPI - Python Version PyPI - License

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

  1. Retrieve credentials required to use the API at https://sbanken.no/bruke/utviklerportalen/

  2. Install replenigo

pip install replenigo
  1. 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.
  2. 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.

About

🏦 Script that utilizes Sbanken's Open Banking API to refill accounts to specified balances

Topics

Resources

Stars

Watchers

Forks

Languages