Skip to main content

A wrapper for the Pixel Starships API.

Project description

pssapi.py

Support Discord server invite Development status Package version Supported Python versions Code coverage

An async client library to access the Pixel Starships API.

✨ Features

  • Fully typehinted so your favorite IDE can assist you with code completion.
  • Easy access to any instance of a Pixel Starships API server.
  • Fast setup to get you started quickly.
  • Caching versioned endpoints to cut down traffic between your app and the servers.

🔍 Future plans

  • Use and support pydantic models
  • Implement aliases and properties to map values displayed in-game to the raw values returned by the API

🚀 Demo

To retrieve a list of all item designs:

import asyncio
from pssapi import PssApiClient

async def main():
    client = PssApiClient()

    item_designs = await client.item_service.list_item_designs()
    print(f"Found {len(item_designs)} item designs.")
    print(f"First item: {item_designs[0].item_design_name}")

if __name__ == "__main__":
    asyncio.run(main())

⚙️ Installation

Python 3.11 or higher is required

To install the latest version of this library, run the following command:

pip install -U pssapi

🖊️ Contribute

If you ran across a bug or have a feature request, please check if there's already an issue for that and if not, open a new one.

If you want to fix a bug or add a feature, please check out the Contribution Guide.

🆘 Support

If you need help using the library or want to contribute, you can join the support Discord at: discord.gg/kKguSec

👥 Contributors

🔗 Links

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

pssapi-0.7.1.tar.gz (9.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pssapi-0.7.1-py3-none-any.whl (280.3 kB view details)

Uploaded Python 3

File details

Details for the file pssapi-0.7.1.tar.gz.

File metadata

  • Download URL: pssapi-0.7.1.tar.gz
  • Upload date:
  • Size: 9.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for pssapi-0.7.1.tar.gz
Algorithm Hash digest
SHA256 4c017e02a20e6bb735f8bb4998fab0ea07ad66b509da8a556af8963267341241
MD5 c7f1d4bdf3969c2436c39681804808b4
BLAKE2b-256 0bb6561b5191fe233817b696e2e0c9cb261e371e889e4e0d1448d8ec3968a376

See more details on using hashes here.

File details

Details for the file pssapi-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: pssapi-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 280.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for pssapi-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1b941a418e14c3483dd27c3051a3dd333f2f58534200e03a45634a240ccf9cdc
MD5 409eaa299536fe6daf649b401272bea8
BLAKE2b-256 792f3012b843871bfc14eb1d772399c2f2d5e55bd4ac80889e95ae898ec05ea4

See more details on using hashes here.

Supported by

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