Skip to main content

Kauri Finance Software Development Kit

Project description

KauriFinanceSDK

Introduction

Kauri.Finance – EU licensed multifunctional investment and payment solution to enable any crypto operations for businesses and professional traders

Requirements

This library requires Python version from 3.5 to 3.9.

Please note that this library also uses requests and certifi. These libraries' supported Python versions can differ from the versions supported by kauri_finance_sdk

Installation

We recommend using PyPI to install the Kauri Finance Software Development Kit for Python.

$ pip install kauri-finance-sdk

Usage

After the registration, api_key and api_secret will become available. You can get them here. Please note that some features are fully available only after the verification.

Example

The examples folder has basic and advanced examples.

Base api url - https://api.kauri.finance/

from kauripay.processing import KauriPay

api_key = ''
api_secret = ''
host = 'https://api.kauri.finance/'

pay = KauriPay(api_key=api_key,
               api_secret=api_secret,
               host=host)


def get_total_balance(view_currency) -> float:
    """
    Shows total balance for account in chosen currency
    :param view_currency: currency for total balance
    :return: total balance amount for account
    """
    result = pay.get_balance()
    balance_dict = result.get('balance')
    total = 0
    for currency in balance_dict:
        total += ((balance_dict.get(currency).get(view_currency).get('total')) +
                  (balance_dict.get(currency).get(view_currency).get('reserved')))
    return total
print(get_total_balance('BTC'))

Documentation

Please see the Documentation for more details.

Contact Us

KAURIFINANCE OU Estonia, Tallinn, Narva mnt. 7, V korrus

License

Kauri Finance SDK for Python is licensed under MIT License.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

kauri_finance_sdk-0.0.2-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file kauri_finance_sdk-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: kauri_finance_sdk-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3

File hashes

Hashes for kauri_finance_sdk-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8b70bc773323cfeddae3bdc60a4ee66b5468d8c3e9fcdb8a5a23b72d0efde2e7
MD5 95c8a08772579dd92afea1b8fd154e71
BLAKE2b-256 5e326619b9f9d229e9f7d62ca3da25ae7f6c9d5bd3adf7f85e686ddef8e2694a

See more details on using hashes here.

Supported by

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