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
make init
Format code
make format
Check & Test
make check
make test
Showcase
# install locally pssapi.py
pip install -e .
# run the showcase with examples
python 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.1.1.tar.gz
(96.3 kB
view hashes)
Built Distribution
pssapi-0.1.1-py3-none-any.whl
(204.9 kB
view hashes)