Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Currently, tooner allows you to communicate with Toontown Rewritten's login API in order to log in and start a session with very few lines of code.
launcher = tooner.ToontownLauncher(directory="...")
launcher.play(username="username", password="password")
If you're crazy, you can even combine these lines into one!
All you have to do is supply the directory of your Toontown Rewritten installation (where the TTREngine is stored) and your login information. On Windows, check your program files directories. On MacOS, this is in your Application Support directory. Eventually, I'd like to make this library automatically find the installation.
The best part is that you can do this to play multiple toons at once.
You are also able to get the latest invasion information.
tracker = tooner.InvasionTracker()
invasions = tracker.invasions
Unfortunately, latest does not mean freshest in this case, as fresh information is pushed to the Toontown Rewritten Invasion API noticeably infrequently.
Since I normally play on MacOS, there is no way for me to open multiple sessions of the Toontown Rewritten launcher without doing it from the terminal; this was really annoying to do every time I wanted to multitoon (which is a lot), so I set out to make this easier.
Ultimately, I was successful in making this functionality work the three major operating systems: Windows, MacOS, and, I assume, on Linux (I haven't been able to test this).
It's easiest to simply install the package via pip using the following command:
pip install tooner
Otherwise, you can close this repository using the command
git clone https://github.com/jakebrehm/tooner.git
and then you can do whatever you want with it!
My two main concerns and top priorities for this package are the following:
The following projects are using tooner:
FAQs
An easier way to manage and launch sessions for Toontown Rewritten.
We found that tooner demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.