Upload 1.5.0 version

Upload docs
This commit is contained in:
Teleport
2023-05-08 21:43:58 +03:00
parent 852a407ceb
commit 6b771f8925
22 changed files with 676 additions and 367 deletions

14
examples/check_access.py Normal file
View File

@@ -0,0 +1,14 @@
import pyspw
# Init library
api = pyspw.SpApi(card_id='card_id',
card_token='card_token')
# Check access to server
print(api.check_access('287598524017803264')) # True
print(api.check_access('289341856083607552')) # False
# Check more than one access
print(api.check_accesses(['403987036219899908', '558667431187447809'], delay=1)) # False, True