def summoner_get_names_for_ids(self, region, summoner_ids):

        url = '{0}/{1}/{2}/summoner/{3}/name?api_key={4}'.format(
                self.base_url,
                region,
                SUMMONER_VERSION,
                summoner_ids,
                self.api_key)

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

        summoners = dict()
        for summoner in content['summoners']:
            summoners[summoner['id']] = summoner['name']

        return summoners
Get summoner names for list of summoner ids
dataset/ETHPy150Open evangs/pyriot/pyriot/wrapper.py/PyRiot.summoner_get_names_for_ids