Some API's added

API's added:
- Network (get and add).
- Login (token)
- General System (only get info)
- Wifi (set, scan, get)
This commit is contained in:
Alano Terblanche
2019-01-01 00:58:54 +02:00
parent 5b31de25c4
commit 8b100dc4cd
5 changed files with 256 additions and 0 deletions

11
Camera.py Normal file
View File

@@ -0,0 +1,11 @@
from APIHandler import APIHandler
class Camera(APIHandler):
def __init__(self, ip, username="admin", password=""):
APIHandler.__init__(self, ip)
self.ip = ip
self.username = username
self.password = password
super().login(self.username, self.password)