Class: Yahoo::Api::Auction

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

Class Method Summary collapse

Class Method Details

.bid_history(opts = {}) ⇒ Object

Yahoo Auction Bid History API v1



45
46
47
48
49
# File 'lib/yahoo/api/auction.rb', line 45

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

.bid_history_detail(opts = {}) ⇒ Object

Yahoo Auction Bid History Detail API v1



52
53
54
55
56
# File 'lib/yahoo/api/auction.rb', line 52

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

.category_leaf(opts = {}) ⇒ Object

Yahoo Auction Category Leaf API v2



17
18
19
20
21
# File 'lib/yahoo/api/auction.rb', line 17

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

.category_tree(opts = {}) ⇒ Object

Yahoo Auction Category Tree API v2



10
11
12
13
14
# File 'lib/yahoo/api/auction.rb', line 10

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

.item(opts = {}) ⇒ Object

Yahoo Auction Item API v2



38
39
40
41
42
# File 'lib/yahoo/api/auction.rb', line 38

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

.search(opts = {}) ⇒ Object

Yahoo Auction Search API v2



31
32
33
34
35
# File 'lib/yahoo/api/auction.rb', line 31

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

.selling_list(opts = {}) ⇒ Object

Yahoo Auction Selling List API v2



24
25
26
27
28
# File 'lib/yahoo/api/auction.rb', line 24

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

.show_q_and_a(opts = {}) ⇒ Object

Yahoo Auction Show Q & A API v1



59
60
61
62
63
# File 'lib/yahoo/api/auction.rb', line 59

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

.show_rating(opts = {}) ⇒ Object

Yahoo Auction Show Rating API v1



66
67
68
69
70
# File 'lib/yahoo/api/auction.rb', line 66

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