{#Warning system#} ⭐️
GET
https://wapi.wizebot.tv/api/warnings/{API_KEY}/get/{VIEWER_IDENTIFIER}{#Recover the total number of warnings of a viewer.#}
Request
Path Params
API_KEY
string
required
{#API key (R) of your WizeBot account.#}
Example:
{{API_KEY_R}}
VIEWER_IDENTIFIER
string
required
{#Name of the viewer or identifier of the platform (digital) of the viewer.#}
Example:
Dere011
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
success
boolean
required
{#true or false, if the operation was successful.#}
user
object
required
{#Information (id, name) of target user.#}
user_id
string
required
{#Viewer ID.#}
user_name
string
required
{#Viewer Name.#}
warning_count
integer
required
{#Number of warnings assigned to the target viewer.#}
code
integer
required
{#The code associated with the request.#}
cache_timestamps
integer
required
{#The timestamps of caching.#}
Example
{
"success": true,
"user": {
"user_id": "28294141",
"user_name": "dere011"
},
"warning_count": 0,
"code": 200,
"cache_timestamps": 1714788109
}
Last modified: 7 months ago