Asynchronous api of the Flyer service
Project description
Usage
With flyerapi
you can use FlyerAPI together with Telegram
Installation
pip install flyerapi
Requirements
Python 3.7+
aiohttp
Features
Asynchronous
Exception handling
Basic example with aiogram
from flyerapi import Flyer
from aiogram import types
flyer = Flyer(KEY)
async def message_handler(message: types.Message):
if not await flyer.check(message.from_user.id):
return
async def callback_handler(call: types.CallbackQuery):
if not await flyer.check(call.from_user.id):
return
Developed by Eli (c) 2023
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
flyerapi-1.0.5.tar.gz
(3.7 kB
view details)
File details
Details for the file flyerapi-1.0.5.tar.gz
.
File metadata
- Download URL: flyerapi-1.0.5.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0d9bf3bbeef7ec20e778e7067ec900bc492ba1e347b2ffe45468d2a7566af17 |
|
MD5 | 201bbb227db5fc79dfd7c84733dbd978 |
|
BLAKE2b-256 | 650ab704c92cfcdd65a2ef7a0384cca22ed267d0b215a3c7caa40f278397ef9d |