Skip to main content

LoLGamePlayer

Player's data for a Game

Properties

NameTypeRequiredDescription
assistsnumber
championLoLGamePlayerChampion
creepScorenumberThe player's Creep Score (CS.)

NB: Creep Score can be different that the number of minions killed because neutral monsters can give more score.
csAt14numberThe player's Creep Score (CS.) at 14minutes
csDiffAt14numberPlayer CS difference compared to their lane opponent at the 14th minute in-game
deathsnumber
flagsLoLFlags
gameIdnumberLoL game ID
goldEarnednumber
goldPercentagenumberPercentage of gold the player had compared to the total gold of the team
goldSpentnumber
itemsBaseLoLItem[]
killsnumber
killsCountersLoLKillCounters
killsSeriesLoLKillsSeries
largestCriticalStrikenumber
largestKillingSpreenumber
largestMultiKillnumber
levelnumber
magicDamageLoLMagicDamage
masteriesLoLMastery[]
minionsKillednumberThe player's Creep Score (CS.)
opponentLoLGamePlayerOpponent
physicalDamageLoLPhysicalDamage
playerBasePlayer
playerIdnumberID of the player
roleLoLGamePlayerRole
runesLoLRune[]
runesReforgedLoLPlayerRunesReforged
spellsLoLSpell[]
teamBaseTeam
totalDamageLoLTotalDamage
totalHealnumber
totalTimeCrowdControlDealtnumber
totalUnitsHealednumber
trueDamageLoLTrueDamage
wardsLoLWards
wardsPlacednumber

LoLGamePlayerChampion

Properties

NameTypeRequiredDescription
idnumber
imageUrlstring
namestring

LoLGamePlayerOpponent

Opponent1_3

Properties

NameTypeRequiredDescription
activebooleanWhether player is active
agenumberAge of the player, null if unknown. When birthday is null, age is an approxiamation. Read more about players' age
Note: This field is only present for users running the Historical plan or above.
birthdaystringBirth day of the player, YYYY-MM-DD format. null if unknown.
Note: This field is only present for users running the Historical plan or above.
firstNamestringFirst name of the player. null if unknown
idnumberID of the player
imageUrlstringURL to the photo of the player. null if not available.
lastNamestringLast name of the player. null if unknown
modifiedAtstring
namestringProfessional name of the player
nationalitystringCountry code matching the nationality of the player according to the ISO 3166-1 standard (Alpha-2 code).
In addition to the standard, the XK code is used for Kosovo.
null if unknown
rolestringRole/position of the player. Field value varies depending on the video game.null if unknown.
Note: role is only available for DotA 2, League of Legends, and Overwatch players.
null for other video games.
slugstringUnique, human-readable identifier for the player.
id and slug can be used interchangeably throughout the API.

Opponent2_3

Properties

NameTypeRequiredDescription
acronymstring
idnumber
imageUrlstringURL of the team logo
locationstringThe team's organization location
modifiedAtstring
namestringThe name of the team.
slugstring

LoLGamePlayerRole

Properties

NameTypeRequiredDescription
ADCstring"adc"
JUNstring"jun"
MIDstring"mid"
SUPstring"sup"
TOPstring"top"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →