Python client library for interacting with CentApp API
Project description
Python client library for interacting with CentApp API.
You can find more information on the official CentApp website.
README also available in:
Installing
CentApp SDK is available on PyPI:
$ python -m pip install centapp
CentApp SDK officially supports Python 3.7+.
API Version and Reference
Base api url: https://cent.app/api/v1
API reference and official docs: https://cent.app/en/reference/api
The list of available modules:
- /api/v1/bill/
- /api/v1/payment/
- /api/v1/merchant/
- /api/v1/payout/
API Examples
You can find more examples in examples folder.
Bill creation example:
token = ''
amount = 100
shop_id = ''
cent_app = CentApp(token)
res = cent_app.bill().create(amount, shop_id)
print(res)
Merchant balance example:
token = ''
cent_app = CentApp(token)
res = cent_app.merchant().balance()
print(res)
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
centapp-1.0.1.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file centapp-1.0.1.tar.gz
.
File metadata
- Download URL: centapp-1.0.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88b3d0473380d0ce8e152d9c999f334e70da6b1833ae0027ed8095f66e18b665 |
|
MD5 | 413aac820e23cb30b3a33fa8dc79cae1 |
|
BLAKE2b-256 | 309d8558a20af543816a57fd136b2396f081fea31c3803d9ccd39bfe8cfcc79c |
File details
Details for the file centapp-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: centapp-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48c142d1e4b2a58619577714197deb3f88a737aeed09c102bbae907c6d8f13d6 |
|
MD5 | c90dd0f87b2e97eac5329f7f45807dac |
|
BLAKE2b-256 | 0310c686ea5b266ce2b8ef5b00c38e3d13d8180d21cdff9471ccd0a1dca7f8d7 |