示例#1
0
 /// <summary>
 /// Gets the current user's private gfy feed
 /// </summary>
 /// <param name="options"></param>
 /// <returns></returns>
 public async Task <GfyFeed> GetGfyFeedAsync(RequestOptions options = null)
 {
     return(CurrentUserGfyFeed.Create(Client, options, await Client.ApiClient.GetCurrentUserGfyFeedAsync(null, options).ConfigureAwait(false)));
 }
示例#2
0
 /// <summary>
 /// Gets the current user's private gfy feed
 /// </summary>
 /// <param name="count"></param>
 /// <param name="options">The options for this request</param>
 /// <returns></returns>
 public async Task <GfyFeed> GetGfyFeedAsync(int count = GfycatClient.UseDefaultFeedCount, RequestOptions options = null)
 {
     Utils.UseDefaultIfSpecified(ref count, Client.ApiClient.Config.DefaultFeedItemCount);
     return(CurrentUserGfyFeed.Create(Client, count, options, await Client.ApiClient.GetCurrentUserGfyFeedAsync(count, null, options).ConfigureAwait(false)));
 }