Package com.github.jreddit.retrieval

Examples of com.github.jreddit.retrieval.ExtendedSubmissions.ofUser()


      List<Submission> submissionsSearchExtra = extendedSubms.search("valentine", SearchSort.RELEVANCE, TimeSpan.ALL, 532);
      printSubmissionsList(submissionsSearchExtra);
     
      // Retrieve the top 233 submissions of a user
      System.out.println("\n============== Extended user submissions retrieval ==============");
      List<Submission> submissionsUserExtra = extendedSubms.ofUser("Unidan", UserSubmissionsCategory.SUBMITTED, UserOverviewSort.HOT, 233);
      printSubmissionsList(submissionsUserExtra);
     
    } catch (RetrievalFailedException e) {
      e.printStackTrace();
    } catch (RedditError e) {
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.