Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a question after reading this: Is there any web API for Software Center available?

I am trying to understand the Ubuntu Software Center's JSON endpoints.

This JSON lists all the apps available from the Software Center:

Cool... Now I need to get all review for one app!

So I choose an app and get its packages_name from the JSON file:

        "status": "Published", 
        "package_name": "splashtop-streamer", 
        "video_embedded_html_urls": [

Here the package_name is splashtop-streamer.

To gets all reviews for the vlc app I just do this:

But for splashtop-streamer app I can't:

It only returns this:


If you look at splashtop-streamer Install splashtop-streamer online, you'll see that it does indeed have reviews. So why is the API returning an empty list?

share|improve this question

It's not obvious, but the API filter there is using origin to specify whether the app is from the ubuntu archives or a PPA. So for a commercial app, filtering by 'ubuntu' gives zero results. What you want is:


Note, there's also a tiny wrapper that can keep your code cleaner if you want it:

$ bzr branch lp:~rnr-developers/rnr-server/rnrclient
$ cd rnrclient && virtualenv venv && venv/bin/python install && venv/bin/python
>>> from rnrclient import RatingsAndReviewsAPI
>>> api = RatingsAndReviewsAPI("")
>>> api.server_status()
>>> streamer_reviews = api.get_reviews(packagename='splashtop-streamer')
>>> len(streamer_reviews)
>>> streamer_reviews = api.get_reviews(packagename='splashtop-streamer', page=2)
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.