Skip to main content

Connect telegram bots to your API

Project description

CI:

https://travis-ci.org/jlmadurga/microbot.svg?branch=master https://coveralls.io/repos/github/jlmadurga/microbot/badge.svg?branch=master Requirements Status

PyPI:

Docs:

Documentation Status

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


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
microbot-1.7.3-py2.py3-none-any.whl (64.7 kB) Copy SHA256 hash SHA256 Wheel 2.7 May 5, 2016
microbot-1.7.3.tar.gz (40.4 kB) Copy SHA256 hash SHA256 Source None May 5, 2016

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 DigiCert DigiCert EV certificate StatusPage StatusPage Status page