code: public JSONObject getRequest(String url, String apiKey, String accessToken) throws IOException, KiteException, JSONException {
          Request request = createGetRequest(url, apiKey, accessToken);
          Response response = client.newCall(request).execute();
          String body = response.body().string();
          return new KiteResponseHandler().handle(response, body);
      }
docs: Makes a GET request.
  @return JSONObject which is received by Kite Trade.
  @param url is the endpoint to which request has to be sent.
  @param apiKey is the api key of the Kite Connect app.
  @param accessToken is the access token obtained after successful login process.
  @throws IOException is thrown when there is a connection related error.
  @throws KiteException is thrown for all Kite Trade related errors.
  @throws JSONException is thrown for parsing errors.