Update README (implemented methods), add more getters

This commit is contained in:
Karl Moos
2020-10-27 18:53:09 -05:00
parent bef4f8d5fd
commit c8eb387cd1
11 changed files with 284 additions and 24 deletions

View File

@@ -30,3 +30,12 @@ class SystemAPIMixin:
"""
body = [{"cmd": "Reboot", "action": 0, "param": {}}]
return self._execute_command('Reboot', body)
def get_dst(self) -> object:
"""
Get the camera DST information
See examples/response/GetDSTInfo.json for example response data.
:return: response json
"""
body = [{"cmd": "GetTime", "action": 0, "param": {}}]
return self._execute_command('GetTime', body)