Java client which is used to access API V2 endpoints