睿视接口的封装
Project description
ruishi
睿视门禁API的封装
使用方法
from ruishi import Ruishi
from ruishi.models import UserCreate
user = Ruishi(UserCreate(username='yourusername', password='yourpassword'))
rooms = user.get_room_list()
print([room.dict() for room in rooms])
doors = user.get_device_list([room.nodeUuid.hex for room in rooms])
print(print([door.dict() for door in doors]))
print(user.open_door('dooruuid'))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ruishi-0.1.9.tar.gz
(5.1 kB
view hashes)
Built Distribution
ruishi-0.1.9-py3-none-any.whl
(6.4 kB
view hashes)