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.1.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for sbanken_api-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2b5d371681a2e8c8db6b19b0ea3145366bc42eb56ad8ff8b0f3c241e5bcdcee |
|
MD5 | bd228a22b3b16cd76e41bb1ef257f18e |
|
BLAKE2b-256 | 1699d0e5196941875e440cd79018cca5cea002d7ff300a6c3d9dacb34113c1ea |