This API request enables the operator to check weather player is gaming or not.
PlayerCheck() Request
Type | Input |
---|---|
HTTP Method | POST |
API URL | https://<API_BASE_URL>/games/is-player-gaming/ |
Headers | "Content-Type": "application/json" |
POST Parameters | json object e.g.: { |
Parameters | Type | Description |
---|---|---|
api_key | String | API Key allocated to each front-end |
username | String | Player’s username. |
password | String | Player’s password. |
PlayerCheck() Response & Example
{
"result": {
"username": "test_username",
"currency": "EUR",
"is_gaming": false
}
}
Object/Key in Response Object | Type | Description |
---|---|---|
result | JSON Object | Key result contains the JSON object as value. |
result.username | String | Players Username |
result.currency | String | Players Currency |
result.is_gaming | Boolean | True indicates, Player is gaming |