def stats_summary(self, region, summoner_id, season=None):

        url = '{0}/{1}/{2}/stats/by-summoner/{3}/summary?api_key={4}'.format(
                self.base_url,
                region,
                STATS_VERSION,
                summoner_id,
                self.api_key)

        if season:
            url += '&season=SEASON{0}'.format(season)

        response = requests.get(url)
        response.raise_for_status()
        content = response.json()

        player_stat_summaries = []
        for stat_summary in content['playerStatSummaries']:
            player_stat_summaries.append(api_classes.PlayerStatsSummary(**stat_summary))

        return player_stat_summaries
Summoner stat summary
dataset/ETHPy150Open evangs/pyriot/pyriot/wrapper.py/PyRiot.stats_summary