GetPlayerRecentLegend

Fetches a player’s recently played legends.

Request

Syntax

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

Path Parameters

ParameterTypeDescription
playerIdIntegerThe esports ID of the player being searched.

Response

Sample Response

{
  "legend": {
    "name": "MIRAGE",
    "count": 12
  }
}

Response Elements

ElementTypeDescription
legendObjectAn object containing the player’s most recent legend. This is a Legend data type.