def get_champions_by_id(ids):
    champions = {champ.id: champ for champ in get_champions()}
    results = []
    for id_ in ids:
        try:
            champ = champions[id_]
        except KeyError:
            champ = None
        results.append(champ)
    return results
Gets a bunch of champions by ID
dataset/ETHPy150Open meraki-analytics/cassiopeia/cassiopeia/core/staticdataapi.py/get_champions_by_id