You can found full example-code in: LINK
First initialize the instance of ShadowSocks Wrapper:
OutlineWrapper outlineWrapper = OutlineWrapper.create(API_URL);
Cool! Now you can work with the outline api, for example, create a key, and output a link to the console:
int newKeyId = outlineWrapper.generateKey().id;
System.out.println("new key: " + newKeyId);
Okay, just check it out.