A small python seed to create a Whatsapp Bot, with regex-callback routes (just like a web framework).
(practical extension of the examples on https://github.com/tgalal/yowsup)
- Install the image handling system dependencies on
bash opt/system-requirements.sh - Create a virtualenv and install the requirements
pip install -r opt/requirements.pip - Follow the instructions on
src/config.pyto get the whatsapp credentials. - Then just run the server with
python src/server.py
To create your own views, check the src/router.py, and the src/view/basic_views.py for a simple example.