rtdany10 / etimetracklite

Pull checkin logs from eTimeTrackLite (eSSL) using python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Pull checkin logs from eTimeTrackLite (eSSL) using python

License:MIT License


Languages

Language:Python 100.0%