Name | tonplay-sdk JSON |
Version |
0.0.8
JSON |
| download |
home_page | |
Summary | This is a lightweight library that works as a connector to TON Play public API |
upload_time | 2023-04-21 09:09:22 |
maintainer | |
docs_url | None |
author | TON Play |
requires_python | >=3.11.1 |
license | MIT |
keywords |
ton play
ton play api
tonplay api
ton sdk
ton
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# TON Play Public API Connector Python
[](https://pypi.python.org/pypi/tonplay-sdk)
This is a [lightweight library](https://github.com/ton-play/tonplay-python-sdk) that works as a connector to [TON Play public API](https://docs.tonplay.io/)
## Installation
```bash
pip install tonplay-sdk
```
## Get API Key
To get API Key [follow the link](https://docs.tonplay.io/digital-assets-api/api-key)
## RESTful APIs
Usage examples:
```python
from tonplay.methods import TonPlayApi
client = TonPlayApi(api_key='<YOUR API KEY>')
# Get assets on sale
print(client.get_assets_on_sale())
```
Please find `examples` folder to check for more endpoints.
- In order to set your API and Secret Key for use of the examples, create a file examples/config.ini with your keys.
- Eg:
```bash
# examples/config.ini
[keys]
api_key=abc123456
```
Raw data
{
"_id": null,
"home_page": "",
"name": "tonplay-sdk",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.11.1",
"maintainer_email": "",
"keywords": "TON Play,Ton Play API,Tonplay API,ton sdk,ton",
"author": "TON Play",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/03/a3/f1e674041fc3e3d7f1f473d08d263ca73eca2c0a294570e24a17261631f7/tonplay-sdk-0.0.8.tar.gz",
"platform": null,
"description": "# TON Play Public API Connector Python\n\n[](https://pypi.python.org/pypi/tonplay-sdk)\n\nThis is a [lightweight library](https://github.com/ton-play/tonplay-python-sdk) that works as a connector to [TON Play public API](https://docs.tonplay.io/)\n## Installation\n\n```bash\npip install tonplay-sdk\n```\n\n## Get API Key\n\nTo get API Key [follow the link](https://docs.tonplay.io/digital-assets-api/api-key)\n\n## RESTful APIs\n\nUsage examples:\n```python\nfrom tonplay.methods import TonPlayApi\n\nclient = TonPlayApi(api_key='<YOUR API KEY>')\n\n# Get assets on sale\nprint(client.get_assets_on_sale())\n```\n\nPlease find `examples` folder to check for more endpoints.\n- In order to set your API and Secret Key for use of the examples, create a file examples/config.ini with your keys.\n- Eg:\n```bash\n# examples/config.ini\n[keys]\napi_key=abc123456\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "This is a lightweight library that works as a connector to TON Play public API",
"version": "0.0.8",
"split_keywords": [
"ton play",
"ton play api",
"tonplay api",
"ton sdk",
"ton"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "03a3f1e674041fc3e3d7f1f473d08d263ca73eca2c0a294570e24a17261631f7",
"md5": "4a4e0e50339186bc9e52aac8db07ab0a",
"sha256": "56e7dff2bc67f8aa2f2b3f1746007e9cc50a16dfd55e73658e3867d5c51d5924"
},
"downloads": -1,
"filename": "tonplay-sdk-0.0.8.tar.gz",
"has_sig": false,
"md5_digest": "4a4e0e50339186bc9e52aac8db07ab0a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11.1",
"size": 10854,
"upload_time": "2023-04-21T09:09:22",
"upload_time_iso_8601": "2023-04-21T09:09:22.954241Z",
"url": "https://files.pythonhosted.org/packages/03/a3/f1e674041fc3e3d7f1f473d08d263ca73eca2c0a294570e24a17261631f7/tonplay-sdk-0.0.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-21 09:09:22",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "tonplay-sdk"
}