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")
>>> client.account.authorize()
>>> 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.2.0.tar.gz
(9.2 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.0.tar.gz.
File metadata
- Download URL: supertuxkart_py-0.2.0.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2b9540e74e3b9c59d662d20068ce9c7f55df5ab8178da5d4446917efc56279f
|
|
| MD5 |
f1be4cfe445d8f8c0cd72f76a59097e4
|
|
| BLAKE2b-256 |
ca9cf3df35418546e9072038f6d8e101597fee4f028ee2f9f9500988c51b1561
|
File details
Details for the file supertuxkart_py-0.2.0-py3-none-any.whl.
File metadata
- Download URL: supertuxkart_py-0.2.0-py3-none-any.whl
- Upload date:
- Size: 12.0 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 |
cf8cc725551d89cb41e7245eaae76d2112a880a0732f3a122e0a444fe8782d91
|
|
| MD5 |
3bbb487a23c0f4e0caf864a8c0d1133e
|
|
| BLAKE2b-256 |
c801940fcabc24a6248ed1f39a0b94abe96dccf05500adede11f98d6709b229d
|