<div align="left">
<h1>FlyerAPI<img src="https://telegra.ph/file/e2a2f0526d2937973a70b.png" width=50 height=50></h1>
<p align="left" >
<a href="https://pypi.org/project/flyerapi/">
<img src="https://img.shields.io/pypi/v/flyerapi?style=flat-square" alt="PyPI">
</a>
<a href="https://pypi.org/project/flyerapi/">
<img src="https://img.shields.io/pypi/dm/flyerapi?style=flat-square" alt="PyPI">
</a>
</p>
</div>
## Usage
With ``flyerapi`` you can use <a href="https://t.me/FlyerServiceBot">FlyerAPI</a> together with Telegram
## Installation
```bash
pip install flyerapi
```
## Requirements
- ``Python 3.7+``
- ``aiohttp``
## Features
- ``Asynchronous``
- ``Exception handling``
## Basic example with aiogram
```python
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
Raw data
{
"_id": null,
"home_page": "https://github.com/EliCreator/flyerapi",
"name": "flyerapi",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "python, flyer, async, asyncio, cache",
"author": "Eli",
"author_email": "<eli.dev.tg@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/2c/13/f5db033bfbcf077d98669774b745a3d66060eb80e57d6196e0959c0bf6ea/flyerapi-1.0.8.tar.gz",
"platform": null,
"description": "<div align=\"left\">\r\n <h1>FlyerAPI<img src=\"https://telegra.ph/file/e2a2f0526d2937973a70b.png\" width=50 height=50></h1>\r\n <p align=\"left\" >\r\n <a href=\"https://pypi.org/project/flyerapi/\">\r\n <img src=\"https://img.shields.io/pypi/v/flyerapi?style=flat-square\" alt=\"PyPI\">\r\n </a>\r\n <a href=\"https://pypi.org/project/flyerapi/\">\r\n <img src=\"https://img.shields.io/pypi/dm/flyerapi?style=flat-square\" alt=\"PyPI\">\r\n </a>\r\n </p>\r\n</div>\r\n\r\n\r\n## Usage\r\n\r\nWith ``flyerapi`` you can use <a href=\"https://t.me/FlyerServiceBot\">FlyerAPI</a> together with Telegram\r\n\r\n## Installation\r\n\r\n```bash\r\npip install flyerapi\r\n```\r\n\r\n## Requirements\r\n\r\n - ``Python 3.7+``\r\n - ``aiohttp``\r\n\r\n## Features\r\n\r\n - ``Asynchronous``\r\n - ``Exception handling``\r\n\r\n## Basic example with aiogram\r\n\r\n```python\r\nfrom flyerapi import Flyer\r\n\r\nfrom aiogram import types\r\n\r\n\r\nflyer = Flyer(KEY)\r\n\r\nasync def message_handler(message: types.Message):\r\n # Use it wherever verification is necessary\r\n if not await flyer.check(message.from_user.id):\r\n return\r\n\r\nasync def callback_handler(call: types.CallbackQuery):\r\n # Use it wherever verification is necessary\r\n if not await flyer.check(call.from_user.id):\r\n return\r\n```\r\n\r\nDeveloped by Eli (c) 2023\r\n",
"bugtrack_url": null,
"license": null,
"summary": "Asynchronous api of the Flyer service",
"version": "1.0.8",
"project_urls": {
"Bug Tracker": "https://github.com/EliCreator/flyerapi/issues",
"Homepage": "https://github.com/EliCreator/flyerapi"
},
"split_keywords": [
"python",
" flyer",
" async",
" asyncio",
" cache"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2c13f5db033bfbcf077d98669774b745a3d66060eb80e57d6196e0959c0bf6ea",
"md5": "bb63431efb58a1b501c824e5553c58af",
"sha256": "649d8e80c8e0f1efbe84544275e98da0b70a3d67ae24d874e5459bbce088f81b"
},
"downloads": -1,
"filename": "flyerapi-1.0.8.tar.gz",
"has_sig": false,
"md5_digest": "bb63431efb58a1b501c824e5553c58af",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4070,
"upload_time": "2024-04-26T10:38:49",
"upload_time_iso_8601": "2024-04-26T10:38:49.833542Z",
"url": "https://files.pythonhosted.org/packages/2c/13/f5db033bfbcf077d98669774b745a3d66060eb80e57d6196e0959c0bf6ea/flyerapi-1.0.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-26 10:38:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "EliCreator",
"github_project": "flyerapi",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "flyerapi"
}