Skip to main content

API wrapper for SP servers written in Python

Project description

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

asyncpyspapi

API wrapper for SP servers written in Python.

Installation

Requires Python 3.8 or higher

Windows

pip install asyncpyspapi

Linux/macOS

pip3 install asyncpyspapi

Quick example

Checking the balance

import asyncpyspapi

client = asyncpyspapi.SPAPI(card_id='card_id', token='token')
balance = await client.get_balance()
print("Balance:", balance)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asyncpyspapi-2.1.2.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

asyncpyspapi-2.1.2-py2.py3-none-any.whl (6.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file asyncpyspapi-2.1.2.tar.gz.

File metadata

  • Download URL: asyncpyspapi-2.1.2.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for asyncpyspapi-2.1.2.tar.gz
Algorithm Hash digest
SHA256 735284453d3ff54bf4e8f55b8c092884c81cdbbba0e9cb6162fad71c4ed02656
MD5 91c4aa8cbd48ae092d04d49546f65651
BLAKE2b-256 5024872071b42b6517e1b132bf3b5b3362243dd78b624a3557a575b9de4c833e

See more details on using hashes here.

File details

Details for the file asyncpyspapi-2.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for asyncpyspapi-2.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 700f45c32cc7dffb9aef22625c05ceaf1c87164ab2f94633af279e6112bf7f43
MD5 4438e601417ff142eddc6741053fc408
BLAKE2b-256 184746d0fa6e6706674f3c764537c8f95709c128ae582c2aa127eed9c64ce6cc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page