Billy Pilgrim
Billy Pilgrim

Reputation: 343

How might one use the Amazon Product API to get a list of unreleased items?

This one's been giving me a headache for a while now. There is one similar question around here, but it's somewhat ambiguous and appears to be unresolved.

I would like to use Amazon's product API to find items in various categories that have yet to be released, that is, items which have a release date which is greater than today's date. From what I can make of it, there may be a way of getting the release date as a response to a query about an item, but I would prefer to make it a part of the query. It's simply impractical to request all of the items in a category and check their release dates individually.

The goal is to get the ASINs of every item on a page such as this one, which is a list of unreleased children's books about animals. This is just an example, of course.

I'd prefer a PHP solution, but really, anything will do. Please feel free to ask me to clarify any points if need be. Thanks in advance!

Upvotes: 0

Views: 1687

Answers (1)

user635090
user635090

Reputation: 1401

You can use the ItemSearch operation on the Product Advertising API with the following parameters:

# Specify the SearchIndex  
SearchIndex = 'Books'

# and the category you want to look at. 
BrowseNode = '2787'

# Use the Power parameter to search for items that will be published
# in the future (here: between January 2013 and June 2013)
Power = 'pubdate:after 01 2013 and pubdate:before 06 2013'

Read more about the Power Search Syntax

Upvotes: 1

Related Questions