-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
This page describes all the variables and functions that you can use to set up the GameJolt API in your game.
The base URL of the Gamejolt API: api.gamejolt.com/api/game/v1_2
The Game ID of your game. You can find it on Game Jolt: Game Page > Manage Game > Game API > API Settings
.
The Private Key of your game. You can find it on Game Jolt: Game Page > Manage Game > Game API > API Settings
.
This variable will store the Game Jolt username of the player.
This variable will store the Game Token of the player. For more information about the Game Token, check the Game Jolt website.
Set up the Game API settings. This function must be called first.
Parameters
- "game_id": String. The Game ID of your game.
- "game_token": String. The Private Key of your game.
Automatically sets up the username and game token of the current player. This function only works for HTML5 games.