Skip to main content

This is a lightweight library that works as a connector to TON Play public API

Project description

TON Play Public API Connector Python

PyPI version

This is a lightweight library that works as a connector to TON Play public API

Installation

pip install tonplay-connector

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.5.tar.gz (10.8 kB view details)

Uploaded Source

File details

Details for the file tonplay-sdk-0.0.5.tar.gz.

File metadata

  • Download URL: tonplay-sdk-0.0.5.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

Hashes for tonplay-sdk-0.0.5.tar.gz
Algorithm Hash digest
SHA256 ca4b2cbc853f70bc7e31ac84aca5fb96ee1d7dfa7df1be5da7e8a3282dd38615
MD5 756ae79d48c17e404465bb5e7cbb52d9
BLAKE2b-256 36f2b6e890e5bac62d5ebe707fa3d493093308bcb1536dabbe5fe746b1354bf9

See more details on using hashes here.

Supported by

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