SDK for Berbix integrations
Project description
Berbix Python SDK
This Berbix Python library provides simple interfaces to interact with the Berbix API.
Usage
Constructing the client
import berbix
client = berbix.Client(
client_id='your_client_id_here',
client_secret='your_client_secret_here')
Fetching user tokens
user_tokens = client.exchange_code(code)
Fetching user data
client.fetch_user(user_tokens)
User tokens from storage
refresh_token = '' # fetched from database
user_tokens = UserTokens.from_refresh(refresh_token)
Release
To release a new version of the SDK, first bump the version in setup.py
.
python setup.py sdist bdist_wheel
twine upload dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
berbix-0.0.5.tar.gz
(2.5 kB
view hashes)
Built Distribution
berbix-0.0.5-py3-none-any.whl
(3.6 kB
view hashes)