Python brings us back to the basics
Yes! We made Yowsup ready to use from our java backend. Here is a screenshot of the communication we did today:
We are not quite proud that we need to use FileIO to send and receive messages, but thats the limitation we have by yowsup and our python skills.
In the last days we were learning some Python and understanding the Yowsup architecture (which is really great!). We tried to add a ReST Server to yowsup. Finally we regonized that the communication between WhatsApp and Yowsup stopped working when spinning up the Bottle Rest Server.
Because we don't have more time to get more deep into python, we decided to use JSON-Files to instead of an REST server for now. The result should look like this:
The goal is to keep the VotesApp solution (which we submit) on clean. It will not have anything todo with the file io that happens on the right side (because yowsup doesn't have the rest interface yet). If you are intereseted in the python code we added you can find it in this commit. But don't take it as an best practice example :).
Now we "only" need to build the middle application what will be not that hard.