public static void Main(string[] args)
        {
            ApiClient.getPlayer("nick");

            List <Score> scores = ApiClient.getScores("nick");

            foreach (Score score in scores)
            {
                Console.WriteLine(score);
            }
            Console.WriteLine(ApiClient.newScore(200, "nick"));
            Console.WriteLine(Util.getDeviceID());
            Console.WriteLine("Hello World!");
        }
Exemple #2
0
        public static List <Score> getScores(string name)
        {
            Player player = ApiClient.getPlayer(name);

            return(ApiClient.getScores(player));
        }