en:authors_main:admin_api:api_embed_engine

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.

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.

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)