Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. {{indexmenu_n>5}} ====== Embedding the Engine into Other Services ====== **The GET parameter `json` must be added to all requests. In this case, the response will be returned in JSON format.** ===== Authentication ===== Used: **login.php** **POST parameters:** **user** - player login **pass** - player password You must save cookies and pass them all in subsequent requests. If the response contains a field named **login_error**, the authentication failed. ===== Creating One-Time Teams ===== Entry point: **admin/game_teams.php** GET parameters: * **gid** - Game ID * **json** - enables API mode POST: An array of unique player/team tokens in JSON format. The response returns a JSON containing the team names (the tokens accepted in POST), team IDs, and keys for entering the game. The link to enter the game is assembled as: /game.php?gid=**game_id**&tid=**team_id**&key=**team_key** en/authors_main/admin_api/api_embed_engine.txt Last modified: 2026/06/11 22:34(external edit)