Sample Java Code The following example topics demonstrate how to access the P6 API using Java. Sample Java Code (OAuth) Sample Java Code (Traditional)