Pete Posted December 31, 2012 Share Posted December 31, 2012 I've dabbled with fetching data from Amazon over the years, but they make it so hard that the few times I've achieved some integration it's been a matter of months before it broke. Part of the problem is that nobody was keeping any of the PHP classes (3rd party, not Amazon) up to date so that put me off. This chap however seems to be doing a marvellous job: https://github.com/Exeu/Amazon-ECS-PHP-Library - demo here: http://amazonecs.pixel-web.org/ I'm actually quite excited about the possibility of looking up products, saving the details locally in ProcessWire (not that you need to, but some sort of local catalogue is always nice and you can have it update prices etc. once or twice a day) and making some money on otherwise not-for-profit sites I've had running around in my head for years now. Interesting stuff! 2 Link to comment Share on other sites More sharing options...
netcarver Posted December 31, 2012 Share Posted December 31, 2012 Hi Pete,Interesting to hear about your use/planned use of one of the Amazon data feeds & PW. I run a little shop listing about 50k items on Amazon at present, some custom coding but mainly using a commercial, closed source, product that I'm now working on replacing as it is too inflexible & expensive for our processes. I've been looking at libraries for the replacement work and found another link you might want to consider if you have pro-merchant account access; this fork of guzzle-aws includes an implementation of Amazon's MWS API. If you don't have a pro merchant account, sticking with the product advertising API feed is free. BTW, the link I've included is for source code that is driving a live shop and seems to have very recent activity. I'm just about to start using it.If you do store data locally just be aware that the terms of service for the APIs have a max cache-time clause to keep price info fresh (24 hours max IIRC.) 2 Link to comment Share on other sites More sharing options...
Pete Posted December 31, 2012 Author Share Posted December 31, 2012 Cheers for the info - wasn't aware of the cache time clause, but I was thinking of having it update details (prices, discounts, availability etc) at least every 24 hours so that should be fine. I've not got a pro merchant account but that's useful to know - historically Amazon has been one of those sites I'd love to interact with but they've not made it easy unless you're a rocket scientist until now Link to comment Share on other sites More sharing options...
Recommended Posts