コード例 #1
0
 /// <summary>
 /// Gets information about the user 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 GetUser(PinterestGetUserOptions options) {
     if (options == null) throw new ArgumentNullException("options");
     return Client.DoAuthenticatedGetRequest("https://api.pinterest.com/v1/users/" + options.Identifier + "/", options);
 }
コード例 #2
0
 /// <summary>
 /// Gets information about the user 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 PinterestGetUserResponse GetUser(PinterestGetUserOptions options) {
     if (options == null) throw new ArgumentNullException("options");
     return PinterestGetUserResponse.ParseResponse(Raw.GetUser(options));
 }