Skip to main content

Asynchronous api of the Flyer service

Project description

FlyerAPI

PyPI PyPI

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.7.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file flyerapi-1.0.7.tar.gz.

File metadata

  • Download URL: flyerapi-1.0.7.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for flyerapi-1.0.7.tar.gz
Algorithm Hash digest
SHA256 4b28d15c4ea9f8c006ff5b05c5449a818e559de637095c44fbedc161f2ad15ff
MD5 5fcbb3e8c22ac07060c4de43716608b2
BLAKE2b-256 54e86688c914c58ab2097d4cd0d9eda302c2f58b6c19b1df9b7f8748518a84ee

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page