/// <summary> /// Retrieves trending gfys for the specified tag. If no tag is specified, the "Trending" tag is used /// </summary> /// <param name="count"></param> /// <param name="tag"></param> /// <param name="options">The options for this request</param> /// <returns></returns> public async Task <TaggedGfyFeed> GetTrendingGfysAsync(string tag = "Trending", int count = UseDefaultFeedCount, RequestOptions options = null) { Utils.UseDefaultIfSpecified(ref count, ApiClient.Config.DefaultFeedItemCount); return(TaggedGfyFeed.Create(this, count, (await ApiClient.GetTrendingFeedAsync(tag, count, null, options).ConfigureAwait(false)), options)); }
/// <summary> /// Retrieves trending gfys for the specified tag. If no tag is specified, the "Trending" tag is used /// </summary> /// <param name="tag"></param> /// <param name="options"></param> /// <returns></returns> public async Task <TaggedGfyFeed> GetTrendingGfysAsync(string tag = "Trending", RequestOptions options = null) { return(TaggedGfyFeed.Create(this, (await ApiClient.GetTrendingFeedAsync(tag, null, options).ConfigureAwait(false)), options)); }