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):
# Use it wherever verification is necessary
if not await flyer.check(message.from_user.id):
return
async def callback_handler(call: types.CallbackQuery):
# Use it wherever verification is necessary
if not await flyer.check(call.from_user.id):
return
Developed by Eli (c) 2023
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
flyerapi-1.0.8.tar.gz
(4.1 kB
view hashes)