Exemple #1
0
 public static string GetProperString(this HighscoreType type)
 => type.ToString().ToLower();
        public async Task <Highscore> Get(string world, HighscoreType type, Vocation vocation)
        {
            var response = await GetResponse($"{ _baseUri }{ world }//{ type.ToString() }//{ vocation.GetQueryString() }.json");

            return(JsonConvert.DeserializeObject <HighscoreResponse>(response).Highscores);
        }