WhatsApp is so widely used that it does not require any kind of presentation. More interesting is that, on the other hand, the libraries that have been developed using the WhatsApp communication protocol. In this example, we are going to use a Python library, Yowsup, that will enable us to interact with WhatsApp. Anyway, during the year, we had quite a few libraries that were developed around this service. Yowsup has been used to create an unofficial WhatsApp client for Nokia N9 through the Wazapp project, which was in use by more than 200K users. Another fully featured unofficial client for Blackberry 10 has been created using Yowsup, which is a robust component that we can use for our integration.
Let's have a look at the requirements:
Python 2.6+, or Python 3.0 +
Python packages:
python-dateutil
Python packages for end-to-end encryption:
protobuf
,pycrypto
, andpython-axolotl-curve25519
Python packages for
yowsup-cli
:argparse
,readline
, andpillow
(to send images...