Skip to main content

Easily communicate with Sbanken API in python

Project description

sbanken-api

A Python package for communicating with the Sbanken API. Updated to work with latest version of Sbanken's API.

Forked from https://github.com/Lilleengen/sbanken-python

A lot of the code in this packages comes from or is based on code from Sbanken's official example code at https://github.com/Sbanken/api-examples/tree/master/PythonSampleApplication

Usage

from sbanken import SbankenAPI

client = SbankenAPI("customer_id", "client_id", "secret")

print(client.get_accounts())
print(client.get_customer_information())
print(client.get_account("account_id"))
print(client.get_transactions("account_id"))
print(client.get_cards())
print(client.get_efakturas())
print(client.get_payments("account_id"))

client.transfer(
    "fromAccountId",
    "toAccountId",
    1.0,              # amount
    "Message",
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sbanken-api-0.2.tar.gz (2.7 kB view hashes)

Uploaded source

Built Distribution

sbanken_api-0.2-py3-none-any.whl (3.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page