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).
isOfficialBooleanFalse includes community tournaments, true excludes them. If omitted, defaults to false.
yearIntegerThe year to filter results to.
maxResultsIntegerLimits the results to the specified number, with a maximum of 10. If omitted, defaults to 5.
nextTokenStringA 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.