To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorRelated items
As an API consumer
I want to look up the related items of an item
Because that has some business value.
- Background
-
- Given
-
the following:
@request = Sucker.new( :key => amazon_key, :secret => amazon_secret, :locale => :us)
- Scenarios
-
-
- Given
-
the following:
@request << { :operation => 'ItemLookup', :id_type => 'ASIN', :item_id => '0679753354', :response_group => 'RelatedItems', :relationship_type => 'AuthorityTitle' }
- When
-
I tape:
@response = @request.get
- Then
-
I expect:
@response['RelatedItem'].size.should eql 1
- Authority title
-
- Given
-
the following:
@request << { :operation => 'ItemLookup', :id_type => 'ASIN', :item_id => 'B000ASPUES', :response_group => 'RelatedItems', :relationship_type => 'AuthorityTitle' }
- When
-
I tape:
@response = @request.get
- Then
-
I expect:
@response['RelatedItem'].size.should be > 1
-
Last published over 7 years ago by hakanensari.