mirror of
https://github.com/ckaczor/ChrisKaczor.MinifluxClient.git
synced 2026-02-16 10:58:35 -05:00
Initial commit
This commit is contained in:
22
Test/Test1.cs
Normal file
22
Test/Test1.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using ChrisKaczor.MinifluxClient;
|
||||
|
||||
namespace Test;
|
||||
|
||||
[TestClass]
|
||||
public sealed class Test
|
||||
{
|
||||
[TestMethod]
|
||||
public async Task TestMethod1()
|
||||
{
|
||||
var client = new MinifluxClient("", "");
|
||||
|
||||
var categories = await client.GetCategories();
|
||||
|
||||
var feeds = await client.GetFeeds();
|
||||
|
||||
foreach (var feed in feeds)
|
||||
{
|
||||
var feedEntries = await client.GetFeedEntries(feed.Id, SortField.PublishedAt, SortDirection.Descending);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user