Class: Yahoo::Api::Shopping

Inherits:
Object
  • Object
show all
Defined in:
lib/yahoo/api/shopping.rb

Constant Summary collapse

ItemSearch =
"Yahoo::Api::Shopping.item_search"
CategoryRanking =
"Yahoo::Api::Shopping.category_ranking"
CategorySearch =
"Yahoo::Api::Shopping.category_search"
ItemLookup =
"Yahoo::Api::Shopping.item_lookup"
QueryRanking =
"Yahoo::Api::Shopping.query_ranking"
ContentMatchItem =
"Yahoo::Api::Shopping.content_match_item"
ContentMatchRanking =
"Yahoo::Api::Shopping.content_match_ranking"
GetModule =
"Yahoo::Api::Shopping.get_module"
EventSearch =
"Yahoo::Api::Shopping.event_search"
ReviewSearch =
"Yahoo::Api::Shopping.review_search"

Class Method Summary collapse

Class Method Details

.category_ranking(opts = {}) ⇒ Object

Yahoo Shopping Category Ranking API v1



26
27
28
# File 'lib/yahoo/api/shopping.rb', line 26

def category_ranking(opts={})
  Yahoo::Request.get("http://shopping.yahooapis.jp/ShoppingWebService/V1/json/categoryRanking", Yahoo::Api.merge(opts))
end

.category_search(opts = {}) ⇒ Object

Yahoo Shopping Category Search API v1



31
32
33
# File 'lib/yahoo/api/shopping.rb', line 31

def category_search(opts={})
  Yahoo::Request.get("http://shopping.yahooapis.jp/ShoppingWebService/V1/json/categorySearch", Yahoo::Api.merge(opts))
end

.content_match_item(opts = {}) ⇒ Object

Yahoo Shopping Content Match Item API v1



46
47
48
# File 'lib/yahoo/api/shopping.rb', line 46

def content_match_item(opts={})
  Yahoo::Request.get("http://shopping.yahooapis.jp/ShoppingWebService/V1/json/contentMatchItem", Yahoo::Api.merge(opts))
end

.content_match_ranking(opts = {}) ⇒ Object

Yahoo Shopping Content Match Ranking API v1



51
52
53
# File 'lib/yahoo/api/shopping.rb', line 51

def content_match_ranking(opts={})
  Yahoo::Request.get("http://shopping.yahooapis.jp/ShoppingWebService/V1/json/contentMatchRanking", Yahoo::Api.merge(opts))
end

.event_search(opts = {}) ⇒ Object

Yahoo Shopping Event Search API v1



61
62
63
# File 'lib/yahoo/api/shopping.rb', line 61

def event_search(opts={})
  Yahoo::Request.get("http://shopping.yahooapis.jp/ShoppingWebService/V1/json/eventSearch", Yahoo::Api.merge(opts))
end

.get_module(opts = {}) ⇒ Object

Yahoo Shopping Get Module API v1



56
57
58
# File 'lib/yahoo/api/shopping.rb', line 56

def get_module(opts={})
  Yahoo::Request.get("http://shopping.yahooapis.jp/ShoppingWebService/V1/json/getModule", Yahoo::Api.merge(opts))
end

.item_lookup(opts = {}) ⇒ Object

Yahoo Shopping Item Lookup API v1



36
37
38
# File 'lib/yahoo/api/shopping.rb', line 36

def item_lookup(opts={})
  Yahoo::Request.get("http://shopping.yahooapis.jp/ShoppingWebService/V1/json/itemLookup", Yahoo::Api.merge(opts))
end

.item_search(opts = {}) ⇒ Object

Yahoo Shopping Item Search API v1



21
22
23
# File 'lib/yahoo/api/shopping.rb', line 21

def item_search(opts={})
  Yahoo::Request.get("http://shopping.yahooapis.jp/ShoppingWebService/V1/json/itemSearch", Yahoo::Api.merge(opts))
end

.query_ranking(opts = {}) ⇒ Object

Yahoo Shopping Query Ranking API v1



41
42
43
# File 'lib/yahoo/api/shopping.rb', line 41

def query_ranking(opts={})
  Yahoo::Request.get("http://shopping.yahooapis.jp/ShoppingWebService/V1/json/queryRanking", Yahoo::Api.merge(opts))
end

.review_search(opts = {}) ⇒ Object

Yahoo Shopping Review Search API v1



66
67
68
# File 'lib/yahoo/api/shopping.rb', line 66

def review_search(opts={})
  Yahoo::Request.get("http://shopping.yahooapis.jp/ShoppingWebService/V1/json/reviewSearch", Yahoo::Api.merge(opts))
end