Skip to main content

Библиотека для создания ботов в ВКВконтакте (vk.com) (API wrapper)

Project description

VkEleven

Библиотека для работы с VK API. Абсолютная власть у вас под рукой.

VkEleven

Установка

pip

$ sudo pip3 install vk_eleven

Source

$ git clone https://github.com/Fanraeen/VkEleven.git
$ cd VkEleven
$ python3 setup.py install
import vk_eleven

bot = vk_eleven.VkBot(token)
bot.group_id = 188053812

@bot.message_handler(filter=lambda message: True)
def hello(message):
    peer_id = message['object']['peer_id']
    bot.send_message(peer_id=peer_id, message='Привет!')

bot.polling(debug=True)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for vk-eleven, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size vk_eleven-1.0.1-py3-none-any.whl (12.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page