Tagged: river

River – Amazon Wishlist Gem

One more post on Amazon Wishlist code. As another follow up to my post on Amazon Wishlist RSS, Ruby and Signing/Authenticating your Requests and the site I built to run the code My Amazon Feeds (post here) I've created a gem to contain all the code. Get it by running


  sudo gem install river

It's a pretty simple gem so working with the code is also pretty easy to do:


am = AmazonRequest.new(amazon_access_key_id, amazon_secret_access_key, ecs_to_rss_wishlist, amazon_associate_tag)
results = am.get_amazon_feeds(username) # username needs to be the user's Amazon email
feeds = results.collect { |result| OpenStruct.new(:url => result, :title => 'Amazon Wishlist', :name => 'wishlist') }

Get amazon_access_key_id and amazon_secret_access_key from your AWS console. The amazon_associate_tag parameter is optional. Throw it in there if you want your Amazon associate information in the feed. May as well :-).

The one parameter that might be confusing is &#...

Continue Reading →