Transformice Api

The API primarily communicates via structured objects. Below is a conceptual example of a payload returned when querying a player profile endpoint:

By analyzing the packets sent from the server, you can extract real-time data:

Writing a packet encoder and decoder from scratch in raw TCP can take weeks. Fortunately, seasoned community developers have built robust open-source wrappers across multiple programming languages. Aiotf (Python)

: Most user-created scripts are tested and run in Tribal Houses before being submitted for "Official" status on the game's room list . A code template for a basic minigame module. A list of event IDs and color codes for UI development. Instructions on how to load and test scripts in-game. Lua | Transformice Wiki | Fandom transformice api

Mastering the Cheese: A Deep Dive into the Transformice API If you’ve ever wanted to track your stats, build a custom leaderboard, or create a unique tribe tool, the is your ticket to the back-end of the cheese-loving universe. Developed by Atelier 801, this API allows the community to pull real-time data from the game and build the fansites we all rely on.

Never use the API to harvest private player information or passwords.

: Because the in-game script input window expects a single flat text block, writing massive scripts can become disorganized. Utilizing community tools like Pshy's Merge Script Compiler on GitHub allows developers to write modular, organized scripts using standard require declarations before compiling them into a single executable payload. The API primarily communicates via structured objects

For over a decade, has remained a beloved staple of the online gaming world. Developed by Melibellule and Tigrounette (and published by Atelier 801), this chaotic, mouse-themed platformer is simple on the surface: a shaman summons objects to help other mice reach a piece of cheese and return to the hole. However, beneath its cute exterior lies a robust, community-driven ecosystem powered largely by its API .

Intercepting the raw data packets sent between the game client and the server.

Depending on your project's goals, you will use one or more of these avenues: Official Atelier 801 HTTP API Aiotf (Python) : Most user-created scripts are tested

You can pull live or historical data for any registered mouse. This includes:

If you do not want to host an external bot on a server, Transformice offers a robust, sandboxed directly inside the game. Anyone can load a custom script in a private room (using the /lua command) if they have the appropriate permissions or a Module team sponsorship.

A versatile Discord bot that bridges the gap between your tribe's chat and your Discord server.