callAPI() method


We have an implementation of datasift-java 2.2.0 which is no longer supported and we need to migrate to the latest version. Our current implementation is based on datasift restapis and in the java code, we are using the callAPI method from User.class to make the api calls. Please find below a code snippet.

HashMap<String, String> params = new HashMap<String, String>();
datasiftUser.callAPI("balance", params); 

However, in the updated jars, I couldn’t find any similar classes to call the rest apis. Can you please guide us in the implementation here.