Getting all review stat

Asked by István Nyitrai on 2012-01-05

With api_public.review_stats() method I get "only" 441 package informations. Is it all or with other parameter I can get more?

Thank you!

Question information

Language:
English Edit question
Status:
Solved
For:
Ratings and Reviews server Edit question
Assignee:
No assignee Edit question
Solved by:
Michael Vogt
Solved:
2012-01-06
Last query:
2012-01-06
Last reply:
2012-01-06
Michael Vogt (mvo) said : #1

Hm, it looks like something funny is going on, are you maybe using some sort of filtering?

The global scope has a lot more, i.e.:
$ w3m -dump http://reviews.ubuntu.com/reviews/api/1.0/review-stats/|grep package_name|wc -l
2991

Best Michael Vogt (mvo) said : #2

When I use lp:~rnr-developers/rnr-server/rnrclient/ I get:

$ python -c 'from rnrclient import RatingsAndReviewsAPI; RatingsAndReviewsAPI.default_service_root = "http://reviews.ubuntu.com/reviews/api/1.0"; api = RatingsAndReviewsAPI(); print len(api.review_stats())'
2991

as well

István Nyitrai (sianis) said : #3

Thanks Michael Vogt, that solved my question.