Data and Enums

These data are available as enums (constants) and can be used to interact with many of the objects and methods in Cass.

class cassiopeia.data.Continent(value)[source]

Bases: enum.Enum

An enumeration.

americas = 'AMERICAS'
asia = 'ASIA'
europe = 'EUROPE'
class cassiopeia.data.Division(value)[source]

Bases: enum.Enum

An enumeration.

four = 'IV'
one = 'I'
three = 'III'
two = 'II'
class cassiopeia.data.GameMode(value)[source]

Bases: enum.Enum

An enumeration.

all_random_summoners_rift = 'ARSR'
all_random_urf_snow = 'SNOWURF'
aram = 'ARAM'
ascension = 'ASCENSION'
assassinate = 'ASSASSINATE'
classic = 'CLASSIC'
dark_star = 'DARKSTAR'
dominion = 'ODIN'
doom_bots = 'DOOMBOTSTEEMO'
nexus_blitz = 'NEXUSBLITZ'
nexus_siege = 'SIEGE'
odyssey = 'ODYSSEY'
one_for_all = 'ONEFORALL'
overcharge = 'OVERCHARGE'
poro_king = 'KINGPORO'
practice_tool = 'PRACTICETOOL'
project = 'PROJECT'
showdown = 'FIRSTBLOOD'
star_guardian = 'STARGUARDIAN'
tutorial = 'TUTORIAL'
tutorial_1 = 'TUTORIAL_MODULE_1'
tutorial_2 = 'TUTORIAL_MODULE_2'
tutorial_3 = 'TUTORIAL_MODULE_3'
urf = 'URF'
utlbook = 'ULTBOOK'
class cassiopeia.data.GameType(value)[source]

Bases: enum.Enum

An enumeration.

custom = 'CUSTOM_GAME'
matched = 'MATCHED_GAME'
tutorial = 'TUTORIAL_GAME'
class cassiopeia.data.Key(value)[source]

Bases: enum.Enum

An enumeration.

E = 'E'
Q = 'Q'
R = 'R'
W = 'W'
class cassiopeia.data.Lane(value)[source]

Bases: enum.Enum

An enumeration.

bot_lane = 'BOT_LANE'
from_match_naming_scheme()[source]
jungle = 'JUNGLE'
mid_lane = 'MID_LANE'
top_lane = 'TOP_LANE'
utility = 'UTILITY'
class cassiopeia.data.MasteryTree(value)[source]

Bases: enum.Enum

An enumeration.

cunning = 'Cunning'
ferocity = 'Ferocity'
resolve = 'Resolve'
class cassiopeia.data.MatchType(value)[source]

Bases: enum.Enum

An enumeration.

normal = 'normal'
ranked = 'ranked'
tourney = 'tourney'
tutorial = 'tutorial'
class cassiopeia.data.Platform(value)[source]

Bases: enum.Enum

An enumeration.

brazil = 'BR1'
continent
default_locale
europe_north_east = 'EUN1'
europe_west = 'EUW1'
static from_region(region)[source]
japan = 'JP1'
korea = 'KR'
latin_america_north = 'LA1'
latin_america_south = 'LA2'
north_america = 'NA1'
oceania = 'OC1'
region
russia = 'RU'
turkey = 'TR1'
class cassiopeia.data.Position(value)[source]

Bases: enum.Enum

An enumeration.

apex = 'APEX'
bottom = 'BOTTOM'
from_league_naming_scheme()[source]
jungle = 'JUNGLE'
middle = 'MIDDLE'
none = 'NONE'
top = 'TOP'
utility = 'UTILITY'
class cassiopeia.data.Queue(value)[source]

Bases: enum.Enum

An enumeration.

