Attendance Machine Libraries for python with a connection to the network using the UDP protocol and port 4370
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 4 commits ahead, 22 commits behind dnaextrim:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
zklib
.DS_Store
.gitignore
LICENSE
LICENSE.txt created python package Jun 28, 2015
MANIFEST
README.md
README.txt
setup.py changed author data Jul 1, 2015
zktest.py

README.md

Python ZKLib

ZK fingerprint Attendance Machine Library for python with a connection to the network using the UDP protocol and port 4370

Getting started

Login as admin to attendance machine and set the ip address for example (to 192.168.0.201) and connect the machine with ethernet to your network

Connect to the machine

import sys
from zklib import zklib

import time
from zklib import zkconst




zk = zklib.ZKLib("192.168.0.201", 4370)
ret = zk.connect()
print "connection:", ret

If result was

connection True

Then you are connected.

More examples on how to use the Library available in the zktest.py file