mirror of
https://github.com/yawaflua/Py-SPW.git
synced 2025-12-09 20:09:31 +02:00
34 lines
945 B
Markdown
34 lines
945 B
Markdown
[](https://pyspw.xstl.ru/ru/latest/?badge=latest)
|
|
|
|
# Py SPW
|
|
Library for work with [SPWorlds](https://spworlds.ru) API in Python.
|
|
|
|
## Installation
|
|
**You need python >=3.7**
|
|
|
|
```shell
|
|
pip install Py-SPW
|
|
```
|
|
|
|
## Getting example
|
|
*Checking user access*
|
|
```python
|
|
import pyspw
|
|
|
|
api = pyspw.SpApi(card_id='card_id',
|
|
card_token='card_token')
|
|
|
|
print(api.check_access('437610383310716930'))
|
|
```
|
|
|
|
## Ask help
|
|
|
|
* See the code [examples](https://github.com/teleportx/Py-SPW/tree/main/examples)
|
|
* If you found a bug in a library report it to [issue tracker](https://github.com/teleportx/Py-SPW/issues)
|
|
* Get help with your code using Py-SPW [discussions](https://github.com/teleportx/Py-SPW/discussions)
|
|
|
|
|
|
## Links
|
|
- [PyPi](https://pypi.org/project/Py-SPW)
|
|
- [Documentation](https://pyspw.xstl.ru/en/latest/)
|
|
- [API](https://github.com/sp-worlds/api-docs) |