True if the player is the captain at the start of the game.
First name of the player.
ID of the player as defined by the data provider.
Last (family) name of the player.
Role of the player
Shirt number that the player used in one of the games object of the analysis, may be undefined if he has not played
True if the player was a substitute at the start of the game.
Team of the player
Handle the position of the opponents of the given player.
Handle the position of the player and his teammates/opponents, available only when we have tracking data.
Handle the position of the teammates of the given player.
Add an attribute to the player, this attribute will persist on the player until the end of the game, starting from the current event timestamp.
name of the attribute
value of the attribute
Get the value a player specific attribute, returns undefined if the attribute is not available for the given player in the current match or it's available from a timestamp greater than the one in the current event.
name of the attribute
an attribute value or undefined
Check if the given player has a particular attribute active, returns false if the attribute is not available for the given player in the current match or it's available from a time greater than the one in the current event.
name of the attribute
true if a player attribute is available for the given player.
Returns if the player is the one in the paramater.
the name, the id or the player object itself
Reset the given attribute of the player from the timestamp of the current event. The attribute will not be available anymore on the player from that timestamp and on next events.
name of the attribute
true if the attribute was available for the given player
A player object