Examples of ReviewOrderBy


Examples of com.dongxuexidu.douban4j.service.DoubanReviewService.ReviewOrderBy

  public void testGetBookReviewsBySubjectId_4args() throws Exception {
    System.out.println("getBookReviewsBySubjectId");
    long subjectId = 11525211;
    int startIndex = 0;
    int maxResult = 10;
    ReviewOrderBy orderBy = ReviewOrderBy.Score;
    DoubanReviewService instance = new DoubanReviewService();
    DoubanReviewFeedObj result = instance.getBookReviewsBySubjectId(subjectId, startIndex, maxResult, orderBy);
    for (DoubanReviewEntryObj review : result.getReviews()) {
      System.out.println("review title : " + review.getTitle());
    }
View Full Code Here

Examples of com.dongxuexidu.douban4j.service.DoubanReviewService.ReviewOrderBy

  public void testGetBookReviewsByISBNId_4args() throws Exception {
    System.out.println("getBookReviewsByISBNId");
    String isbnId = "9787214082060";
    int startIndex = 0;
    int maxResult = 10;
    ReviewOrderBy orderBy = ReviewOrderBy.Score;
    DoubanReviewService instance = new DoubanReviewService();
    DoubanReviewFeedObj result = instance.getBookReviewsByISBNId(isbnId, startIndex, maxResult, orderBy);
    for (DoubanReviewEntryObj review : result.getReviews()) {
      System.out.println("review title : " + review.getTitle());
    }
View Full Code Here

Examples of com.dongxuexidu.douban4j.service.DoubanReviewService.ReviewOrderBy

  public void testGetMovieReviewsBySubjectId_4args() throws Exception {
    System.out.println("getMovieReviewsBySubjectId");
    long subjectId = 3338851;
    int startIndex = 0;
    int maxResult = 10;
    ReviewOrderBy orderBy = ReviewOrderBy.Score;
    DoubanReviewService instance = new DoubanReviewService();
    DoubanReviewFeedObj result = instance.getMovieReviewsBySubjectId(subjectId, startIndex, maxResult, orderBy);
    for (DoubanReviewEntryObj review : result.getReviews()) {
      System.out.println("review title : " + review.getTitle());
    }
View Full Code Here

Examples of com.dongxuexidu.douban4j.service.DoubanReviewService.ReviewOrderBy

  public void testGetMovieReviewsByIMDBId_4args() throws Exception {
    System.out.println("getMovieReviewsByIMDBId");
    String imdbId = "tt1340800";
    int startIndex = 0;
    int maxResult = 10;
    ReviewOrderBy orderBy = ReviewOrderBy.Score;
    DoubanReviewService instance = new DoubanReviewService();
    DoubanReviewFeedObj result = instance.getMovieReviewsByIMDBId(imdbId, startIndex, maxResult, orderBy);
    for (DoubanReviewEntryObj review : result.getReviews()) {
      System.out.println("review title : " + review.getTitle());
    }
View Full Code Here

Examples of com.dongxuexidu.douban4j.service.DoubanReviewService.ReviewOrderBy

  public void testGetMusicReviewsBySubjectId_4args() throws Exception {
    System.out.println("getMusicReviewsBySubjectId");
    long subjectId = 4753298;
    int startIndex = 0;
    int maxResult = 10;
    ReviewOrderBy orderBy = ReviewOrderBy.Score;
    DoubanReviewService instance = new DoubanReviewService();
    DoubanReviewFeedObj result = instance.getMusicReviewsBySubjectId(subjectId, startIndex, maxResult, orderBy);
    for (DoubanReviewEntryObj review : result.getReviews()) {
      System.out.println("review title : " + review.getTitle());
    }
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.