Exemple #1
0
 public User GetUserDetails(int userID)
 {
     try
     {
         var uri = YifyAPI.GetUserDetailsURI(userID, true);
         var res = YifyAPI.SendGetRequest(uri);
         return(_parser.ParseGetUserDetailsResponse(res));
     }
     catch (Exception ex)
     {
         throw new YifyException("An error occurred. See inner exception for more details", ex);
     }
 }