April 4, 2011, 10:32 a.m.
posted by jackthemonoid
Sort Books by Average Customer Rating
Use customer ratings as a guide to which books you should be looking at.
Average customer ratings are one of those aggregate features where it's not the voice of a single Amazon user giving advice, but rather it's the collective advice of everyone who has written a review. Each review includes a 1-5 star rating, and the average review reflects the group opinion of a book.
Sorting Search Results
You can sort any search results by choosing Avg. Customer Review from the "Sort by:" drop-down menu on any results page (see Figure). Make the selection and click Go! to reorder the results.
If you're performing power searches via a URL [Hack #9], you can sort by review with the rank variable set to reviewrank:
http://www.amazon.com/exec/obidos/search-handle-url/[RETURN] ix=books&fqp=power%01publisher%3AO%27Reilly%20and%20keywords%3AHacks[RETURN] &sz=100&rank=reviewrank
If you have a specific set of books that you'd like to sort by review rank, you can use a power search and include each ASIN:
This query looks for the products 0596004478, 0596004605, and 0596004613 and sorts the results by average customer rating.
Sorting Web Services Queries
http://xml.amazon.com/onca/xml2?t=insert affiliate tag &dev-t=insert dev [RETURN] token &type=heavy&f=xml&mode=books&KeywordSearch=Hacks&sort=+reviewrank