A wrapper for the SuperTuxKart Online Service (STKAddons) API
Project description
SuperTuxKart Online Service API Wrapper
A library that allows for interacting with teh SuperTuxKart Online Service ("STKAddons") API.
Install
You can install supertuxkart.py using the following command:
pip install supertuxkart.py
... or if you want to use the git/development version:
pip install git+https://codeberg.org/linaSTK/stk.py
Example:
>>> import supertuxkart
>>> client = supertuxkart.SuperTuxKartClient(userid=513714, token="<token here>")
>>> # You can also use username/password auth, though
>>> # userid/token is prioritized if both specified
>>> client = supertuxkart.SuperTuxKartClient(username="Sayori", password="password")
>>> session = client.account.authorize()
>>> session
<SessionInfo token=xxxxxxxxxxxxxxxxxxxxxxxx username=Sayori realname=Sayori userid=513714 achieved=[2, 3, 5, 7, 8, 9]>
License
This project is licensed under the MIT license.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file supertuxkart_py-0.2.2.tar.gz.
File metadata
- Download URL: supertuxkart_py-0.2.2.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
785d50ba8057ed88d2aca1709fa788c6bfde711ae3c590aeb449a9729de66ee5
|
|
| MD5 |
596c8ef81e621061db134a9d5429bafe
|
|
| BLAKE2b-256 |
1858bbe85cd118721f98e1502290a2f7ae73f02f563a5a5abd13683c63c9b01f
|
File details
Details for the file supertuxkart_py-0.2.2-py3-none-any.whl.
File metadata
- Download URL: supertuxkart_py-0.2.2-py3-none-any.whl
- Upload date:
- Size: 12.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e32de884c2219e83c3a3a6154336a71c64f3de10fcf47f58541cdeb6e29ada9e
|
|
| MD5 |
6825b4609a6f3dd8c99ee3b34c75cc9b
|
|
| BLAKE2b-256 |
a8fffd6da73f1dfd26b8b05cecaef72aab3527fc793626aa4ec3acaa371e537b
|