mibou520's avatar

amazon affiliate API itemsearch

Hi folks,

I'm trying to access the Amazon Affiliated API following this episode : Working With the Simplecast API (https://laracasts.com/series/whatcha-working-on/episodes/7)

On my fetchFeed() method, I want to fetch the Amazon data with the following endpoint (Following this doc https://docs.aws.amazon.com/fr_fr/AWSECommerceService/latest/DG/ItemSearch.html?fbclid=IwAR32i1SNYJYRO-Dt1TAW61Kfn58GNYsZUT5zCBuRARUG6dlhZajGtSnqU7k):

$endpoint = 'http://webservices.amazon.com/onca/xml? Service=AWSECommerceService &Operation=ItemSearch &ResponseGroup=Small &SearchIndex=All &Keywords=harry_potter &AWSAccessKeyId='. config('services.amazon.key') .'&AssociateTag='. config('services.amazon.associated') .'&Timestamp='. gmdate("Y-m-d\TH:i:s\Z") .'&Signature='. config('');

This being said, I have no clue how to make it works being unable to construct my Signature.

Anyone can help? Thanks a lot for you help

0 likes
1 reply

Please or to participate in this conversation.