Sha256: b8b08598b179135644b5f1f254a0708a1e4010406815a12c4623688b01fcd938

Contents?: true

Size: 470 Bytes

Versions: 1

Compression:

Stored size: 470 Bytes

Contents

require 'amazon/search'
include Amazon::Search
#amazon search
def runmoviesearch
 req = Request.new(DEV_TOKEN)
 testmovie = @a_moviefilename
 s =   ['keyword_search', "#{testmovie}", 'dvd', HEAVY, ALL_PAGES,'Name']


 s.pop
 begin  
  # parse and display the results of each search
  response = req.send(*s) { |prod| @moviesearchdisplay = prod, '' }
 # printf("Arguments returned from search were:\n\n%s\n", response.args.inspect)
 rescue
  print "result error"
 end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rwdmovies-0.93 code/superant.com.rwdmovies/amazonsearch.rb