Matches¶
- cassiopeia.Summoner.match_history¶
- cassiopeia.get_match_history(puuid: Optional[str] = None, start_time: Optional[Arrow] = None, end_time: Optional[Arrow] = None, queue: Optional[Queue] = None, type: Optional[MatchType] = None, start: Optional[int] = None, count: Optional[int] = None)¶
- class cassiopeia.core.match.MatchHistory(*args, **kwargs)[source]¶
Bases:
CassiopeiaLazyList
The match history for a summoner. By default, this will return the entire match history.
- append(item)¶
Append object to the end of the list.
- clear()¶
Remove all items from list.
- copy()¶
Return a shallow copy of the list.
- count¶
Return number of occurrences of value.
- end_time¶
- extend(iterable)¶
Extend list by appending elements from the iterable.
- filter(function)¶
- classmethod from_data(*args, **kwargs)¶
- index(object, start: int = 0, stop: int = 9223372036854775807)¶
Return first index of value.
Raises ValueError if the value is not present.
- pop(index: int = - 1)¶
Remove and return item at index (default last).
Raises IndexError if list is empty or index is out of range.
- remove(object)¶
Remove first occurrence of value.
Raises ValueError if the value is not present.
- reverse()¶
Reverse IN PLACE.
- search(item: Any, streaming: bool = False, reverse: bool = False) Union[SearchableList, Generator[Any, None, None]] ¶
- sort(*, key=None, reverse=False)¶
Stable sort IN PLACE.
- start¶
- start_time¶
- to_dict()¶
- to_json(**kwargs)¶
- class cassiopeia.Match(*args, **kwargs)[source]¶
Bases:
CassiopeiaGhost
Searchable by [‘str’, ‘Continent’, ‘Queue’, ‘MatchType’, ‘GameMode’, ‘Map’, ‘GameType’, ‘Item’, ‘Patch’, ‘Summoner’, ‘SummonerSpell’]
- blue_team¶
- continent¶
The continent for this match.
- creation¶
- duration¶
- exists¶
- game_type¶
- id¶
- is_remake¶
- map¶
- mode¶
- participants¶
- patch¶
- platform¶
The platform for this match.
- queue¶
- red_team¶
- region¶
The region for this match.
- start¶
- teams¶
- timeline¶
- type¶
- version¶
- class cassiopeia.core.match.Team(**kwargs)[source]¶
Bases:
CassiopeiaObject
Searchable by [‘str’, ‘bool’, ‘Champion’, ‘Summoner’, ‘SummonerSpell’]
- bans¶
- baron_kills¶
- dominion_score¶
- dragon_kills¶
- first_baron¶
- first_blood¶
- first_dragon¶
- first_inhibitor¶
- first_rift_herald¶
- first_tower¶
- inhibitor_kills¶
- participants¶
- rift_herald_kills¶
- side¶
- tower_kills¶
- win¶
- class cassiopeia.core.match.Participant(**kwargs)[source]¶
Bases:
CassiopeiaObject
Searchable by [‘str’, ‘Summoner’, ‘Champion’, ‘Side’, ‘Rune’, ‘SummonerSpell’]
- champion¶
- cumulative_timeline¶
- ended_in_early_surrender¶
- enemy_team¶
- id¶
- individual_position¶
- is_bot¶
- lane¶
- role¶
- runes¶
- side¶
- skill_order¶
- stat_runes¶
- stats¶
- summoner¶
- summoner_spell_d¶
- summoner_spell_f¶
- team¶
- team_position¶
- timeline¶
- version¶
- class cassiopeia.core.match.ParticipantStats(**kwargs)[source]¶
Bases:
CassiopeiaObject
Searchable by [‘str’, ‘Item’]
- assists¶
- baron_kills¶
- bounty_level¶
- champion_experience¶
- consumables_purchased¶
- damage_dealt_to_buildings¶
- damage_dealt_to_objectives¶
- damage_dealt_to_turrets¶
- damage_self_mitigated¶
- deaths¶
- double_kills¶
- dragon_kills¶
- first_blood_assist¶
- first_blood_kill¶
- first_tower_assist¶
- first_tower_kill¶
- classmethod from_data(data: ParticipantStatsData, match: Match, participant: Participant)[source]¶
- gold_earned¶
- gold_spent¶
- inhibitor_kills¶
- inhibitor_takedowns¶
- inhibitors_lost¶
- items¶
- items_purchased¶
- kda¶
- killing_sprees¶
- kills¶
- largest_critical_strike¶
- largest_killing_spree¶
- largest_multi_kill¶
- level¶
- longest_time_spent_living¶
- magic_damage_dealt¶
- magic_damage_dealt_to_champions¶
- magic_damage_taken¶
- neutral_minions_killed¶
- nexus_kills¶
- nexus_lost¶
- nexus_takedowns¶
- objectives_stolen¶
- objectives_stolen_assists¶
- penta_kills¶
- physical_damage_dealt¶
- physical_damage_dealt_to_champions¶
- physical_damage_taken¶
- quadra_kills¶
- sight_wards_bought¶
- spell_1_casts¶
- spell_2_casts¶
- spell_3_casts¶
- spell_4_casts¶
- summoner_spell_1_casts¶
- summoner_spell_2_casts¶
- time_CCing_others¶
- time_played¶
- total_damage_dealt¶
- total_damage_dealt_to_champions¶
- total_damage_shielded_on_teammates¶
- total_damage_taken¶
- total_heal¶
- total_heals_on_teammates¶
- total_minions_killed¶
- total_time_cc_dealt¶
- total_time_spent_dead¶
- total_units_healed¶
- triple_kills¶
- true_damage_dealt¶
- true_damage_dealt_to_champions¶
- true_damage_taken¶
- turret_kills¶
- turret_takedowns¶
- turrets_lost¶
- unreal_kills¶
- vision_score¶
- vision_wards_bought¶
- vision_wards_placed¶
- wards_killed¶
- wards_placed¶
- win¶
- class cassiopeia.core.match.ParticipantTimeline[source]¶
Bases:
object
- champion_assists¶
- champion_deaths¶
- champion_kills¶
- events¶
- frames¶
- class cassiopeia.core.match.Timeline(*args, **kwargs)[source]¶
Bases:
CassiopeiaGhost
- continent¶
- first_tower_fallen¶
- frame_interval¶
- frames¶
- id¶
- platform¶
- region¶
- class cassiopeia.core.match.Frame(**kwargs)[source]¶
Bases:
CassiopeiaObject
- events¶
- participant_frames¶
- timestamp¶
- class cassiopeia.core.match.ParticipantFrame(**kwargs)[source]¶
Bases:
CassiopeiaObject
- creep_score¶
- current_gold¶
- dominion_score¶
- experience¶
- gold_earned¶
- level¶
- neutral_minions_killed¶
- participant_id¶
- position¶
- team_score¶
- class cassiopeia.core.match.Event(**kwargs)[source]¶
Bases:
CassiopeiaObject
Searchable by [‘str’]
- after_id¶
- ascended_type¶
- assisting_participants¶
- before_id¶
- building_type¶
- captured_point¶
- creator_id¶
- item_id¶
- killer_id¶
- lane_type¶
- level_up_type¶
- monster_sub_type¶
- monster_type¶
- participant_id¶
- position¶
- side¶
- skill¶
- timestamp¶
- tower_type¶
- type¶
CHAMPION_KILL, WARD_PLACED, WARD_KILL, BUILDING_KILL, ELITE_MONSTER_KILL, ITEM_PURCHASED, ITEM_SOLD, ITEM_DESTROYED, ITEM_UNDO, SKILL_LEVEL_UP, ASCENDED_EVENT, CAPTURE_POINT, PORO_KING_SUMMON
- Type:
Legal values
- victim_id¶
- ward_type¶
- class cassiopeia.core.match.CumulativeTimeline(id: int, participant_timeline: ParticipantTimeline)[source]¶
Bases:
object
- class cassiopeia.core.match.ParticipantState(id: int, time: timedelta, participant_timeline: ParticipantTimeline)[source]¶
Bases:
object
The state of a participant at a given point in the timeline.
- assists¶
- creep_score¶
- current_gold¶
- deaths¶
- dominion_score¶
- experience¶
- gold_earned¶
- items¶
- kda¶
- kills¶
- level¶
- neutral_minions_killed¶
- objectives¶
Number of objectives assisted in.
- position¶
- skills¶
- team_score¶