Design principle based on python SimpleXMLRPCServer.
Use Pushbullet note for calling python functions. The note title used as function name and the body contains the function parameter when necessary.
git clone https://github.com/kovacsbalu/pushbullet-rpc cd pushbullet-rpc
- python 2.7.x
- python built in json
- pushbullet.py v0.8.1 (https://github.com/randomchars/pushbullet.py)
- websocket v0.23.0 (https://github.com/liris/websocket-client)
Check example.py
py.test tests.py
with coverage:
py.test --cov-report term-missing --cov pushbulletrpc tests.py