Python wrapper for Billz.io Public API
Project description
billzio-api
Asynchronous Python wrapper for Billz.io Public API (v2)
Installation
pip install billzio-api
Supported Billz API methods
- Auth login
- Get Products list
- Get Categories list
- Get Shops list
- Get Currencies list
- Get Brands list
- Create a new Client
- Create a draft Order
- Add an Item (product) to the draft Order
- Add a Consumer to the draft Order
- Create an Order from the draft Order (make payment)
Usage:
import asyncio # for running synchronously
from billzio_api import AsyncBillzHandler, ShopsListFilters
handler = AsyncBillzHandler("<secret_key>")
filters = ShopsListFilters(limit=1)
shops = asyncio.run(handler.get_shops(filters))
print(shops.count)
print(shops.shops)
TODO
- Upload to PyPi as a python package
- Write unit tests
- Caching auth data with its expiration
- Synchronous handler
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
billzio_api-1.0.2.tar.gz
(7.5 kB
view details)
Built Distribution
File details
Details for the file billzio_api-1.0.2.tar.gz
.
File metadata
- Download URL: billzio_api-1.0.2.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45c0dd3e3044e141a9d2a4a0072f4e7eb6f3d509bacbbbe3483896ae58aae0f4 |
|
MD5 | 6a524a8be7cfa4832376b4b73726f476 |
|
BLAKE2b-256 | 51206ce8430cff8fd7981ba1c5b3ec55747bef37594a93f8708af8f72b2080df |
File details
Details for the file billzio_api-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: billzio_api-1.0.2-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a256139554641f2cbeb107f4ff24893a98f08ae39f6caedbc3f6ab2d76747da |
|
MD5 | bde6e39c913b30d7dfd2f5a0b51db806 |
|
BLAKE2b-256 | 2295eedd3c86fb03c343042e2c848e7e888c0aed9199270705fe90c0ea974510 |