Skip to main content

Python client library for interacting with CentApp API

Project description

logo-main

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


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 hashes)

Uploaded Source

Built Distribution

centapp-1.0.1-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

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