/// <summary>
 /// Gets information about the user with the specified <paramref name="username"/>.
 /// </summary>
 /// <param name="username">The username of the user.</param>
 /// <returns>An instance of <see cref="VimeoGetUserResponse"/> representing the response.</returns>
 /// <see>
 ///     <cref>https://developer.vimeo.com/api/endpoints/users#/{user_id}</cref>
 /// </see>
 public VimeoGetUserResponse GetInfo(string username)
 {
     return(VimeoGetUserResponse.ParseResponse(Raw.GetInfo(username)));
 }
Example #2
0
 /// <summary>
 /// Gets information about the authenticated user.
 /// </summary>
 /// <returns>An instance of <see cref="VimeoGetUserResponse"/> representing the response.</returns>
 /// <see>
 ///     <cref>https://developer.vimeo.com/api/endpoints/me#GET/me</cref>
 /// </see>
 public VimeoGetUserResponse GetInfo()
 {
     return(VimeoGetUserResponse.ParseResponse(Raw.GetInfo()));
 }
 /// <summary>
 /// Gets information about the user with the specified <paramref name="userId"/>.
 /// </summary>
 /// <param name="userId">The ID of the user.</param>
 /// <returns>An instance of <see cref="VimeoGetUserResponse"/> representing the response.</returns>
 /// <see>
 ///     <cref>https://developer.vimeo.com/api/endpoints/users#/{user_id}</cref>
 /// </see>
 public VimeoGetUserResponse GetInfo(long userId)
 {
     return(VimeoGetUserResponse.ParseResponse(Raw.GetInfo(userId)));
 }