diff --git a/PocketSharp/Components/Trending.cs b/PocketSharp/Components/Trending.cs index 0514b19..a0c9b55 100644 --- a/PocketSharp/Components/Trending.cs +++ b/PocketSharp/Components/Trending.cs @@ -12,7 +12,6 @@ namespace PocketSharp { /// /// Get trending articles on Pocket. - /// Requires an active GUID from GetGuid() and will therefore make two HTTP requests. /// /// Article count. /// Two-letter language code for language-specific results. @@ -21,11 +20,8 @@ namespace PocketSharp /// public async Task> GetTrendingArticles(int count = 20, string languageCode = "en", CancellationToken cancellationToken = default(CancellationToken)) { - string guid = await GetGuid(cancellationToken); - return (await Request("getGlobalRecs", cancellationToken, new Dictionary() { - { "guid", guid }, { "locale_lang", languageCode }, { "count", count.ToString() }, { "version", "2" } @@ -35,7 +31,6 @@ namespace PocketSharp /// /// Get trending topics on Pocket. - /// Requires an active GUID from GetGuid() and will therefore make two HTTP requests. /// /// Two-letter language code for language-specific results. /// The cancellation token. @@ -43,11 +38,8 @@ namespace PocketSharp /// public async Task> GetTrendingTopics(string languageCode = "en", CancellationToken cancellationToken = default(CancellationToken)) { - string guid = await GetGuid(cancellationToken); - return (await Request("getTrendingTopics", cancellationToken, new Dictionary() { - { "guid", guid }, { "locale_lang", languageCode }, { "version", "2" } }, false)).Items ?? new List();