def get_players_game_stats_for_season_for_week(self, season, week, season_type="REG"):
        """
        Game stats for a specified season and week.
        `season` int
        `week` int
        `season_type` str Valid value one of ("REG", "PRE", "POST")
        """
        try:
            season = int(season)
            week = int(week)
            if season_type not in ["REG", "PRE", "POST"]:
                raise ValueError
        except (TypeError, ValueError):
            raise FantasyDataError('Error: Invalid method parameters')

        season_param = "{0}{1}".format(season, season_type)
        result = self._method_call("PlayerGameStatsByWeek/{season}/{week}", "stats", season=season_param, week=week)
        return result
def get_players_game_stats_for_season_for_week ( self , season , week , season_type = "REG" ) : try : season = int ( season ) week = int ( week ) if season_type not in [ "REG" , "PRE" , "POST" ] : raise ValueError except ( TypeError , ValueError ) : raise FantasyDataError ( 'Error: Invalid method parameters' ) season_param = "{0}{1}" . format ( season , season_type ) result = self . _method_call ( "PlayerGameStatsByWeek/{season}/{week}" , "stats" , season = season_param , week = week ) return result
Game stats for a specified season and week.
        `season` int
        `week` int
        `season_type` str Valid value one of ("REG", "PRE", "POST")