Class: Ebay::Finding
- Inherits:
-
Base
- Object
- Base
- Ebay::Finding
show all
- Defined in:
- lib/ebay/finding.rb
Instance Attribute Summary
Attributes inherited from Base
#client
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Constructor Details
This class inherits a constructor from Ebay::Base
Instance Method Details
#find_completed_items(keywords, **params) ⇒ Object
12
13
14
15
16
17
|
# File 'lib/ebay/finding.rb', line 12
def find_completed_items(keywords, **params)
warn "[DEPRECATION] Ebay::Finding#find_completed_items is deprecated. " \
"Use Ebay::MarketplaceInsights#search(q: keywords) instead. " \
"The Finding API has been shut down by eBay."
finding_request("findCompletedItems", { keywords: keywords }.merge(params))
end
|
#find_items_advanced(**params) ⇒ Object
19
20
21
22
23
24
|
# File 'lib/ebay/finding.rb', line 19
def find_items_advanced(**params)
warn "[DEPRECATION] Ebay::Finding#find_items_advanced is deprecated. " \
"Use Ebay::Browse#search(q:, category_ids:, ...) instead. " \
"The Finding API has been shut down by eBay."
finding_request("findItemsAdvanced", params)
end
|
#find_items_by_category(category_id, **params) ⇒ Object
26
27
28
29
30
31
|
# File 'lib/ebay/finding.rb', line 26
def find_items_by_category(category_id, **params)
warn "[DEPRECATION] Ebay::Finding#find_items_by_category is deprecated. " \
"Use Ebay::Browse#search_by_category(category_ids) instead. " \
"The Finding API has been shut down by eBay."
finding_request("findItemsByCategory", { categoryId: category_id }.merge(params))
end
|
#find_items_by_keywords(keywords, **params) ⇒ Object
5
6
7
8
9
10
|
# File 'lib/ebay/finding.rb', line 5
def find_items_by_keywords(keywords, **params)
warn "[DEPRECATION] Ebay::Finding#find_items_by_keywords is deprecated. " \
"Use Ebay::Browse#search(q: keywords) instead. " \
"The Finding API has been shut down by eBay."
finding_request("findItemsByKeywords", { keywords: keywords }.merge(params))
end
|