API wrapper for SP servers written in Python
Reason this release was yanked:
Modules fix
Project description
pyspapi
API wrapper for SP servers written in Python.
Installation
Requires Python 3.8 or higher
Windows
pip install pyspapi
Linux/macOS
pip3 install pyspapi
Quick example
Checking the balance
from pyspapi import SPAPI
from asyncio import get_event_loop
spapi = SPAPI(card_id='CARD_ID', token='TOKEN')
async def main():
print(await spapi.balance)
loop = get_event_loop()
loop.run_until_complete(main())
More examples can be found in the examples
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyspapi-3.1.1.tar.gz
(5.2 kB
view details)
File details
Details for the file pyspapi-3.1.1.tar.gz
.
File metadata
- Download URL: pyspapi-3.1.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4ca9ff5b1943a4addd81414076c6e22f3ef2dc7b7accb284dba377e3a7154d8 |
|
MD5 | d109718d53c18fea8bae41ac917ba8e5 |
|
BLAKE2b-256 | f828431d5a436c8c0b20faea23f58d09df7198d566fd35f3d6cba1ccf583af8c |