예제 #1
0
 public PinterestGetPinsResponse GetPins(PinterestGetPinsOptions options)
 {
     if (options == null)
     {
         throw new ArgumentNullException("options");
     }
     return(PinterestGetPinsResponse.ParseResponse(Raw.GetPins(options)));
 }
예제 #2
0
 public PinterestGetPinsResponse GetPins(string username, string board, PinterestFieldsCollection fields)
 {
     if (String.IsNullOrWhiteSpace(username))
     {
         throw new ArgumentNullException("username");
     }
     if (String.IsNullOrWhiteSpace(board))
     {
         throw new ArgumentNullException("board");
     }
     return(PinterestGetPinsResponse.ParseResponse(Raw.GetPins(username, board, fields)));
 }
예제 #3
0
 /// <summary>
 /// Gets a collection of pins of the Pinterest board matching the specified <paramref name="options"/>.
 /// </summary>
 /// <param name="options">The options for the request to the API.</param>
 /// <returns></returns>
 public PinterestGetPinsResponse GetPins(PinterestGetPinsOptions options)
 {
     return(PinterestGetPinsResponse.ParseResponse(Raw.GetPins(options)));
 }
예제 #4
0
 /// <summary>
 /// Gets a collection of pins of the Pinterest board matching the specified <paramref name="username"/> and <paramref name="board"/>.
 /// </summary>
 /// <param name="username">The username of the user owning the board.</param>
 /// <param name="board">The alias of the board.</param>
 /// <param name="fields">The fields to be returned for the pins.</param>
 /// <returns>An instance of <see cref="PinterestGetPinsResponse"/> representing the response.</returns>
 public PinterestGetPinsResponse GetPins(string username, string board, PinterestFieldsCollection fields)
 {
     return(PinterestGetPinsResponse.ParseResponse(Raw.GetPins(username, board, fields)));
 }
예제 #5
0
 /// <summary>
 /// Gets a collection of pins of the Pinterest board matching the specified <paramref name="username"/> and <paramref name="board"/>.
 /// </summary>
 /// <param name="username">The username of the user owning the board.</param>
 /// <param name="board">The alias of the board.</param>
 /// <returns>An instance of <see cref="PinterestGetPinsResponse"/> representing the response.</returns>
 public PinterestGetPinsResponse GetPins(string username, string board)
 {
     return(PinterestGetPinsResponse.ParseResponse(Raw.GetPins(username, board)));
 }