Class APIClient

java.lang.Object
net.hexonet.apiconnector.APIClient

public class APIClient extends Object
APIClient is the entry point class for communicating with the insanely fast HEXONET backend api. It allows two ways of communication:
  • session based communication
  • sessionless communication
A session based communication makes sense in case you use it to build your own frontend on top. It allows also to use 2FA (2 Factor Auth) by providing "otp" in the config parameter of the login method. A sessionless communication makes sense in case you do not need to care about the above and you have just to request some commands. Possible commands can be found here.
Since:
2.0
Version:
%I%, %G%
Author:
Kai Schwarz