This is a lightweight library that works as a connector to TON Play public API
Project description
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
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
tonplay-sdk-0.0.7.tar.gz
(10.8 kB
view details)
File details
Details for the file tonplay-sdk-0.0.7.tar.gz.
File metadata
- Download URL: tonplay-sdk-0.0.7.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aba7f5d226fefd8eab2aa7ab8eef7c2990b27a63f7afa83ffbd16af0121ee46a
|
|
| MD5 |
83803d8fa8a8e30f1479d3f4f3a71153
|
|
| BLAKE2b-256 |
8b2c87fb3d58f8a4a698ed55b08b76913f8b005a4977bd66c6dd03ccb2e5b01e
|