Ejemplo n.º 1
0
        public void SitesLinkingInYahoo()
        {
            var client = new AlexaClient(_alexaKey, _alexaSecretKey);

            TestTemplate <SitesLinkingInResponse>("SitesLinkingIn-yahoo.xml",
                                                  () => client.GetSitesLinkingIn("yahoo.com"));
        }
Ejemplo n.º 2
0
        public void TrafficHistoryYahoo()
        {
            var client = new AlexaClient(_alexaKey, _alexaSecretKey);

            TestTemplate <TrafficHistoryResponse>("TrafficHistory-yahoo.xml",
                                                  () => client.GetTrafficHistory("http://yahoo.com", 31, new DateTime(2007, 8, 1)));
        }
Ejemplo n.º 3
0
        public void CategoryBrowseBoard_Games()
        {
            var client = new AlexaClient(_alexaKey, _alexaSecretKey);

            TestTemplate <CategoryBrowseResponse>("CategoryBrowse_Board_Games.xml",
                                                  () => client.GetCategoryBrowse(CategoryBrowseResponseGroup.All, "Top/Games/Board_Games"));
        }
Ejemplo n.º 4
0
        public void UrlInfoMS()
        {
            var client = new AlexaClient(_alexaKey, _alexaSecretKey);

            TestTemplate <UrlInfoResponse>("UrlInfo-microsoft.xml",
                                           () => client.GetUrlInfo("http://microsoft.com", UrlInfoResponseGroup.All));
        }
Ejemplo n.º 5
0
        public void CategoryListingsTop_Arts_Literature_Authors()
        {
            var client = new AlexaClient(_alexaKey, _alexaSecretKey);

            TestTemplate <CategoryListingsResponse>("CategoryListings_Top_Arts_Literature_Authors.xml",
                                                    () => client.GetCategoryListings("Top/Arts/Literature/Authors", CategoryListingsSortBy.AverageReview,
                                                                                     true, descriptions: true));
        }