This lightweight library can make the API calls to the Engage servers and translate json responses to correspondent Java objects.
It also handles error documents throwing exceptions that can be handled by java code.
EngageClient client = new EngageClient("apiKey", "accessToken");
AuthInfo authInfo = client.authInfo(true);
That’s all you need to start playing with the Engage API
This library is publicly available at the central maven repository. Just add the dependency to your project:
<dependency>
<groupId>net.isanchez</groupId>
<artifactId>engage-client</groupId>
<version>0.1</version>
</dependency>