GetPlayerLegends

Returns a player’s most used legends by year.

Request

Syntax

https://api.brawltools.com/v2/player/legend

Query Parameters

ParameterTypeRequiredDescription
playerIdsString✔️The ID(s) of the player(s).
isOfficialBoolean❌False includes community tournaments, true excludes them. If omitted, defaults to false.
yearInteger❌The year to filter results to.
maxResultsInteger❌Limits the results to the specified number, with a maximum of 10. If omitted, defaults to 5.
nextTokenString❌A string specifying the next page of results.

Response

Sample Response

{
  "legends": [
    {
      "name": "RENO",
      "count": 57
    },
    {
      "name": "JHALA",
      "count": 15
    },
    {
      "name": "CROSS",
      "count": 10
    },
    {
      "name": "DIANA",
      "count": 9
    },
    {
      "name": "MUNIN",
      "count": 6
    }
  ],
  "nextToken": "6-TVVOSU4="
}

Response Elements

ElementTypeDescription
legendsObjectAn array of played legends for the player. This is a Legend datatype.
nextTokenStringA string to be used as a nextToken argument.