Package com.github.jreddit.retrieval

Examples of com.github.jreddit.retrieval.Comments.ofSubmission()


      // Handle to Comments, which offers the basic API functionality
      Comments coms = new Comments(restClient, user);
     
      // Retrieve comments of a submission
      System.out.println("\n============== Basic submission comments ==============");
      List<Comment> commentsSubmission = coms.ofSubmission("29p8fe", null, 0, 8, 100, CommentSort.TOP);
      Comments.printCommentTree(commentsSubmission);
     
     
      // Retrieve comments of a user
      System.out.println("\n============== Basic user comments ==============");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.