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.2.tar.gz
(70.8 kB
view hashes)
Built Distribution
kavk_api-0.9.7.2-py3-none-any.whl
(74.9 kB
view hashes)
Close
Hashes for kavk_api-0.9.7.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32cff77c34c6af8c77cd2ad24460dffcc1f4a8f13699ae9b7b7d38af5ac68f82 |
|
MD5 | edbc8005cffc4fa82e3de8b187c4799e |
|
BLAKE2b-256 | f5dddca10b7ca1884bb682f0af3aa93881de1b7e2483025b6bee48ac134c5bb0 |