Package com.dongxuexidu.douban4j.model.review

Examples of com.dongxuexidu.douban4j.model.review.DoubanReviewFeedObj


    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());
    }
    assertTrue(result.getReviews().size() <= 10);
  }
View Full Code Here


   */
  public void testGetMusicReviewsBySubjectId_String() throws Exception {
    System.out.println("getMusicReviewsBySubjectId");
    long subjectId = 4753298;
    DoubanReviewService instance = new DoubanReviewService();
    DoubanReviewFeedObj result = instance.getMusicReviewsBySubjectId(subjectId);
    assertTrue(result.getReviews().size() > 0);
  }
View Full Code Here

    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());
    }
    assertTrue(result.getReviews().size() <= 10);
  }
View Full Code Here

TOP

Related Classes of com.dongxuexidu.douban4j.model.review.DoubanReviewFeedObj

Copyright © 2018 www.massapicom. 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.