Skip to content

bendiksolheim/sbanken-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sbanken-cli

Note: this is not in any way affiliated with SBanken.

What is this

A CLI for SBanken (using their public api: documentation), so your can do your banking straight from the terminal. It requires that you are a customer in SBanken.

Installation

Requires Node.js v7.6.0 or higher. This package really wants to be installed globally.

npm install -g sbanken-cli

Usage

  Usage
    $ sb <command>

  where <command> is one of:
    account             Display info about specific account
    accounts            Display balance for all accounts
    balance             Display balance for all accounts
    help                Display help text
    transactions        Display transactions for an account
    transfer            Transfer between accounts

  sb help <command>     Show information about a specific command

It expects to find the file .sbconfig in your home folder with the following content:

{
    "clientId": "...",
    "password": "...",
    "customerId": "..."
}

See SBanken API documentation for instructions on how to get these.

Security & Privacy

As this tool wants to access your bank account, security and privacy is a big concern. Think twice, and maybe even read the code, before using it. That said, I do use it myself, if that means anything. To be certain nothing will happen, there are two really important principles this code will follow:

  • It will not in any way phone home, or to a third party. Not for anonymized usage statistics, not for anything else. Your data will never leave your computer, other than towards the SBanken API.
  • It will, as far as possible, not use any third party libraries or npm packages. See package.json under dependencies for an updated list.

About

CLI for interacting with your SBanken accounts. Not affiliated with SBanken.

Resources

Stars

Watchers

Forks

Packages

No packages published