all_random_summoners_rift = 'ARSR_5x5'
all_random_urf = 'ARURF_5X5'
all_random_urf_snow = 'SNOWURF'
aram = 'ARAM'
aram_butchers_bridge = 'BILGEWATER_ARAM_5x5'
ascension = 'ASCENSION_5x5'
black_market_brawlers = 'BILGEWATER_5x5'
blind_fives = 'NORMAL_5V5_BLIND_PICK'
blind_threes = 'NORMAL_3X3_BLIND_PICK'
blood_hunt_assassin = 'ASSASSINATE_5x5'
clash = 'CLASH'
coop_ai_beginner_fives = 'BOT_5X5_BEGINNER'
coop_ai_beginner_threes = 'BOT_3X3_BEGINNER'
coop_ai_intermediate_fives = 'BOT_5X5_INTERMEDIATE'
coop_ai_intermediate_threes = 'BOT_3X3_INTERMEDIATE'
coop_ai_intro_fives = 'BOT_5X5_INTRO'
coop_ai_intro_threes = 'BOT_3X3_INTRO'
custom = 'CUSTOM'
dark_star = 'DARKSTAR_3x3'
definitely_not_dominion = 'DEFINITELY_NOT_DOMINION_5x5'
deprecated_all_random_urf = 'ARURF_5X5'
deprecated_aram = 'ARAM_5x5'
deprecated_blind_dominion = 'ODIN_5x5_BLIND'
deprecated_blind_fives = 'NORMAL_5x5_BLIND'
deprecated_blind_threes = 'NORMAL_3x3'
deprecated_coop_ai_beginner_fives = 'BOT_5x5_BEGINNER_DEPRECATED'
deprecated_coop_ai_dominion = 'BOT_ODIN_5x5'
deprecated_coop_ai_fives = 'BOT_5x5'
deprecated_coop_ai_intermediate_fives = 'BOT_5x5_INTERMEDIATE_DEPRECATED'
deprecated_coop_ai_intro_fives = 'BOT_5x5_INTRO_DEPRECATED'
deprecated_coop_ai_threes = 'BOT_TT_3x3'
deprecated_doom_bots_rank_1 = 'NIGHTMARE_BOT_5x5_RANK1'
deprecated_doom_bots_rank_2 = 'NIGHTMARE_BOT_5x5_RANK2'
deprecated_doom_bots_rank_5 = 'NIGHTMARE_BOT_5x5_RANK5'
deprecated_draft_dominion = 'ODIN_5x5_DRAFT'
deprecated_draft_fives = 'NORMAL_5x5_DRAFT'
deprecated_nexus_blitz = 'NEXUS_BLITZ'
deprecated_nexus_siege = 'SIEGE'
deprecated_poro_king = 'KING_PORO_5x5'
deprecated_ranked_fives = 'TEAM_BUILDER_DRAFT_RANKED_5x5'
deprecated_ranked_flex_threes = 'RANKED_FLEX_TT_DEPRECATED'
deprecated_ranked_premade_fives = 'RANKED_PREMADE_5x5'
deprecated_ranked_premade_threes = 'RANKED_PREMADE_3x3'
deprecated_ranked_solo_fives = 'CLASSIC'
deprecated_ranked_team_fives = 'RANKED_TEAM_5x5'
deprecated_ranked_team_threes = 'RANKED_TEAM_3x3'
deprecated_team_builder_fives = 'GROUP_FINDER_5x5'
doom_bots = 'NIGHTMARE_BOT_5X5'
doom_bots_difficult = 'NIGHTMARE_BOT_5X5_VOTE'
from_id()[source]
guardian_invasion_normal = 'INVASION_NORMAL'
guardian_invasion_onslaught = 'INVASION_ONSLAUGHT'
hexakill_summoners_rift = 'SR_6x6'
hexakill_twisted_treeline = 'HEXAKILL'
id
mirror_mode_fives = 'ONEFORALL_MIRRORMODE_5x5'
nemesis_draft = 'COUNTER_PICK'
nexus_blitz = 'NEXUS_BLITZ'
nexus_siege = 'NEXUS_SIEGE'
normal_draft_fives = 'TEAM_BUILDER_DRAFT_UNRANKED_5x5'
normal_tft = 'NORMAL_TFT'
odyssey_cadet = 'ODYSSEY_CADET'
odyssey_captain = 'ODYSSEY_CAPTAIN'
odyssey_crewmember = 'ODYSSEY_CREWMEMBER'
odyssey_intro = 'ODYSSEY_INTRO'
odyssey_onslaught = 'ODYSSEY_ONSLAUGHT'
one_for_all = 'ONEFORALL_5x5'
one_for_all_rapid = 'ONEFORALL_RAPID_5x5'
overcharge = 'OVERCHARGE'
poro_king = 'KINGPORO'
project = 'PROJECT'
ranked_flex_fives = 'RANKED_FLEX_SR'
ranked_flex_threes = 'RANKED_FLEX_TT'
ranked_solo_fives = 'RANKED_SOLO_5x5'
ranked_tft = 'RANKED_TFT'
showdown_1v1 = 'FIRSTBLOOD_1x1'
showdown_2v2 = 'FIRSTBLOOD_2x2'
tutorial1 = 'TUTORIAL_1'
tutorial2 = 'TUTORIAL_2'
tutorial3 = 'TUTORIAL_3'
ultimate_spellbook = 'ULTIMATE_SPELLBOOK'
urf = 'URF_5x5'
urf_coop_ai = 'BOT_URF_5x5'
class cassiopeia.data.Rank(tier: cassiopeia.data.Tier, division: cassiopeia.data.Division)[source]

