I wonder if there is an API available for using contents from the Ubuntu Software Center on my webpage. I know The Ubuntu Apps Directory website contains an almost complete database of applications available in Ubuntu. There are all categories, it contains ratings, images, descriptions and also the download button. So, is it possible to use some of the content available on this page elsewhere?
Well, yes. Keep in mind that
With all those caveats aside
will return a JSON document detailing third party applications currently installable for a given language code, release name prefix, and architecture. For example, here are the Software Center items currently provided for Ubuntu 12.04.
For technical reasons that would be constitutionally painful to explain, applications available from the Ubuntu archives (eg the Universe) are handled by a data package:
Will get you reviews for a package. Note that most fields here can be replaced with
Will get you all ratings for all packages.
Will get you the thumbnail and screenshot for an application. For example, here is VLC's latest screenshot.
Other minor metadata
For more API fun, visit these paths in your file browser. It's all in very readable Python. There's a lot of miscellanea for things like pagination, filtering, licensing text, review statistics, etcetera that you might be interested in: