class Rakuten::Api::Product
Constants
- DetailSearch
- GenreSearch
- Search
Public Class Methods
detail_search(opts={})
click to toggle source
Product
Detail Search
API (version:2011-07-14)
# File lib/rakuten/api/product.rb, line 22 def detail_search(opts={}) opts[:version] = '2011-07-14' unless opts.key?(:version) opts[:operation] = 'ProductDetail' unless opts.key?(:operation) opts[:developerId] = Rakuten::Api.options[:applicationId] unless opts.key?(:developerId) Rakuten::Request.get("http://api.rakuten.co.jp/rws/3.0/json", Rakuten::Api.merge(opts)) end
genre_search(opts={})
click to toggle source
Product
Genre Search
API (version:2010-11-18)
# File lib/rakuten/api/product.rb, line 30 def genre_search(opts={}) opts[:version] = '2010-11-18' unless opts.key?(:version) opts[:operation] = 'ProductGenreInfo' unless opts.key?(:operation) opts[:developerId] = Rakuten::Api.options[:applicationId] unless opts.key?(:developerId) Rakuten::Request.get("http://api.rakuten.co.jp/rws/3.0/json", Rakuten::Api.merge(opts)) end
search(opts={})
click to toggle source
Product
Search
API (version:2010-11-18)
# File lib/rakuten/api/product.rb, line 14 def search(opts={}) opts[:version] = '2010-11-18' unless opts.key?(:version) opts[:operation] = 'ProductSearch' unless opts.key?(:operation) opts[:developerId] = Rakuten::Api.options[:applicationId] unless opts.key?(:developerId) Rakuten::Request.get("http://api.rakuten.co.jp/rws/3.0/json", Rakuten::Api.merge(opts)) end