func (i *ChampionInfo) GetChampions(client *datadragon.Client) ([]datadragon.ChampionDataExtended, error) {
	res := make([]datadragon.ChampionDataExtended, 0, len(i.FreeChampionIDsForNewPlayers))
	for _, id := range i.FreeChampionIDs {
		champion, err := client.GetChampionByID(strconv.Itoa(id))
		if err != nil {
			return nil, err
		}
		res = append(res, champion)
	}
	return res, nil
}
GetChampions returns data for champions available for free
package lol
import (
	"sort"
	"strconv"
	"github.com/KnutZuidema/golio/datadragon"
	"github.com/KnutZuidema/golio/static"
)
type ChampionInfo struct {
	FreeChampionIDsForNewPlayers []int `json:"freeChampionIDsForNewPlayers"`
	FreeChampionIDs              []int `json:"freeChampionIDs"`
	MaxNewPlayerLevel            int   `json:"maxNewPlayerLevel"`
}
func (i *ChampionInfo) GetChampionsForNewPlayers(client *datadragon.Client) ([]datadragon.ChampionDataExtended, error) {
	res := make([]datadragon.ChampionDataExtended, 0, len(i.FreeChampionIDsForNewPlayers))
	for _, id := range i.FreeChampionIDsForNewPlayers {
		champion, err := client.GetChampionByID(strconv.Itoa(id))
		if err != nil {
			return nil, err
		}
		res = append(res, champion)
	}
	return res, nil
}