Module Import alias Import alias Import alias Import alias FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Index AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword NameLoad TryExcept body Return Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr name NameStore body If CompareEq AttributeLoad NameLoad attr Num body Return NameLoad Raise NameLoad decorator_list
N/A N/A cassiopeia.dto.requests N/A cassiopeia.type.core.common N/A cassiopeia.type.dto.currentgame N/A cassiopeia.type.api.exception get_current_game N/A N/A summoner_id N/A N/A N/A 
    https://developer.riotgames.com/api/methods#!/976/3336

    Args:
        summoner_id (int): the ID of the summoner to find an active game for

    Returns:
        CurrentGameInfo: the summoner's current game (or None if they aren't in one)
     N/A region N/A N/A N/A N/A N/A cassiopeia type core common Region N/A N/A N/A cassiopeia dto requests region N/A platform N/A N/A N/A N/A N/A cassiopeia type core common Platform N/A N/A region name N/A request N/A N/A https://{server}.api.pvp.net/observer-mode/rest/consumer/getSpectatorGameInfo/{platform}/{summoner_id} format server N/A N/A N/A cassiopeia dto requests region platform N/A platform value summoner_id summoner_id N/A N/A N/A N/A N/A N/A N/A N/A cassiopeia type dto currentgame CurrentGameInfo N/A N/A N/A N/A cassiopeia dto requests get request include_base False N/A N/A N/A N/A N/A N/A N/A cassiopeia type api exception APIError N/A e N/A N/A N/A N/A e error_code 404 N/A N/A None N/A e N/A