/// <summary> /// Gets information about the list matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the request to the API.</param> /// <returns>An instance of <see cref="SocialHttpResponse"/> representing the raw response.</returns> /// <see> /// <cref>https://dev.twitter.com/rest/reference/get/lists/show</cref> /// </see> public SocialHttpResponse GetList(TwitterGetListOptions options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } return(Client.DoHttpGetRequest("https://api.twitter.com/1.1/lists/list.json", options)); }
/// <summary> /// Gets information about the list matching the specified <code>options</code>. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <see> /// <cref>https://dev.twitter.com/rest/reference/get/lists/show</cref> /// </see> public SocialHttpResponse GetList(TwitterGetListOptions options) { return(Client.DoHttpGetRequest("https://api.twitter.com/1.1/lists/list.json", options)); }
/// <summary> /// Gets information about the list matching the specified <code>options</code>. /// </summary> /// <param name="options">The options for the call to the API.</param> public TwitterListResponse GetList(TwitterGetListOptions options) { return(TwitterListResponse.ParseResponse(Raw.GetList(options))); }