Skip to main content

A simple Python wrapper for the Toontown Rewritten API

Project description

toontown.py

A simple Python API wrapper for the Toontown Rewritten API (https://github.com/ToontownRewritten/api-doc/)

Features

  • Asynchronous and synchronous
  • API complete

Installing

Python 3.8 or higher is required

# Linux/macOS
python3 -m pip install -U toontown.py

# Windows
py -3 -m pip install -U toontown.py

About

All methods return a tuple-like wrapper class with all the response data wrapped in objects

e.g. This will print all the current doodles in Toontown Rewritten

async with toontown.AsyncToontownClient() as client:
    doodles = await client.doodles()

    for doodle in doodles:
        print(doodle.district, doodle.playground, doodle.dna, doodle.rendition, doodle.traits, doodle.cost)

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

toontown.py-1.1.3.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

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

toontown.py-1.1.3-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

Details for the file toontown.py-1.1.3.tar.gz.

File metadata

  • Download URL: toontown.py-1.1.3.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for toontown.py-1.1.3.tar.gz
Algorithm Hash digest
SHA256 47cf49ac24294eec4e60f13c45ec1e4fb26346a2c69ac13e9f43b684ad55d8c4
MD5 223e26b50cba5ba9c9bd9c29b846cfcf
BLAKE2b-256 7c53e348087649f24e02ba3af8b0e9f7e725814f02f1e68b0415c38fdd40a639

See more details on using hashes here.

File details

Details for the file toontown.py-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: toontown.py-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 25.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for toontown.py-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c81a0cb030233b6e1de5027986ed59c77a7741a6c206099e25b14d5785f52afe
MD5 e3a4b709f4c56d435acf6266bb7e88e6
BLAKE2b-256 ebf969da65ddc10ddc3af31fb631a4b3799379b7087013481f3383d249e32d9d

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