Catalog PyPI
PACKAGE EXPLORERView in registry

aiobotstat

PyPI

Library for api.botstat.io

Versions collected1
Direct dependencies4From release 0.1.3
Last observed21 Oct, 11:41 UTC

README

Version 0.1.3 documentation

aiobotstat

Mini library for BotStat API.

Current API version: 0.1

Install

  • Git: pip install git+https://github.com/viuipan/aiobotstat.git

  • PyPi: pip install aiobotstat

Example:

import asyncio

from aiobotstat import BotStatAPI

BOT_TOKEN = ''
FILE_PATH = ''
BOT_USERNAME = ''

api = BotStatAPI(BOT_TOKEN)


async def main():
    bot_info = await api.get_bot_info(username=BOT_USERNAME)
    print(bot_info)

    task = await api.create_task(file=FILE_PATH)
    print(task)

    status = await api.get_task_status(task_id=task.id)
    print(status)

    cancel_result = await api.cancel_task(task_id=task.id)
    print(f'Cancel result is {cancel_result}')


asyncio.run(main())

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.31 Feb 20234

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
viuipan/aiobotstat

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:41 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:43642afa120ac32173c7d7dea66aa076ae234eefb1dbf9ccd1a049025ba0bdf8