A tiny API wrapper in Python for Kinguin e-commerce API (Kinguin-eCommerce-API)
pip install kinguin-client
from kinguin_client import Kinguin
client = Kinguin(api_key="API_KEY")
client.balance().get()
{'balance': 0}
client.orders().get()
{'results': [], 'item_count': 0}
- Get products (
Kinguin.products().get()
) - Get orders (
Kinguin.orders().get()
) - Check your balance (
Kinguin.balance().get()
) - Post orders (
Kinguin.orders().post(payload)
)
MIT