public void TestSearchFeeds() { var withoutwait = NewsBlurAPI.SearchFeeds("tech"); foreach (var item in withoutwait.Result) { Console.WriteLine(item.Key + ":" + item.Value); } }
public void TestGetFeedsTrainer() { var withoutwait = NewsBlurAPI.GetFeedsTrainer(); foreach (var item in withoutwait.Result) { Console.WriteLine(item); } }
public void TestRefreshFeeds() { var withoutwait = NewsBlurAPI.GetRefreshFeeds(); foreach (var item in withoutwait.Result) { Console.WriteLine(item.Key + ":" + item.Value); } }
public void TestGetIcon() { var withourwait = NewsBlurAPI.GetFeedIcon("6461499", "6464950"); foreach (var item in withourwait.Result) { Console.WriteLine(item.Key + ":" + System.Text.Encoding.UTF8.GetString(item.Value ?? (new byte[0]))); } }
public void TestGetFeeds() { var withoutwait = NewsBlurAPI.GetUserFeedsList(include_favicons: false); foreach (var item in withoutwait.Result) { Console.WriteLine(item.Id + ";" + item.FeedName + ";" + item.FeedUrl); } }
public void Init() { if (!UserInfoForTest.GetUserInfo()) { return; } var loginresult = NewsBlurAPI.Login(UserInfoForTest.username, UserInfoForTest.password).Result; Assert.IsTrue(loginresult.IsAuthSuccess); }
public void TestGetStatistics() { NewsBlurAPI.GetStatisticsInfo("6461499").Wait(); }
public void TestGetOriginalPage() { var withoutwair = NewsBlurAPI.GetOriginalPage("6461499"); Console.WriteLine(withoutwair.Result); }