public void SitesLinkingInYahoo() { var client = new AlexaClient(_alexaKey, _alexaSecretKey); TestTemplate <SitesLinkingInResponse>("SitesLinkingIn-yahoo.xml", () => client.GetSitesLinkingIn("yahoo.com")); }
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))); }
public void CategoryBrowseBoard_Games() { var client = new AlexaClient(_alexaKey, _alexaSecretKey); TestTemplate <CategoryBrowseResponse>("CategoryBrowse_Board_Games.xml", () => client.GetCategoryBrowse(CategoryBrowseResponseGroup.All, "Top/Games/Board_Games")); }
public void UrlInfoMS() { var client = new AlexaClient(_alexaKey, _alexaSecretKey); TestTemplate <UrlInfoResponse>("UrlInfo-microsoft.xml", () => client.GetUrlInfo("http://microsoft.com", UrlInfoResponseGroup.All)); }
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)); }