Downloading
If you want to develop python applications to control RainMachine, we are providing a python API here
git clone https://github.com/sprinkler/rainmachine-developer-resources.git
Documentation for REST API is available | here
Using
from API4Client.rmAPIClient import * client = RMAPIClient(host="127.0.0.1", port="18080") # client.auth.login('admin', True) # localhost access doesn't require authentication print client.zones.get() print client.programs.get()
Available functions
Functions are documented | here
Alternative
A community supported API is available here. Versus the official version it provides much better error handling and easier to work with.
Comments
0 comments
Article is closed for comments.