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
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
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 toontown.py-1.1.4.tar.gz.
File metadata
- Download URL: toontown.py-1.1.4.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edfd01fe526937a09926a26bfd7452c4a32fb6853c889c7defb0ddc7cfe90b8e
|
|
| MD5 |
ca779901b3d9fd93203aa434b6d33436
|
|
| BLAKE2b-256 |
076e1a3c1e0373c7eea3f56317ee25d25d524973d944f74fb346ae761bd0faca
|
File details
Details for the file toontown.py-1.1.4-py3-none-any.whl.
File metadata
- Download URL: toontown.py-1.1.4-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
552501db02c5036e2b7591eb3a40c2ba0a94645e3d75d9da0a92ae828fdcc332
|
|
| MD5 |
916095ff8ff957ca09d585a53088870f
|
|
| BLAKE2b-256 |
9411de29c53d38a34e782628a1aa2ff440383ab1d28c8a4a4a5f785c9a01626b
|