Files
reolink_api/Camera.py
2019-09-15 11:11:21 +10:00

13 lines
352 B
Python

from APIHandler import APIHandler
class Camera(APIHandler):
def __init__(self, ip, username="admin", password="", https=False):
APIHandler.__init__(self, ip, https=https)
self.ip = ip
self.username = username
self.password = password
self.https = https
super().login(self.username, self.password)