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.1.tar.gz (11.8 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.1-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: toontown.py-1.1.1.tar.gz
  • Upload date:
  • Size: 11.8 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.1.tar.gz
Algorithm Hash digest
SHA256 56c30153e0558297cec6366f5c5515ad4620ee71f720b2685d4581e82b0298ad
MD5 c687f3c8150fc26ccfeadc2700892425
BLAKE2b-256 ef7035ed53b234663a2289f06033e68bce91d0b3fd0876ceb47d3ffd41699cb6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: toontown.py-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4dba00f4ef9effcd1536d5c5dbf941231cf75db9476cf43bfba7f0f95363a50e
MD5 4ee31b2fd80c2e3a7e4e21b7e013d26c
BLAKE2b-256 29caa10e523f993d303a78d10945b00792b6c889422a08057986157c9a7c0ee7

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