Skip to main content

A library that allows interacting with the SuperTuxKart API

Project description

SuperTuxKart API Wrapper for Python

Python Version from PEP 621 TOML PyPI - License Gitea Stars Gitea Last Commit

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


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.5.post1.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

supertuxkart_py-0.1.5.post1-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file supertuxkart_py-0.1.5.post1.tar.gz.

File metadata

  • Download URL: supertuxkart_py-0.1.5.post1.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for supertuxkart_py-0.1.5.post1.tar.gz
Algorithm Hash digest
SHA256 1cab4ebf86e25c3faabd3625c8d269c19c987bf566bce878a95b0184453a3097
MD5 afff1a4f63a8167fbdf5b1d11f01c722
BLAKE2b-256 99fa041c5b00c4dc497bb97fb24f1dccdd587eda79a1bacc3b899ca23dde3ce6

See more details on using hashes here.

File details

Details for the file supertuxkart_py-0.1.5.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for supertuxkart_py-0.1.5.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 96b9ca4b42129e0106f83eb7a778870076409aa9ec850c238abf314d44d174f7
MD5 a5e3a3f5294e166b3e3e349af5faed0d
BLAKE2b-256 3cff208cbf0e901a898903763f9165a54e1d78135c8b5e18192e22924c5ecbcc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page