コード例 #1
0
        public void NhlHtmlReport_PareSummaryEnglishInProgressRegSeason()
        {
            string path = @"C:\Users\jordanf\Google Drive\Coding\Sportsdata\TestData\EnglishInProgressRoster.htm";
            string html = File.ReadAllText(path);

            Nhl_Games_Rtss_Summary model = NhlGamesRtssSummary.ParseHtmlBlob(-1, html);
        }
コード例 #2
0
        public void NhlHtmlReport_ParseSummaryCapsThrashers2007()
        {
            string path = @"C:\Users\jordanf\Google Drive\Coding\Sportsdata\TestData\CapsThrashers_10.05.2007.htm";
            string html = File.ReadAllText(path);

            Nhl_Games_Rtss_Summary model = NhlGamesRtssSummary.ParseHtmlBlob(-1, html);
        }
コード例 #3
0
        public void NhlHtmlReport_ParseSummaryFrenchRegSeason()
        {
            string path = @"C:\Users\jordanf\Google Drive\Coding\Sportsdata\TestData\FrenchRegSeasonRoster_formatted.htm";
            string html = File.ReadAllText(path);

            Nhl_Games_Rtss_Summary model = NhlGamesRtssSummary.ParseHtmlBlob(-1, html);
        }
コード例 #4
0
        public void NhlGamesRtssSummary_ParseHtmlBlob()
        {
            //string htmlBlob = HtmlBlob.RetrieveBlob(HtmlBlobType.NhlRoster, "1", new Uri("http://www.nhl.com/scores/htmlreports/20132014/GS030315.HTM"), true);
            System.IO.StreamReader myFile =
                new System.IO.StreamReader(@"C:\coding\sportsdata\SportsDataTests\Sports\GameSummary1.html");
            string htmlBlob = myFile.ReadToEnd();

            myFile.Close();

            Nhl_Games_Rtss_Summary report = NhlGamesRtssSummary.ParseHtmlBlob(1, htmlBlob);
        }