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:
11
Camera.py
Normal file
11
Camera.py
Normal 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)
|
||||
Reference in New Issue
Block a user