Skip to content

Bash scripts to do your banking with Sbanken (norwegian bank) through their official APIs.

License

Notifications You must be signed in to change notification settings

MortenCB/sbanken-bash

Repository files navigation

sbanken-bash

Bash scripts to do your banking with Sbanken (norwegian bank) through their official APIs.

  1. Go to sbanken and opt in for their beta bank in your settings
  2. Login to the api at https://secure.sbanken.no/Personal/ApiBeta/Info
  3. Get your API key and app password
  4. Make ~/sbanken_auth with the following variables:
  • clientId which is URL-encoded API-key
  • secret which is the (URL-encoded) password you create in the developer portal
  • userId which is your "personnummer"
  • You can URL-encode a string with the following command: printf %s 'STRING TO BE ENCODED' | jq -sRr @uri
  1. Make ~/sbanken.map with the list of your abbreviations translated to accountID (can be listed with accountlist.sh). Example of a line in the mapping-file: s:B6RYyDFJ57828KDUSEE0B3D39C1EDD5364

About

Bash scripts to do your banking with Sbanken (norwegian bank) through their official APIs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published