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.2.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.2-py3-none-any.whl (280.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pssapi-0.7.2.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.2.tar.gz
Algorithm Hash digest
SHA256 9286744d56728535bdaeeda55a7196e8d9ca08b380d702fb98310a38fd26bed5
MD5 e0cbed58bcab8cc33a73d8800b3749c3
BLAKE2b-256 ca274617325ea347b178c2d1a426a0539f06d8142c17c3d3fdb6cb51b5687595

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pssapi-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 280.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ecb64726fd4b4627ca749ba0ed8a73e196bc3746e35c23574f9badb2f829587c
MD5 84821c88552d85de6bb24926da179382
BLAKE2b-256 ba55b90e46645a450c53d0fb24447c0a8bd9c6e86a2a9aa148ddaec59bbf05ac

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