Пример #1
0
        private static Profile GetUSProfile(string psnId)
        {
            Core.US.Collector collector = new US.Collector(psnId);
            collector.GetProfile();
            Core.US.ProfileParser profileParser = new US.ProfileParser(collector.PsnProfileHtml);
            Core.US.PlayedGameParser playedGameParser = new US.PlayedGameParser(collector.GamesHtml);

            Profile collectedProfile = profileParser.GetProfile();
            collectedProfile.PlayedGames = playedGameParser.GetPlayedGames();

            return collectedProfile;
        }
Пример #2
0
        private static Profile GetUSProfile(string psnId)
        {
            Core.US.Collector collector = new US.Collector(psnId);
            collector.GetProfile();
            Core.US.ProfileParser    profileParser    = new US.ProfileParser(collector.PsnProfileHtml);
            Core.US.PlayedGameParser playedGameParser = new US.PlayedGameParser(collector.GamesHtml);

            Profile collectedProfile = profileParser.GetProfile();

            collectedProfile.PlayedGames = playedGameParser.GetPlayedGames();

            return(collectedProfile);
        }