rtdany10 / etimetracklite

Pull checkin logs from eTimeTrackLite (eSSL) using python
MIT License
4 stars 0 forks source link
biometric essl etimetracklite python-script zkteco

eTimeTrackLite Web - Python

Pull checkin logs from eTimeTrackLite Web (eSSL) using python. This does not work with the desktop version of the application.

Sample Code:

machine = eTimeTrackLite(domain="my-ip-address")
machine.set_request_body({
    "from_time": "from-time",
    "to_time": "to-time",
    "serial_no": "device-serial-no",
    "username": "web-user",
    "password": "web-user-password",
})
machine.fetch_logs()
print(machine.logs[0]) -> ['1002', '2023-12-05 07:30:30', '']

Use machine.logs to get the logs.