Bases: object

class cassiopeia.data.Region(value)[source]

Bases: enum.Enum

An enumeration.

brazil = 'BR'
continent
default_locale
europe_north_east = 'EUNE'
europe_west = 'EUW'
static from_platform(platform)[source]
japan = 'JP'
korea = 'KR'
latin_america_north = 'LAN'
latin_america_south = 'LAS'
north_america = 'NA'
oceania = 'OCE'
platform
russia = 'RU'
timezone
turkey = 'TR'
class cassiopeia.data.Resource(value)[source]

Bases: enum.Enum

An enumeration.

blood_well = 'Blood Well'
courage = 'Courage'
crimson_rush = 'Crimson Rush'
energy = 'Energy'
ferocity = 'Ferocity'
flow = 'Flow'
fury = 'Fury'
heat = 'Heat'
mana = 'Mana'
no_cost = 'No Cost'
none = 'None'
rage = 'Rage'
shield = 'Shield'
class cassiopeia.data.Role(value)[source]

Bases: enum.Enum

An enumeration.

duo = 'DUO'
duo_carry = 'DUO_CARRY'
duo_support = 'DUO_SUPPORT'
from_match_naming_scheme()[source]
none = 'NONE'
solo = 'SOLO'
class cassiopeia.data.Season(value)[source]

Bases: enum.Enum

An enumeration.

end(region: cassiopeia.data.Region) arrow.arrow.Arrow[source]
from_id()[source]
id
preseason_3 = 'PRESEASON3'
preseason_4 = 'PRESEASON2014'
preseason_5 = 'PRESEASON2015'
preseason_6 = 'PRESEASON2016'
preseason_7 = 'PRESEASON2017'
preseason_8 = 'PRESEASON2018'
preseason_9 = 'PRESEASON2019'
season_3 = 'SEASON3'
season_4 = 'SEASON2014'
season_5 = 'SEASON2015'
season_6 = 'SEASON2016'
season_7 = 'SEASON2017'
season_8 = 'SEASON2018'
season_9 = 'SEASON2019'
start(region: cassiopeia.data.Region) arrow.arrow.Arrow[source]
class cassiopeia.data.Side(value)[source]

Bases: enum.Enum

An enumeration.

blue = 100
red = 200
class cassiopeia.data.SummonersRiftArea(value)[source]

Bases: enum.Enum

An enumeration.

bot_lane_blue = 'BOT_LANE_BLUE'
bot_lane_purple = 'BOT_LANE_PURPLE'
bot_lane_red = 'BOT_LANE_RED'
static from_position(position: cassiopeia.data.Position) cassiopeia.data.SummonersRiftArea[source]
get_lane() cassiopeia.data.Lane[source]
get_side() cassiopeia.data.Side[source]
jungle_bot_blue = 'JUNGLE_BOT_BLUE'
jungle_bot_red = 'JUNGLE_BOT_RED'
jungle_top_blue = 'JUNGLE_TOP_BLUE'
jungle_top_red = 'JUNGLE_TOP_RED'
mid_lane_blue = 'MID_LANE_BLUE'
mid_lane_purple = 'MID_LANE_PURPLE'
mid_lane_red = 'MID_LANE_RED'
nexus_blue = 'NEXUS_BLUE'
nexus_red = 'NEXUS_RED'
none = 'NONE'
river_bot = 'RIVER_BOT'
river_top = 'RIVER_TOP'
top_lane_blue = 'TOP_LANE_BLUE'
top_lane_purple = 'TOP_LANE_PURPLE'
top_lane_red = 'TOP_LANE_RED'
class cassiopeia.data.Tier(value)[source]

Bases: enum.Enum

An enumeration.

bronze = 'BRONZE'
challenger = 'CHALLENGER'
diamond = 'DIAMOND'
gold = 'GOLD'
grandmaster = 'GRANDMASTER'
iron = 'IRON'
master = 'MASTER'
platinum = 'PLATINUM'
silver = 'SILVER'
unranked = 'UNRANKED'
class cassiopeia.data.Tower(value)[source]

Bases: enum.Enum

An enumeration.

BASE = 'BASE_TURRET'
INNER = 'INNER_TURRET'
NEXUS = 'NEXUS_TURRET'
OUTER = 'OUTER_TURRET'
UNDEFINED = 'UNDEFINED_TURRET'