Game stat API
Endpoints
Update a stat value
PUT https://api.trytalo.com/v1/game-stats/:internalName
Headers
Key | Required | Description |
---|---|---|
x-talo-player | ✅ Yes | The ID of the player |
Route params
Key | Required | Description |
---|---|---|
internalName | ✅ Yes | The internal name of the stat |
Body keys
Key | Required | Description |
---|---|---|
change | ✅ Yes | The amount to add to the current value of the stat (can be negative) |
Sample request
{ ... }
Sample response
{ ... }