Team
Represents a team in a match.
Source code in nexar/models/match/team.py
bans = None
class-attribute
instance-attribute
List of champion bans for this team. May be None for some game modes.
objectives = None
class-attribute
instance-attribute
Objectives taken by this team. May be None for some game modes.
team_id
instance-attribute
Team identifier (100 for blue, 200 for red).
win
instance-attribute
Whether this team won the match.
from_api_response(data)
classmethod
Create Team from API response.
Source code in nexar/models/match/team.py
Enhanced team information with participants and aggregated stats.
Source code in nexar/models/match/team.py
bans
instance-attribute
List of champion bans for this team.
objectives
instance-attribute
Objectives taken by this team.
participants
instance-attribute
List of participants on this team.
team_id
instance-attribute
Team identifier (100 for blue, 200 for red).
total_assists
property
Total assists by all team members.
total_damage
property
Total damage dealt to champions by all team members.
total_damage_taken
property
Total damage taken by all team members.
total_deaths
property
Total deaths by all team members.
total_gold_earned
property
Total gold earned by all team members.
total_kills
property
Total kills by all team members.
total_vision_score
property
Total vision score by all team members.
win
instance-attribute
Whether this team won the match.
Container for blue and red team information.
Source code in nexar/models/match/team.py
blue
instance-attribute
Information for the blue side team (team_id=100).
red
instance-attribute
Information for the red side team (team_id=200).
Represents a champion ban.
Source code in nexar/models/match/team.py
champion_id
instance-attribute
ID of the banned champion.
pick_turn
instance-attribute
The pick/ban turn number when this ban occurred.
from_api_response(data)
classmethod
Represents an objective (baron, dragon, etc.).
Source code in nexar/models/match/team.py
first
instance-attribute
Whether this objective was taken first by the team.
kills
instance-attribute
Number of times this objective was taken by the team.
from_api_response(data)
classmethod
Represents team objectives.
Source code in nexar/models/match/team.py
baron
instance-attribute
Baron Nashor objective stats.
champion
instance-attribute
Champion takedown objective stats.
dragon
instance-attribute
Dragon objective stats.
horde
instance-attribute
TODO
inhibitor
instance-attribute
Inhibitor objective stats.
rift_herald
instance-attribute
Rift Herald objective stats.
tower
instance-attribute
Tower objective stats.
from_api_response(data)
classmethod
Create Objectives from API response.