Python library for simplified access to Telegram Wallet P2P Market API
Project description
tgwallet
Async Python client for Telegram Wallet P2P Market API.
Table of Contents
Installation
pip install git+https://github.com/EntireMusic/tgwallet.git
Quick Start
import asyncio
from tgwallet import WalletP2PClient
async def main():
async with WalletP2PClient(api_key="YOUR_API_KEY") as client:
async for item in client.get_buy_items(limit=10):
print(item)
asyncio.run(main())
Error Handling
from tgwallet import WalletP2PClient
from tgwallet.exceptions import APIError
try:
...
except APIError as e:
print(e)
Official API Documentation
This library is a wrapper around the official Telegram Wallet P2P API
License
This project is licensed under the MIT License – see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tgwallet-0.1.0.tar.gz
(7.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tgwallet-0.1.0.tar.gz.
File metadata
- Download URL: tgwallet-0.1.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbf8682a6f57511f962f66be2700f61a60e27d972c06e54b77e444f4925e9723
|
|
| MD5 |
60692680c02ece55649499d93062dc8c
|
|
| BLAKE2b-256 |
e1d16f5a3494e25536a585617cdb91f60f95659fd421e38f4168043dba783d8b
|
File details
Details for the file tgwallet-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tgwallet-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d2bcfb02184d1b42477c089cb75e0af690de9160344ffea50d28f54b08214e0
|
|
| MD5 |
85e5c0a4eaa63045afbf462e669e55d8
|
|
| BLAKE2b-256 |
df5d3a9794dfec22e3ac13018b6591323ffe7ab39b03bf20723289d0dbd593bc
|