Sha256: 74f84390a99d915b816818cb6479fe6d09dae4998c16a232d5b4d28bd8805c8c
Contents?: true
Size: 327 Bytes
Versions: 8
Compression:
Stored size: 327 Bytes
Contents
require 'rakuten_web_service' application_id = ARGV.shift keyword = ARGV[0..-1].join(' ') RakutenWebService.configure do |c| c.application_id = application_id end items = RakutenWebService::Ichiba::Item.search(:keyword => keyword) items.first(10).each do |item| puts "#{item['itemName']}, #{item['itemPrice']} yen" end
Version data entries
8 entries across 8 versions & 1 rubygems