Skip to main content

No project description provided

Project description

Jetton Rate API

Этот проект представляет простой асинхронный клиент для получения курсов криптовалют с использованием TON API. Клиент позволяет извлекать обменный курс между конкретными токенами и валютами.

Особенности

  • Асинхронные запросы с использованием aiohttp
  • Удобный интерфейс для получения курсов
  • Поддержка нескольких токенов и валют

Пример кода

from tonapi import TonAPI
api = TonAPI()

exchange_rate = api.get_rate("USD", "TON")
different = api.get_diff("USD", "TON", "24h")
print(exchange_rate, different)

Установка

  1. Клонируйте репозиторий: git clone https://github.com/vladdintov/TonAPI.git
  2. Установите зависимости: poetry install
  3. Запустите приложение: python main.py

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

aiotonapi-0.1.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

AioTonApi-0.1.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file aiotonapi-0.1.1.tar.gz.

File metadata

  • Download URL: aiotonapi-0.1.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.5

File hashes

Hashes for aiotonapi-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6fbebafeb858940925560065fd4b9046e0f2af0db9f1fceb109b4b6f621a1276
MD5 cc6014881ce078c5d990ccf9f89869f4
BLAKE2b-256 d25b71a1018990c59cc60c1269597b10c9618dc3608f56703dd2181e3be77be6

See more details on using hashes here.

File details

Details for the file AioTonApi-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: AioTonApi-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.5

File hashes

Hashes for AioTonApi-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 79d2418b034eef40f431a145af1416796c45e48a518e2d012557e900299b7a7b
MD5 fe0d4a8a3e5005a924c79c1d55d49db6
BLAKE2b-256 e9f48af6613ce7e1ae1993ba38c5adc8541adfd1cedd4a3e79a532e0a44682ef

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