Legends
get
/legends/ranking-thresholds
Authorizations
AuthorizationstringRequired
in header (authorization: bearer [token])
Responses
200Success
application/json
500Error
application/json
get
/legends/ranking-thresholdsGET /v1/legends/ranking-thresholds HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"live": {
"timestamp": "text",
"thresholds": [
{
"rank": 1,
"minTrophies": 1
}
]
},
"eod": {
"timestamp": "text",
"thresholds": [
{
"rank": 1,
"minTrophies": 1
}
]
},
"history": [
{
"timestamp": "text",
"thresholds": [
{
"rank": 1,
"minTrophies": 1
}
]
}
]
}post
/legends/leaderboard/query
Authorizations
AuthorizationstringRequired
in header (authorization: bearer [token])
Body
playerTagsstring[] · max: 100RequiredExample:
["#2PP"]minRanknumberRequiredExample:
1maxRanknumberRequiredExample:
100Responses
201Success
application/json
500Error
application/json
post
/legends/leaderboard/queryPOST /v1/legends/leaderboard/query HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 49
{
"playerTags": [
"#2PP"
],
"minRank": 1,
"maxRank": 100
}{
"items": [
{
"tag": "text",
"name": "text",
"rank": 1,
"trophies": 1
}
]
}post
/legends/attacks/query
Authorizations
AuthorizationstringRequired
in header (authorization: bearer [token])
Body
playerTagsstring[] · min: 1 · max: 100RequiredExample:
["#2PP"]Responses
200Success
application/json
500Error
application/json
post
/legends/attacks/queryPOST /v1/legends/attacks/query HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 23
{
"playerTags": [
"#2PP"
]
}{
"items": [
{
"tag": "text",
"name": "text",
"seasonId": "text",
"trophies": 1,
"logs": [
{
"timestamp": 1,
"start": 1,
"end": 1,
"diff": 1,
"type": "text"
}
]
}
]
}get
/legends/{playerTag}/attacks
Authorizations
AuthorizationstringRequired
in header (authorization: bearer [token])
Path parameters
playerTagstringRequired
Responses
200Success
application/json
500Error
application/json
get
/legends/{playerTag}/attacksGET /v1/legends/{playerTag}/attacks HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"tag": "text",
"name": "text",
"seasonId": "text",
"trophies": 1,
"logs": [
{
"timestamp": 1,
"start": 1,
"end": 1,
"diff": 1,
"type": "text"
}
]
}Last updated
Was this helpful?