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-1.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-1.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tonviewer-1.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-1.1.tar.gz
Algorithm Hash digest
SHA256 a3708391dc662820023a32ef6b1817d6de0f3df52ee98e3df6da44ddd5aa69b4
MD5 3b4ac790764a5bcd91fc828bfdc9dfd3
BLAKE2b-256 6ece6c56585d302bda8ead1313a098f8259e2d7c8af1a45beae78740c80255b2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Tonviewer-1.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-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dd569f974d69cf5dc431b6c5a6f81add4faf90ad7d794eb6c03ca3c549e65ef7
MD5 3c2472623875215163138802a19967d0
BLAKE2b-256 d0d6cc0aa932281fc1041646a68bd4d2d58571a477bae5ecf3898bf995833f9b

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