Browse Source

added web API calls

main
Peter Shipley 10 years ago
parent
commit
d1ff4b9835
1 changed files with 18 additions and 2 deletions
  1. +18
    -2
      README.md

+ 18
- 2
README.md View File

@@ -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



Loading…
Cancel
Save