Skip to content

EntireMusic/tgwallet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tgwallet

Async Python client for Telegram Wallet P2P Market API.

Python License

Table of Contents

Installation

pip install tgwallet

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.

About

Async Python client for Telegram Wallet P2P Market API.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages