Skip to main content

TON Crypto Info Scraper is a Python library that allows you to fetch ( real-time balance of wallet , transactions , price ) data without needing any APIs.

Project description

TonViewer

Telegram Owner

🚀 Quick Start

## Prints TON , transactions and balance of wallet
from Tonviewer import Wallet , Coin
wallet = Wallet("")    #wallet_address_here
#Example : UQBAZ3qWaaoIC8Pq5ELnz2ofYoGN_E3mhzxhE-8EWTpMYgyc
wallet.balance()
wallet.transactions(limit=3)    #limit : int , get transactions of Wallet default = 1

# Prints live price
coin = Coin("")   #ex: "toncoin" , "bitcoin" , ...
coin.price()    # Prints live price
coin.about()    # Prints description of the coin

Installation and Development 🚀

Via PyPi ⚡️

# via PyPi
pip install Tonviewer -U

💎 TON Crypto Info Scraper

  • TON Crypto Info Scraper is a Python library that allows you to fetch real-time data from the TON blockchain and CoinGecko without needing any APIs.

  • It enables users to view wallet balances and live coin information and get transactions of Wallet with ease, making it perfect for TON developers, analysts, and bot creators.

⚙️ What This Library Can Do ?

  • Retrieve the current TON and USDT balance from any TON wallet address.
  • Get the live price of any coin listed on CoinGecko.
  • get transactions of Wallet .

Using in Terminal 🚀

Tonviewer -[OPTIONS] "[Wallet]"

Usage 📚

Tonviewer -[OPTIONS] "[FOR-OPTION]"

Options
    -b, --balance                   Prints balance of wallet .
    -a, --about                     Prints description of the coin .
    -p, --price                     Prints live price #ex: toncoin , bitcoin , ... .
    -t, --transactions              Get transactions of Wallet . 
    -l, --limit                     Number of times to get transactions .
    -h, --help                      Display help message .
    -v, --version                   Show Version Of Libarary and info .

Example For Usage .

#Example Wallet : UQBeab7D38R...
Tonviewer -b "UQBeab7D38R..."
          -a "toncoin"
          -p "bitcoin"
          -t "UQBeab7D38R..." -l 4
          -h
          -v

Example format response of transactions ,

{
  "Time": "12 Aug 08:03",
  "Action": "Sent TON",
  "From": "UQBAZ3qWaaoIC8Pq5ELnz2ofYoGN_E3mhzxhE-8EWTpMYgyc",
  "To": "Fragment",
  "Paid For": "890 Telegram Stars",
  "Price": "−3.908 TON ≈ 12.23204 $",
  "Limit": "1"
  }

✨ Features

  • Real-time TON wallet balance fetching.
  • Live cryptocurrency price lookup.
  • Instant coin description extraction.
  • Fast and lightweight scraping.
  • get transactions of Wallet.
  • No API keys or authentication needed.
  • Working in Terminal.

💬 Help & Support .

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

tonviewer-0.1.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

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

Tonviewer-0.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file tonviewer-0.1.tar.gz.

File metadata

  • Download URL: tonviewer-0.1.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for tonviewer-0.1.tar.gz
Algorithm Hash digest
SHA256 d02b4280b70b8763109815253c6cf497b003356d17939a0fd2329ff671c7b752
MD5 167ecbd4a64e7646a3b189f802aab47d
BLAKE2b-256 d365c42e75465b4576b24ce1db5a9dcd5fccf06772f6756a1f71fd54a876e9e0

See more details on using hashes here.

File details

Details for the file Tonviewer-0.1-py3-none-any.whl.

File metadata

  • Download URL: Tonviewer-0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for Tonviewer-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3c715862d901a4a997d0a3b93262047582f3218ba87b99d61883522377983477
MD5 166cf48c459d10404d50d26c88a38ee9
BLAKE2b-256 1fa5810b7224f8b80cc11c4389aaebb27434ecde69ad145a2a5ba86586a442d0

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