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.1.tar.gz
(70.8 kB
view hashes)
Built Distribution
kavk_api-0.9.7.1-py3-none-any.whl
(75.0 kB
view hashes)
Close
Hashes for kavk_api-0.9.7.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a15c86508454c71c30da0ea2da8128f0c97e7759a65fd87ca77447d4e7e05d2 |
|
MD5 | da9a7508789026a3f392a71a0af700f9 |
|
BLAKE2b-256 | c7fbf144615058feb0f50129f15e774dce485e153255f44a9c92af92917d68c7 |