No project description provided
Project description
Установка
pip install kavk_api
TODO:
работа над UserLongPoll (Типизация ивентов, фиксы багов)
замена asyncio.run()
Пример:
import asyncio
from kavk_api import Vk
from kavk_api.bot_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())
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.7.4.tar.gz
(73.3 kB
view hashes)
Built Distribution
kavk_api-0.9.7.4-py3-none-any.whl
(77.6 kB
view hashes)
Close
Hashes for kavk_api-0.9.7.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 216f7fc979e3854e56556967b9884afd50c6c6adaead007168ad73b16a753140 |
|
MD5 | 65d9d3a182bc9ef751943e34d727fab1 |
|
BLAKE2b-256 | 8f7968fae03741fd4bb22519dbb38113b6bea506556847fa3aac5f2a0fe0075e |