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.saved_session()
>>> session.userid
513714
>>> session.username
'Sayori'
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.1.8.tar.gz
(9.1 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.1.8.tar.gz.
File metadata
- Download URL: supertuxkart_py-0.1.8.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26c2f2b08827cf8707a5a08b5fcb3e91530eed36f8f61b93585f7bc8e063a0b5
|
|
| MD5 |
11f9c28ab74b7f6c29b90191a420091e
|
|
| BLAKE2b-256 |
3fdf829f9df8e02e1bff18b378099ea96c809f1e6325d8a540b3474e8bc5ab3b
|
File details
Details for the file supertuxkart_py-0.1.8-py3-none-any.whl.
File metadata
- Download URL: supertuxkart_py-0.1.8-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d2d1f4ce21bb40ea012aa3f1cee8ad70711d5a43be49ddf9c3416b118e3a342
|
|
| MD5 |
fb363b7702afbd9fc8ecc2dc175ede82
|
|
| BLAKE2b-256 |
980b8b7af6ba44d5a7a7c9e448ba3573f2274e66c206fd08b79e8e6a4c39e4fb
|