No project description provided
Project description
Установка
pip install kavk_api
TODO:
замена asyncio.run()
Пример:
import asyncio
from kavk_api import Vk
from kavk_api.longpoll.bot 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.9.2.tar.gz
(73.7 kB
view hashes)
Built Distribution
kavk_api-0.9.9.2-py3-none-any.whl
(77.9 kB
view hashes)
Close
Hashes for kavk_api-0.9.9.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6571fa56821b16bdedaefdc25c3c958e0f6ddf7c49b8c6749059917d842ae3b5 |
|
MD5 | b32149f1a0f96ded455150dbfed5ca84 |
|
BLAKE2b-256 | 790b0f928a7dc893879e571c078bae48257e37041d22b0a24ca4fdcf1cf5abda |