/// <summary> /// Gets the pin matching the specified <code>options</code>. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>Returns an instance of <code>PinterestGetPinResponse</code> representing the response.</returns> public PinterestGetPinResponse GetPin(PinterestGetPinOptions options) { if (options == null) throw new ArgumentNullException("options"); return PinterestGetPinResponse.ParseResponse(Raw.GetPin(options)); }
/// <summary> /// Gets the pin matching the specified <code>options</code>. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>Returns an instance of <code>SocialHttpResponse</code> representing the response.</returns> public SocialHttpResponse GetPin(PinterestGetPinOptions options) { if (options == null) throw new ArgumentNullException("options"); return Client.DoAuthenticatedGetRequest("https://api.pinterest.com/v1/pins/" + options.Id, options); }