Class: Yahoo::Api::Auction

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

Constant Summary collapse

CategoryTree =
"Yahoo::Api::Auction.category_tree"
CategoryLeaf =
"Yahoo::Api::Auction.category_leaf"
SellingList =
"Yahoo::Api::Auction.selling_list"
Search =
"Yahoo::Api::Auction.search"
Item =
"Yahoo::Api::Auction.item"
BidHistory =
"Yahoo::Api::Auction.bid_history"
BidHistoryDetail =
"Yahoo::Api::Auction.bid_history_detail"
ShowQAndA =
"Yahoo::Api::Auction.show_q_and_a"
ShowRating =
"Yahoo::Api::Auction.show_rating"

Class Method Summary collapse

Class Method Details

.bid_history(opts = {}) ⇒ Object

Yahoo Auction Bid History API v1



55
56
57
58
59
# File 'lib/yahoo/api/auction.rb', line 55

def bid_history(opts={})
  opts[:output] = 'json'
  opts[:callback] = 'callback'
  Yahoo::Request.get("http://auctions.yahooapis.jp/AuctionWebService/V1/BidHistory", Yahoo::Api.merge(opts))
end

.bid_history_detail(opts = {}) ⇒ Object

Yahoo Auction Bid History Detail API v1



62
63
64
65
66
# File 'lib/yahoo/api/auction.rb', line 62

def bid_history_detail(opts={})
  opts[:output] = 'json'
  opts[:callback] = 'callback'
  Yahoo::Request.get("http://auctions.yahooapis.jp/AuctionWebService/V1/BidHistoryDetail", Yahoo::Api.merge(opts))
end

.category_leaf(opts = {}) ⇒ Object

Yahoo Auction Category Leaf API v2



27
28
29
30
31
# File 'lib/yahoo/api/auction.rb', line 27

def category_leaf(opts={})
  opts[:output] = 'json'
  opts[:callback] = 'callback'
  Yahoo::Request.get("http://auctions.yahooapis.jp/AuctionWebService/V2/categoryLeaf", Yahoo::Api.merge(opts))
end

.category_tree(opts = {}) ⇒ Object

Yahoo Auction Category Tree API v2



20
21
22
23
24
# File 'lib/yahoo/api/auction.rb', line 20

def category_tree(opts={})
  opts[:output] = 'json'
  opts[:callback] = 'callback'
  Yahoo::Request.get("http://auctions.yahooapis.jp/AuctionWebService/V2/categoryTree", Yahoo::Api.merge(opts))
end

.item(opts = {}) ⇒ Object

Yahoo Auction Item API v2



48
49
50
51
52
# File 'lib/yahoo/api/auction.rb', line 48

def item(opts={})
  opts[:output] = 'json'
  opts[:callback] = 'callback'
  Yahoo::Request.get("http://auctions.yahooapis.jp/AuctionWebService/V2/auctionItem", Yahoo::Api.merge(opts))
end

.search(opts = {}) ⇒ Object

Yahoo Auction Search API v2



41
42
43
44
45
# File 'lib/yahoo/api/auction.rb', line 41

def search(opts={})
  opts[:output] = 'json'
  opts[:callback] = 'callback'
  Yahoo::Request.get("http://auctions.yahooapis.jp/AuctionWebService/V2/search", Yahoo::Api.merge(opts))
end

.selling_list(opts = {}) ⇒ Object

Yahoo Auction Selling List API v2



34
35
36
37
38
# File 'lib/yahoo/api/auction.rb', line 34

def selling_list(opts={})
  opts[:output] = 'json'
  opts[:callback] = 'callback'
  Yahoo::Request.get("http://auctions.yahooapis.jp/AuctionWebService/V2/sellingList", Yahoo::Api.merge(opts))
end

.show_q_and_a(opts = {}) ⇒ Object

Yahoo Auction Show Q & A API v1



69
70
71
72
73
# File 'lib/yahoo/api/auction.rb', line 69

def show_q_and_a(opts={})
  opts[:output] = 'json'
  opts[:callback] = 'callback'
  Yahoo::Request.get("http://auctions.yahooapis.jp/AuctionWebService/V1/ShowQandA", Yahoo::Api.merge(opts))
end

.show_rating(opts = {}) ⇒ Object

Yahoo Auction Show Rating API v1



76
77
78
79
80
# File 'lib/yahoo/api/auction.rb', line 76

def show_rating(opts={})
  opts[:output] = 'json'
  opts[:callback] = 'callback'
  Yahoo::Request.get("http://auctions.yahooapis.jp/AuctionWebService/V1/ShowRating", Yahoo::Api.merge(opts))
end