No project description provided
Project description
Установка
pip install kavk_api
TODO:
типизация ивентов BotLongPoll.
работа над UserLongPoll (Типизация ивентов, фиксы багов)
замена asyncio.run()
Пример:
import asyncio
from kavk_api import Vk
from kavk_api.longpoll import LongPoll
async def main():
vk = Vk('token')
api = vk.get_api()
longpoll = LongPoll(vk)
await api.wall.post(message="Привет kavk_api!")
async for event in longpoll.listen():
print(event)
asyncio.run(main())
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
kavk_api-0.9.5.tar.gz
(66.6 kB
view hashes)
Built Distribution
kavk_api-0.9.5-py3-none-any.whl
(70.2 kB
view hashes)