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.2.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for sbanken_api-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08c0ebbd7e8143cf58a952943d88efdbb00d96c56587c2385842e9f3ce14518a |
|
MD5 | 2995025a9dcbf90020b3c16834a68934 |
|
BLAKE2b-256 | 87c035ac34d2ee671d7a07899b4cd9239c035f22e5125986638f70ec297b30ac |