A library that allows interacting with the SuperTuxKart API
Project description
SuperTuxKart API Wrapper for Python
A library that allows for interacting with teh SuperTuxKart 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
supertuxkart_py-0.2.1.tar.gz
(9.9 kB
view details)
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.1.tar.gz.
File metadata
- Download URL: supertuxkart_py-0.2.1.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
602b456ced05ef4d1bcf73ce571865eb5211cf9ee0a5fefa0d31e6b44a75db16
|
|
| MD5 |
ca19af84259fda4a70acfa8faf85ffce
|
|
| BLAKE2b-256 |
8b978fef722878a654c18529dedfd51ed032125be71772099e2cdbbd4d41b32c
|
File details
Details for the file supertuxkart_py-0.2.1-py3-none-any.whl.
File metadata
- Download URL: supertuxkart_py-0.2.1-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 |
0df244a131d4d329e24070f50fb81664b457990c2b0dcd3c876d28bda5f08f35
|
|
| MD5 |
4378120aba09d55fa1e03cf9b5c3a6af
|
|
| BLAKE2b-256 |
000e53ba8e1faa2424d8d24be20a8d59adf1beafd0f4c31f9dfc1989189ed676
|