Forum Moderators: coopster
<snipped personal url, see TOS [webmasterworld.com]>
Now, it is dynamic but the problem is, its not automatically updated along with amazon. You have to manually enter all the info into a form, like price, title, etc. And you have to update them yourself with new prices and such. I couldn't find much in the amazon PHP developer section on amazon.com and I was wondering if there was a way I could just pass a IBSN to the amazon server and retrieve all the results from product info. That would make the script so much better.
I don't just want an RSS feed because I want to specify the exact products I wish to display in the categories which I define(not amazon categories, but categories that I create myself). I haven't found anything in PHP that actually does this.
[edited by: coopster at 2:54 pm (utc) on Feb. 3, 2006]
[edit reason] no personals please [/edit]
I'm not certain, but perhaps this relative thread regarding Ebay and Amazon APIs Integration with PHP [webmasterworld.com] will give you some ideas or direction?
The url for that operator would be:
[webservices.amazon.com...]
&AWSAccessKeyId=[Your Access Key ID Here]
&Operation=ItemLookup
&ItemId=[An ASIN]
You should also read the amazon tos, price and availability information cant be older then 24 hours, so if you store it in a db make sure you refresh it every 24 hours.
I hope that helps a bit.
Its free and fruity.
edit: hope linking to amazon aws signup isnt a TOS no-no
However, I see all the parameters except the one I want: Price.
I'm looking at the Response group parameter hoping to find it now. You guys know which parameter it is. Parsing will not be much of a problem one I find the parameter.
[webservices.amazon.com...]
&AWSAccessKeyId=[Your Access Key ID Here]
&Operation=ItemLookup
&ItemId=[An ASIN]
Maybe also look @ the ResponseGroup parameter, that defines the amount of data returned.
Thats what you get from the return. The price of the item at hand is $29.99 which is nowhere to be found in the return from file-get-content. I even tried response Large, and still it doesn't always have the price.