8000 GitHub - deesiigneer/pyspapi: API wrapper for SP servers written in Python.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

deesiigneer/pyspapi

Repository files navigation

pyspapi

Discord server invite GitHub release (latest by date including pre-releases) PyPI downloads info PyPI version info pyspapi documentation

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

About

API wrapper for SP servers written in Python.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages

0