centapp


Namecentapp JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/hteppl/centapp-sdk-python
SummaryPython client library for interacting with CentApp API
upload_time2023-06-13 16:11:20
maintainer
docs_urlNone
authorhteppl
requires_python>=3.7
license
keywords python api sdk payments centapp
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # <img src="https://raw.githubusercontent.com/hteppl/centapp-sdk-python/master/docs/logo-main.svg" alt="logo-main" height="66">

#### Python client library for interacting with [CentApp](https://cent.app/) API.

You can find more information on the official [CentApp website](https://cent.app/).

README also available in:

- [Русский](https://raw.githubusercontent.com/hteppl/centapp-sdk-python/master/docs/README_ru.md)

## Installing

CentApp SDK is available on PyPI:

```console
$ 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](https://github.com/hteppl/centapp-sdk-python/tree/master/examples).

**Bill creation example:**

```python
token = ''
amount = 100
shop_id = ''

cent_app = CentApp(token)
res = cent_app.bill().create(amount, shop_id)
print(res)
```

**Merchant balance example:**

```python
token = ''

cent_app = CentApp(token)
res = cent_app.merchant().balance()
print(res)
```


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hteppl/centapp-sdk-python",
    "name": "centapp",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "python,api,sdk,payments,centapp",
    "author": "hteppl",
    "author_email": "hteppl.dev@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/30/9d/8558a20af543816a57fd136b2396f081fea31c3803d9ccd39bfe8cfcc79c/centapp-1.0.1.tar.gz",
    "platform": null,
    "description": "# <img src=\"https://raw.githubusercontent.com/hteppl/centapp-sdk-python/master/docs/logo-main.svg\" alt=\"logo-main\" height=\"66\">\r\n\r\n#### Python client library for interacting with [CentApp](https://cent.app/) API.\r\n\r\nYou can find more information on the official [CentApp website](https://cent.app/).\r\n\r\nREADME also available in:\r\n\r\n- [\u0420\u0443\u0441\u0441\u043a\u0438\u0439](https://raw.githubusercontent.com/hteppl/centapp-sdk-python/master/docs/README_ru.md)\r\n\r\n## Installing\r\n\r\nCentApp SDK is available on PyPI:\r\n\r\n```console\r\n$ python -m pip install centapp\r\n```\r\n\r\nCentApp SDK officially supports Python 3.7+.\r\n\r\n## API Version and Reference\r\n\r\n`Base api url: https://cent.app/api/v1`\r\n\r\nAPI reference and official docs: https://cent.app/en/reference/api\r\n\r\nThe list of available modules:\r\n\r\n- /api/v1/bill/\r\n- /api/v1/payment/\r\n- /api/v1/merchant/\r\n- /api/v1/payout/\r\n\r\n## API Examples\r\n\r\nYou can find more examples [in examples folder](https://github.com/hteppl/centapp-sdk-python/tree/master/examples).\r\n\r\n**Bill creation example:**\r\n\r\n```python\r\ntoken = ''\r\namount = 100\r\nshop_id = ''\r\n\r\ncent_app = CentApp(token)\r\nres = cent_app.bill().create(amount, shop_id)\r\nprint(res)\r\n```\r\n\r\n**Merchant balance example:**\r\n\r\n```python\r\ntoken = ''\r\n\r\ncent_app = CentApp(token)\r\nres = cent_app.merchant().balance()\r\nprint(res)\r\n```\r\n\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Python client library for interacting with CentApp API",
    "version": "1.0.1",
    "project_urls": {
        "Homepage": "https://github.com/hteppl/centapp-sdk-python"
    },
    "split_keywords": [
        "python",
        "api",
        "sdk",
        "payments",
        "centapp"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0310c686ea5b266ce2b8ef5b00c38e3d13d8180d21cdff9471ccd0a1dca7f8d7",
                "md5": "c90dd0f87b2e97eac5329f7f45807dac",
                "sha256": "48c142d1e4b2a58619577714197deb3f88a737aeed09c102bbae907c6d8f13d6"
            },
            "downloads": -1,
            "filename": "centapp-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c90dd0f87b2e97eac5329f7f45807dac",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 4589,
            "upload_time": "2023-06-13T16:11:18",
            "upload_time_iso_8601": "2023-06-13T16:11:18.233104Z",
            "url": "https://files.pythonhosted.org/packages/03/10/c686ea5b266ce2b8ef5b00c38e3d13d8180d21cdff9471ccd0a1dca7f8d7/centapp-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "309d8558a20af543816a57fd136b2396f081fea31c3803d9ccd39bfe8cfcc79c",
                "md5": "413aac820e23cb30b3a33fa8dc79cae1",
                "sha256": "88b3d0473380d0ce8e152d9c999f334e70da6b1833ae0027ed8095f66e18b665"
            },
            "downloads": -1,
            "filename": "centapp-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "413aac820e23cb30b3a33fa8dc79cae1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 4374,
            "upload_time": "2023-06-13T16:11:20",
            "upload_time_iso_8601": "2023-06-13T16:11:20.112992Z",
            "url": "https://files.pythonhosted.org/packages/30/9d/8558a20af543816a57fd136b2396f081fea31c3803d9ccd39bfe8cfcc79c/centapp-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-13 16:11:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hteppl",
    "github_project": "centapp-sdk-python",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "centapp"
}
        
Elapsed time: 0.08055s