The PredictionIO Java SDK includes an API client and sample code.
'io.prediction:client:0.3'
<dependency>
<groupId>io.prediction</groupId>
<artifactId>client</artifactId>
<version>0.3</version>
</dependency>
<dependency org="io.prediction" name="client" rev="0.3"/>
"io.prediction", "client", "0.3"