Champions¶
- class cassiopeia.Champions(*args, **kwargs)[source]¶
Bases:
CassiopeiaLazyList
- 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(object)¶
Return number of occurrences of value.
- extend(iterable)¶
Extend list by appending elements from the iterable.
- filter(function)¶
- classmethod from_data(*args, **kwargs)¶
- included_data¶
A set of tags to return additonal information for this champion when it’s loaded.
- index(object, start: int = 0, stop: int = 9223372036854775807)¶
Return first index of value.
Raises ValueError if the value is not present.
- locale¶
The locale for this champion.
- platform¶
The platform for this champion.
- pop(index: int = - 1)¶
Remove and return item at index (default last).
Raises IndexError if list is empty or index is out of range.
- region¶
The region for this champion.
- 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.
- to_dict()¶
- to_json(**kwargs)¶
- version¶
The version for this champion.
- class cassiopeia.Champion(*args, **kwargs)[source]¶
Bases:
CassiopeiaGhost
Searchable by [‘str’, ‘int’, ‘Region’, ‘Platform’, ‘bool’]
- ally_tips¶
The tips for playing with this champion.
- ban_rates¶
- blurb¶
A short blurb about this champion.
- enemy_tips¶
The tips for playing against this champion.
- free_to_play¶
Whether or not the champion is currently free to play.
- free_to_play_new_players¶
Whether or not the champion is currently free to play for new players.
- id¶
The champion’s ID.
- image¶
The image information for this champion.
- included_data¶
A set of tags to return additonal information for this champion when it’s loaded.
- info¶
Info about this champion.
- key¶
The champion’s key.
- locale¶
The locale for this champion.
- lore¶
The champion’s lore.
- name¶
The champion’s name.
- passive¶
This champion’s passive.
- platform¶
The platform for this champion.
- play_rates¶
- recommended_itemsets¶
The champion’s recommended itemsets.
- region¶
The region for this champion.
- release_date¶
- resource¶
The type of resource this champion uses.
- skins¶
This champion’s skins.
- spells¶
This champion’s spells.
- sprite¶
- stats¶
The champion’s stats.
- tags¶
The tags associated with this champion.
- title¶
The champion’s title.
- version¶
The version for this champion.
- win_rates¶
- class cassiopeia.core.staticdata.champion.Info(**kwargs)[source]¶
Bases:
CassiopeiaObject
- attack¶
How attack-oriented Riot rates this champion.
- defense¶
How defense-oriented Riot rates this champion.
- difficulty¶
How Riot rates the difficulty of this champion.
- magic¶
How magic-oriented Riot rates this champion.
- class cassiopeia.core.staticdata.champion.Stats(**kwargs)[source]¶
Bases:
CassiopeiaObject
- armor¶
- armor_per_level¶
- attack_damage¶
- attack_damage_per_level¶
- attack_range¶
- attack_speed¶
- critical_strike_chance¶
- critical_strike_chance_per_level¶
- health¶
- health_per_level¶
- health_regen¶
- health_regen_per_level¶
- magic_resist¶
- magic_resist_per_level¶
- mana¶
- mana_per_level¶
- mana_regen¶
- mana_regen_per_level¶
- movespeed¶
- percent_attack_speed_per_level¶
- class cassiopeia.core.staticdata.champion.Skin(**kwargs)[source]¶
Bases:
CassiopeiaObject
Searchable by [‘str’, ‘int’]
- champion_key¶
The key for the champion this belongs to.
- id¶
The skin’s ID.
- loading_image¶
The skin’s loading screen image.
- loading_image_url¶
The skin’s loading screen image url.
- name¶
The skin’s name.
- number¶
The skin number.
- splash¶
The skin’s splash art.
- splash_url¶
The skin’s splash art url.
- class cassiopeia.core.staticdata.champion.Passive(**kwargs)[source]¶
Bases:
CassiopeiaObject
Searchable by [‘str’]
- description¶
The spells’ description.
- image_info¶
The info about the spell’s image, which can be pulled from datadragon.
- name¶
The spell’s name.
- sanitized_description¶
The spell’s sanitized description.
- class cassiopeia.core.staticdata.champion.RecommendedItems(**kwargs)[source]¶
Bases:
CassiopeiaObject
Searchable by [‘str’, ‘Item’, ‘GameMode’]
- item_sets¶
The recommended item sets.
- map¶
The name of the map these recommendations are for.
- mode¶
The game mode these recommendations are for.
- priority¶
Whether this is a priority recommendation.
- title¶
The title of these recommendations.
- type¶
The type of recommendation.
- class cassiopeia.core.staticdata.champion.ItemSet(**kwargs)[source]¶
Bases:
CassiopeiaObject
Searchable by [‘str’, ‘Item’]
- items¶
A dictionary of items mapped to how many of them are recommended.
- rec_math¶
Well, we don’t know what this one is. let us know if you figure it out.
- type¶
The item set’s type (e.g. starting items).
- class cassiopeia.core.staticdata.champion.ChampionSpell(**kwargs)[source]¶
Bases:
CassiopeiaObject
Searchable by [‘str’, ‘Key’]
- alternative_images¶
The alternative images for this spell. These won’t exist after patch NN, when Riot standardized all images.
- cooldowns¶
The cooldowns of this spell (per level).
- costs¶
The resource costs of this spell (per level).
- description¶
The spell’s description.
- effects¶
The level-by-level replacements for {{ e# }} tags in other values.
- effects_by_level¶
The level-up changes, level-by-level.
- image_info¶
The info about the spell’s image, which can be pulled from datadragon.
- key¶
The spell’s key.
- keyboard_key¶
Q, W, E, or R
- keywords¶
The keywords for this spell.
- max_rank¶
The maximum rank this spell can attain.
- name¶
The spell’s name.
- range¶
The maximum range of this spell. self if it has no range.
- resource¶
The resource consumed when using this spell.
- sanitized_description¶
The spell’s sanitized description.
- sanitized_tooltip¶
The spell’s sanitized tooltip.
- tooltip¶
The spell’s tooltip.
- variables¶
Contains spell data.
- class cassiopeia.core.staticdata.champion.SpellVars(**kwargs)[source]¶
Bases:
CassiopeiaObject
Searchable by [‘str’]
- coefficients¶
The scaling coefficients for this spell.
- dynamic¶
Well, we don’t know what this one is. let us know if you figure it out.
- key¶
Well, we don’t know what this one is. let us know if you figure it out.
- link¶
Stat this spell scales from.
- ranks_with¶
Well, we don’t know what this one is. let us know if you figure it out.
- class cassiopeia_championgg.core.ChampionGGStats(**kwargs)[source]¶
Bases:
CassiopeiaObject
- assists¶
- ban_rate¶
- championgg_metadata¶
- damage_composition¶
- deaths¶
- elo¶
- games_played¶
- gold_earned¶
- id¶
- kills¶
- matchups¶
- minions_killed¶
- neutral_minions_killed_in_enemy_jungle¶
- neutral_minions_killed_in_team_jungle¶
- patch¶
- performance_score¶
- play_rate¶
- play_rate_by_role¶
- role¶
- total_damage_taken¶
- total_healed¶
- wards_killed¶
- win_rate¶
- class cassiopeia_championgg.core.ChampionGGMatchups(*args, **kwargs)[source]¶
Bases:
CassiopeiaLazyList
- class cassiopeia_championgg.core.ChampionGGMatchup(*args, **kwargs)[source]¶
Bases:
CassiopeiaGhost
Searchable by [‘str’]
- elo¶
- enemy¶
- me¶
- nmatches¶
- patch¶
- region¶
- winrate¶
- class cassiopeia_championgg.core.ChampionGGMatchupStats(data, id)[source]¶
Bases:
object
- assists¶
- champion¶
- deaths¶
- delta_assists¶
- delta_deaths¶
- delta_gold_earned¶
- delta_killing_sprees¶
- delta_kills¶
- delta_minions_killed¶
- delta_neutral_minions_killed_team_jungle¶
- delta_ten_to_twenty¶
- delta_thirty_to_end¶
- delta_total_damage_dealt_to_champions¶
- delta_twenty_to_thirty¶
- delta_weighted_score¶
- delta_wins¶
- delta_zero_to_ten¶
- gold_earned¶
- id¶
- killing_sprees¶
- kills¶
- minions_killed¶
- neutral_minions_killed_team_jungle¶
- role¶
- thirty_to_end¶
- total_damage_dealt_to_champions¶
- twenty_to_thirty¶
- weighted_score¶
- winrate¶
- wins¶
- zero_to_ten¶