Current collected state Current
Observed since 21 Oct, 11:41 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
aiobotstat
Library for api.botstat.io
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())
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
aiohttpEnvironment{
"extras": "",
"marker": null,
"requires_python": "",
"evaluation": "NOT_EVALUATED"
} | aiohttp | runtime |
pydanticEnvironment{
"extras": "",
"marker": null,
"requires_python": "",
"evaluation": "NOT_EVALUATED"
} | pydantic | runtime |
certifiEnvironment{
"extras": "",
"marker": null,
"requires_python": "",
"evaluation": "NOT_EVALUATED"
} | certifi | runtime |
ujsonEnvironment{
"extras": "",
"marker": null,
"requires_python": "",
"evaluation": "NOT_EVALUATED"
} | ujson | runtime |
bdist_wheel · 7.18 KB · Python py3
sdist · 5.71 KB · Python source
Observed since 21 Oct, 11:41 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:e0e63b15ea33733a0ea78e3bf1819fee56a491fe0c5b4990d3f4b2ced1b7ccae