示例#1
0
 /// <summary>
 /// Retrieves trending tags populated with gfys
 /// </summary>
 /// <param name="tagCount"></param>
 /// <param name="gfyCount"></param>
 /// <param name="options">The options for this request</param>
 /// <returns></returns>
 public async Task <PopulatedTagFeed> GetTrendingTagsPopulatedAsync(int tagCount = UseDefaultFeedCount, int gfyCount = UseDefaultFeedCount, RequestOptions options = null)
 {
     Utils.UseDefaultIfSpecified(ref tagCount, ApiClient.Config.DefaultFeedItemCount);
     Utils.UseDefaultIfSpecified(ref gfyCount, ApiClient.Config.DefaultFeedItemCount);
     return(PopulatedTagFeed.Create(this, gfyCount, tagCount, options, await ApiClient.GetTrendingTagsPopulatedAsync(null, tagCount, gfyCount, options).ConfigureAwait(false)));
 }
示例#2
0
 /// <summary>
 /// Retrieves trending tags populated with gfys
 /// </summary>
 /// <param name="options"></param>
 /// <returns></returns>
 public async Task <PopulatedTagFeed> GetTrendingTagsPopulatedAsync(RequestOptions options = null)
 {
     return(PopulatedTagFeed.Create(this, options, await ApiClient.GetTrendingTagsPopulatedAsync(null, options).ConfigureAwait(false)));
 }