Skip to main content

Pure Python interface for ICQ Bot API. Bot cookbook for Humans.

Project description

🐍 python-icq-bot

Pure Python interface for ICQ Bot API. Bot cookbook for Humans.

Table of contents

Introduction

This library provides complete ICQ Bot API 1.0 interface and compatible with Python 2.7, 3.4, 3.5 and 3.6.

Getting started

Create your own bot by sending the /newbot command to MegaBot and follow the instructions.

Note a bot can only reply after the user has added it to his contact list, or if the user was the first to start a dialogue.

Installing

Install using pip:

pip install --upgrade python-icq-bot

Install from sources:

git clone https://github.com/icq-bot/python-icq-bot.git
cd python-icq-bot
python setup.py install

Example

See the project example directory.

Some ICQ bots you can play with right now:
Chat ID Bot [source code]
Echo Bot [source code]
Giphy Bot [source code]
Hash Bot [source code]
Meme Bot
OAuth Bot [source code]
Reformat Bot [source code]
Stickers Bot
URL Decode Bot [source code]
URL Encode Bot [source code]
Vinci Bot
WolframAlpha Bot [source code]

Starting your bot

Without Virtualenv:

python my_bot.py

Using Virtualenv:

# Initializing Virtualenv.
virtualenv venv

# Activating Virtualenv.
source venv/bin/activate

# Installing python-icq-bot library into local venv directory.
pip install --upgrade python-icq-bot

# Starting your bot.
python my_bot.py

# Deactivating virtualenv.
deactivate

Get in touch

python-icq-bot channel

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

python-icq-bot-0.0.17.tar.gz (13.2 kB view hashes)

Uploaded Source

Built Distribution

python_icq_bot-0.0.17-py2.py3-none-any.whl (13.9 kB view hashes)

Uploaded Python 2 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