Codequiry api = new Codequiry("YOUR API KEY");
Account account = api.getAccount();
System.out.println(account.getName());
List<Check> checks = api.getChecks();
if (!checks.isEmpty()) {
System.out.println(checks.get(0).getStatusId());
}
Examples: java, c-cpp, python, csharp, txt
Check check = api.createCheck("name", "java");
System.out.println(check.getCreatedAt());
UploadResult uploadResult = api.upload(123, "./Test.zip");
System.out.println(uploadResult.getSubmissionCount());
Check check = api.startCheck(123);
System.out.println(check.getStatusId());
Check check = api.getCheck(123);
System.out.println(check.getId());
Overview overview = api.getOverview(123);
System.out.println(overview.getOverviewURL());
SubmissionResults results = api.getResults(123, "SID");
System.out.println(results.getMax());
This is an example of the listener, you can call this after getting a check status or after starting a check (both will reutrn a job ID, which you can listen to). Here we will listen to specific CHECK_ID.
api.checkListen("JOB_ID", System.out::println);