Files
reolink_api/Camera.py
Alano Terblanche 8b100dc4cd Some API's added
API's added:
- Network (get and add).
- Login (token)
- General System (only get info)
- Wifi (set, scan, get)
2019-01-01 00:58:54 +02:00

12 lines
299 B
Python

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)