Wrapper for api.pay.4u.studio
Project description
Install
pip install telegram-pay
Use
from telegram_pay import TelegramPay
async def main():
client = TelegramPay(shop_id=SHOP_ID, shop_token=SHOP_TOKEN)
subscription = await client.get_user_subscription(USER_ID, SUBSCRIPTION_ID)
if subscription.valid:
# User is subscribed
else:
# User is not subscribed
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
telegram_pay-0.1.5.tar.gz
(4.0 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 telegram_pay-0.1.5.tar.gz.
File metadata
- Download URL: telegram_pay-0.1.5.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.3 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
925a303ab98c1720208ca27d07075e5b7419fc4c59ab1374c6d7b51f7b77a8db
|
|
| MD5 |
a27edba972941a3db2719c978069d562
|
|
| BLAKE2b-256 |
b0ea970563e8c91caf023a98bfd9983da9dbd0389530034d33be43e8db5ddca4
|
File details
Details for the file telegram_pay-0.1.5-py3-none-any.whl.
File metadata
- Download URL: telegram_pay-0.1.5-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.3 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f5a3a26bc6467a5e30d11fe4b00de58ffd743f2fb6dc2fd1f41744fb1902c35
|
|
| MD5 |
f16de93b6eab1b170c739a487187a3ae
|
|
| BLAKE2b-256 |
23141812f65958c949fe387f29c77d9741e16a21949842a6ba851ec0764bfe1c
|