Sha256: 670b8ed993e05067b34c639df7df2e0d61ae5b0316389e08234aede400c9f329
Contents?: true
Size: 310 Bytes
Versions: 3
Compression:
Stored size: 310 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.name}, #{item.price} yen" end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rakuten_web_service-1.13.2 | examples/ichiba_item_search.rb |
rakuten_web_service-1.13.1 | examples/ichiba_item_search.rb |
rakuten_web_service-1.13.0 | examples/ichiba_item_search.rb |