Skip to main content

No project description provided

Project description

KAVK_API logo PyPi version MIT License https://vk.com/klm_ahmed

Установка

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


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)

Uploaded Source

Built Distribution

kavk_api-0.9.7.4-py3-none-any.whl (77.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page