Exemple #1
0
        public static ChampionPerformance GetOverallPerformance()
        {
            var json = RequestBuilder.GetPerformance();

            return(JsonConvert.DeserializeObject <ChampionPerformance[]>(json)[0]);
        }
Exemple #2
0
        public static ChampionData[] GetChampionDataById(int id)
        {
            var json = RequestBuilder.GetChampionStats(id);

            return(JsonConvert.DeserializeObject <ChampionData[]>(json));
        }