Py-SPW Documentation#
Library for work with SPWorlds API in Python.
Installation#
You need python >=3.7
pip install Py-SPW
Getting example#
Checking user access
import pyspw
# Инициализация класса
api = pyspw.SpApi(card_id='card_id',
card_token='card_token')
# Проверяем доступ к серверу
print(api.check_access('287598524017803264')) # True
print(api.check_access('289341856083607552')) # False
# Проверяем множество айди
print(api.check_accesses(['403987036219899908', '558667431187447809'], delay=1)) # False, True
Ask help#
See the code examples
If you found a bug in a library report it to issue tracker
Get help with your code using Py-SPW discussions