API wrapper for SP servers written in Python
Reason this release was yanked:
module 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.0.tar.gz
(5.2 kB
view hashes)