Last updated:
0 purchases
pssapi 0.5.1
Wrapper for the Pixel Starships API
This library allows you to request the Pixel Starships API through a Python Wrapper.
Supported Platforms
Python: 3.11
Usage
Installation
You can install this module using your package management method. For example:
pip install pssapi
Get started
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__":
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
asyncio.run(main())
Contributing
Install development dependencies
Linux:
make init
Windows:
./win init
Format code
Linux:
make format
Windows:
./win format
Check & Test
Linux:
make check
make test
Windows:
./win check
./win test
Showcase
poetry run python examples/showcase.py
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.