Connect telegram bots to your API
Project description
CI:
PyPI:
Docs:
Connect instant messaging bots to your APIs.
The idea is to use it as microservice to host messaging bots leaving the application model into current APIs.
Documentation
The full documentation is at https://microbot.readthedocs.org.
Quickstart
Install microbot:
pip install microbot
Then use it in a project:
import microbot
Features
Telegram, Kik and Facebook Messenger bots
Message handling definition with regex, as django urls.
HTTP methods: GET/POST/PUT/DELETE/PATCH
Text responses and keyboards with Jinja2 templates
Chat State handling
Asynchronous processing of messages
Media messages not supported
Running Tests
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install -r requirements/test.txt (myenv) $ make test (myenv) $ make test-all
History
0.1.0 (2016-03-07)
First release on PyPI.
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
Built Distribution
File details
Details for the file microbot-1.7.3.tar.gz
.
File metadata
- Download URL: microbot-1.7.3.tar.gz
- Upload date:
- Size: 40.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb399e5b147dc69101068f4998b8cefa34567a3fe2e1f9d8c2fac9e332ca8a7b |
|
MD5 | 6eea0f107605ec593cb06d22a35ae704 |
|
BLAKE2b-256 | be4f21ad62627fd4c76e94cc8175421f0dac151b5ed59d723a2ebb81e434db05 |
File details
Details for the file microbot-1.7.3-py2.py3-none-any.whl
.
File metadata
- Download URL: microbot-1.7.3-py2.py3-none-any.whl
- Upload date:
- Size: 64.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3011f0c47c098a68c5829c946eb0549f2d153b5f5f8786f372733f4c4d8ea48 |
|
MD5 | 0f6cc810f3a87094ae76671789d15717 |
|
BLAKE2b-256 | 52983feff0f98d5e5d27b13175bb3029c767bb10cc9eb5b203b424127a37b038 |