Players

Retrieve a player by their player ID.

get/v1/players/{player_id}

Request

  • Base URL
    https://api.aghanim.com/s2s
  • URL
    https://api.aghanim.com/s2s/v1/players/{player_id}
  • Auth
    HTTP bearer

Path parameters

player_idstring required

Response

Successful Response

custom_attributesobject

The player's custom attributes.

idstring required

The unique identifier of the user.

player_idstring required

The unique player ID of the user.

loyalty_pointsinteger

The amount of loyalty points the player has.

bannedboolean required

Whether the player is banned.

banned_reasonstring

The reason the player was banned.

banned_atinteger

The Unix timestamp (in seconds) when the player was banned.

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status