Exemple #1
0
 public static List <Move> GetMoves(string name)
 {
     return(JsonConvert.DeserializeObject <List <Move> >(RequestBuilder.GetMoves(name)));
 }
Exemple #2
0
        public static Character GetCharacterName(string name)
        {
            string json = RequestBuilder.GetChampion(name);

            return(JsonConvert.DeserializeObject <Character>(json));
        }