Tonviewer 1.0__tar.gz → 2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tonviewer-1.0/src/Tonviewer.egg-info → tonviewer-2.0}/PKG-INFO +3 -3
- {tonviewer-1.0 → tonviewer-2.0}/README.md +2 -2
- {tonviewer-1.0 → tonviewer-2.0}/setup.py +1 -1
- {tonviewer-1.0 → tonviewer-2.0}/src/Tonviewer/Ton.py +1 -1
- {tonviewer-1.0 → tonviewer-2.0}/src/Tonviewer/main.py +1 -1
- {tonviewer-1.0 → tonviewer-2.0/src/Tonviewer.egg-info}/PKG-INFO +3 -3
- {tonviewer-1.0 → tonviewer-2.0}/LICENSE +0 -0
- {tonviewer-1.0 → tonviewer-2.0}/setup.cfg +0 -0
- {tonviewer-1.0 → tonviewer-2.0}/src/Tonviewer/__init__.py +0 -0
- {tonviewer-1.0 → tonviewer-2.0}/src/Tonviewer.egg-info/SOURCES.txt +0 -0
- {tonviewer-1.0 → tonviewer-2.0}/src/Tonviewer.egg-info/dependency_links.txt +0 -0
- {tonviewer-1.0 → tonviewer-2.0}/src/Tonviewer.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: Tonviewer
|
3
|
-
Version:
|
3
|
+
Version: 2.0
|
4
4
|
Summary: 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
|
5
5
|
Author: deep
|
6
6
|
Author-email: asyncpy@proton.me
|
@@ -23,7 +23,7 @@ License-File: LICENSE
|
|
23
23
|
<p align="center">
|
24
24
|
|
25
25
|
<a href="https://pypi.org/project/Tonviewer/">
|
26
|
-
<img src="https://img.shields.io/pypi/v/
|
26
|
+
<img src="https://img.shields.io/pypi/v/Tonviewer?color=red&logo=pypi&logoColor=red">
|
27
27
|
</a>
|
28
28
|
|
29
29
|
<a href="https://t.me/Pycodz">
|
@@ -40,7 +40,7 @@ License-File: LICENSE
|
|
40
40
|
## Prints TON and USDT balance of wallet
|
41
41
|
from Tonviewer import Wallet , Coin
|
42
42
|
wallet = Wallet("") #wallet_address_here
|
43
|
-
wallet.
|
43
|
+
wallet.balance()
|
44
44
|
|
45
45
|
# Prints live price
|
46
46
|
coin = Coin("") #ex: "toncoin" , "bitcoin" , ...
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<p align="center">
|
10
10
|
|
11
11
|
<a href="https://pypi.org/project/Tonviewer/">
|
12
|
-
<img src="https://img.shields.io/pypi/v/
|
12
|
+
<img src="https://img.shields.io/pypi/v/Tonviewer?color=red&logo=pypi&logoColor=red">
|
13
13
|
</a>
|
14
14
|
|
15
15
|
<a href="https://t.me/Pycodz">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
## Prints TON and USDT balance of wallet
|
27
27
|
from Tonviewer import Wallet , Coin
|
28
28
|
wallet = Wallet("") #wallet_address_here
|
29
|
-
wallet.
|
29
|
+
wallet.balance()
|
30
30
|
|
31
31
|
# Prints live price
|
32
32
|
coin = Coin("") #ex: "toncoin" , "bitcoin" , ...
|
@@ -8,7 +8,7 @@ class Wallet:
|
|
8
8
|
self.response = self.scraper.get(f"https://tonviewer.com/{self.wallet}")
|
9
9
|
self.soup = BeautifulSoup(self.response.text, 'html.parser')
|
10
10
|
|
11
|
-
def
|
11
|
+
def balance(self):
|
12
12
|
try:
|
13
13
|
if self.response.status_code == 200:
|
14
14
|
ton = self.soup.find("div", class_="bdtytpm b1249k0b")
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: Tonviewer
|
3
|
-
Version:
|
3
|
+
Version: 2.0
|
4
4
|
Summary: 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
|
5
5
|
Author: deep
|
6
6
|
Author-email: asyncpy@proton.me
|
@@ -23,7 +23,7 @@ License-File: LICENSE
|
|
23
23
|
<p align="center">
|
24
24
|
|
25
25
|
<a href="https://pypi.org/project/Tonviewer/">
|
26
|
-
<img src="https://img.shields.io/pypi/v/
|
26
|
+
<img src="https://img.shields.io/pypi/v/Tonviewer?color=red&logo=pypi&logoColor=red">
|
27
27
|
</a>
|
28
28
|
|
29
29
|
<a href="https://t.me/Pycodz">
|
@@ -40,7 +40,7 @@ License-File: LICENSE
|
|
40
40
|
## Prints TON and USDT balance of wallet
|
41
41
|
from Tonviewer import Wallet , Coin
|
42
42
|
wallet = Wallet("") #wallet_address_here
|
43
|
-
wallet.
|
43
|
+
wallet.balance()
|
44
44
|
|
45
45
|
# Prints live price
|
46
46
|
coin = Coin("") #ex: "toncoin" , "bitcoin" , ...
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|