From d1ff4b9835276701b127137787e9cae7155dfc26 Mon Sep 17 00:00:00 2001 From: Peter Shipley Date: Sun, 9 Mar 2014 20:21:25 -0700 Subject: [PATCH] added web API calls --- README.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 012ea99..a571b29 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ API Call list : ```python + # Socket API based commands list_devices() get_demand_values(macid=None, interval='hour', frequency=None) get_device_data(macid=None) @@ -27,10 +28,25 @@ API Call list : get_fast_poll_status(macid=None) set_fast_poll(macid=None, frequency='0x04', duration='0xFF') + + # Web API based calls + def get_setting_data(macid=None) + def get_device_config(macid=None) + def get_timezone(macid=None) + def get_time_source(macid=None) + def set_remote_management(macid=None, status="Yes") + def set_time_source(macid=None, source="internet") + def get_price(macid=None) + def set_price(macid=None, price) + def set_price_auto(macid=None) + def factory_reset(macid=None) + def cloud_reset(macid=None) + def set_cloud(macid=None, url) + ``` -API Calls return dictionarys containing data results -returns None if error +API Calls return dictionarys containing data results, +raises exception or returns None if error ## External Documentation