/// <summary> /// Gets a list of the photosets matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>An instance of <see cref="IHttpResponse"/> representing the raw response.</returns> /// <see> /// <cref>https://www.flickr.com/services/api/flickr.photosets.getList.html</cref> /// </see> public IHttpResponse GetList(FlickrGetPhotosetsOptions options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } return(Client.Get("https://api.flickr.com/services/rest", options)); }
/// <summary> /// Gets a list of the photosets matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>An instance of <see cref="FlickrGetPhotosetListResponse"/> representing the response.</returns> /// <see> /// <cref>https://www.flickr.com/services/api/flickr.photosets.getList.html</cref> /// </see> public FlickrGetPhotosetListResponse GetList(FlickrGetPhotosetsOptions options) { return(FlickrGetPhotosetListResponse.ParseResponse(Raw.GetList(options))); }