TON Play Public API Connector Python
This is a lightweight library that works as a connector to TON Play public API
Installation
pip install tonplay-sdk
Get API Key
To get API Key follow the link
RESTful APIs
Usage examples:
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:
# examples/config.ini
[keys]
api_key=abc123456
Release files for tonplay-sdk 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tonplay-sdk-0.0.8.tar.gz | 10.9 kB | Details |
Release files / tonplay-sdk-0.0.8.tar.gz
| Download URL | tonplay-sdk-0.0.8.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56e7dff2bc67f8aa2f2b3f1746007e9cc50a16dfd55e73658e3867d5c51d5924
|
|
BLAKE2b-256 checksum How to use checksums |
03a3f1e674041fc3e3d7f1f473d08d263ca73eca2c0a294570e24a17261631f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|