Getting all review stat

Asked by István Nyitrai

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:
Last query:
Last reply:
Revision history for this message
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

Revision history for this message
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

Revision history for this message
István Nyitrai (sianis) said :
#3

Thanks Michael Vogt, that solved my question.