Wrapper for the Pixel Starships API
Project description
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
Project details
Release history Release notifications | RSS feed
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.4.0.tar.gz
(111.9 kB
view hashes)
Built Distribution
pssapi-0.4.0-py3-none-any.whl
(243.5 kB
view hashes)