No project description provided
Project description
KAVK_API
Установка
pip install kavk_api
Пример
import asyncio
from kavk_api import Vk
from kavk_api.longpoll import BotLongPoll
async def main():
vk = Vk('token')
longpoll = LongPoll(vk)
await vk.wall.post(message="Привет kavk_api!")
async for event in longpoll.listen():
print(event.type, event.object)
asyncio.run(main())
TODO
- Замена asyncio.run()
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-1.1.0.tar.gz
(71.4 kB
view hashes)
Built Distribution
kavk_api-1.1.0-py3-none-any.whl
(76.7 kB
view hashes)