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.5.1.tar.gz
(114.4 kB
view details)
Built Distribution
pssapi-0.5.1-py3-none-any.whl
(251.6 kB
view details)
File details
Details for the file pssapi-0.5.1.tar.gz
.
File metadata
- Download URL: pssapi-0.5.1.tar.gz
- Upload date:
- Size: 114.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.2 Linux/5.15.146.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0b3f9432a945e858fc5d4533005b99e22e28b99d85d414e960d1edaa2cb0aeb |
|
MD5 | 212270c7739c9671b16ea3e73ae7a734 |
|
BLAKE2b-256 | 36233639a1d88b990f3b477327f7ca7533441507097d5c31a276f167140ddf79 |
File details
Details for the file pssapi-0.5.1-py3-none-any.whl
.
File metadata
- Download URL: pssapi-0.5.1-py3-none-any.whl
- Upload date:
- Size: 251.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.2 Linux/5.15.146.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb6eb19cd87ce2889fef6fe8345fa90a6af584887a61ae8a746ea9a9130ca645 |
|
MD5 | 11562903c7d8bcecf34d6d8d80ce1e0f |
|
BLAKE2b-256 | 2642d9144f15b11729fb0351cad6eeadde90821da7a645ad511be2947f283847 |