code: public Profile getProfile() throws IOException, KiteException, JSONException {
          String url = routes.get("user.profile");
          JSONObject response = new KiteRequestHandler(proxy).getRequest(url, apiKey, accessToken);
          return gson.fromJson(String.valueOf(response.get("data")), Profile.class);
      }
docs: Get the profile details of the use.
  @return Profile is a POJO which contains profile related data.
  @throws IOException is thrown when there is connection error.
  @throws KiteException is thrown for all Kite trade related errors.