@@ -5,7 +5,7 @@ All URIs are relative to https://scrapebadger.com, except if the operation defin
55| Method | HTTP request | Description |
66| ------------- | ------------- | ------------- |
77| [ ** ebayBrowseACategory()** ] ( EBayApi.md#ebayBrowseACategory ) | ** GET** /v1/ebay/categories/{category_id}/items | Browse a category |
8- | [ ** ebayCompletedSoldListingsDeprecated ()** ] ( EBayApi.md#ebayCompletedSoldListingsDeprecated ) | ** GET** /v1/ebay/completed | Completed / sold listings (deprecated) |
8+ | [ ** ebayCompletedSoldListings ()** ] ( EBayApi.md#ebayCompletedSoldListings ) | ** GET** /v1/ebay/completed | Completed / sold listings |
99| [ ** ebayEbayScraperHealthCheck()** ] ( EBayApi.md#ebayEbayScraperHealthCheck ) | ** GET** /v1/ebay/health | eBay scraper health check |
1010| [ ** ebayEbayScraperHealthCheckHead()** ] ( EBayApi.md#ebayEbayScraperHealthCheckHead ) | ** HEAD** /v1/ebay/health | eBay scraper health check |
1111| [ ** ebayGetItemDetail()** ] ( EBayApi.md#ebayGetItemDetail ) | ** GET** /v1/ebay/items/{item_id} | Get item detail |
@@ -93,15 +93,15 @@ try {
9393[[ Back to Model list]] ( ../../README.md#models )
9494[[ Back to README]] ( ../../README.md )
9595
96- ## ` ebayCompletedSoldListingsDeprecated ()`
96+ ## ` ebayCompletedSoldListings ()`
9797
9898``` php
99- ebayCompletedSoldListingsDeprecated ($query, $domain, $category_id, $page, $per_page, $sort_by, $condition, $min_price, $max_price): mixed
99+ ebayCompletedSoldListings ($query, $domain, $category_id, $page, $per_page, $sort_by, $condition, $min_price, $max_price): mixed
100100```
101101
102- Completed / sold listings (deprecated)
102+ Completed / sold listings
103103
104- Deprecated — eBay requires a signed-in account for sold listings. Returns 410 .
104+ Search completed/sold listings — eBay's sold-price history .
105105
106106### Example
107107
@@ -123,20 +123,20 @@ $apiInstance = new ScrapeBadger\Api\EBayApi(
123123 $config
124124);
125125$query = 'query_example'; // string | Search keywords
126- $domain = 'com'; // string
127- $category_id = 'category_id_example'; // string
126+ $domain = 'com'; // string | Marketplace domain (com, co.uk, de …)
127+ $category_id = 'category_id_example'; // string | Restrict to a category id
128128$page = 1; // int
129- $per_page = 56; // int
129+ $per_page = 56; // int | 60, 120 or 240
130130$sort_by = 'best_match'; // string | best_match|ending_soonest|newly_listed|price_low_to_high|price_high_to_low
131131$condition = 'condition_example'; // string | new|open_box|refurbished|used|for_parts
132132$min_price = 3.4; // float
133133$max_price = 3.4; // float
134134
135135try {
136- $result = $apiInstance->ebayCompletedSoldListingsDeprecated ($query, $domain, $category_id, $page, $per_page, $sort_by, $condition, $min_price, $max_price);
136+ $result = $apiInstance->ebayCompletedSoldListings ($query, $domain, $category_id, $page, $per_page, $sort_by, $condition, $min_price, $max_price);
137137 print_r($result);
138138} catch (Exception $e) {
139- echo 'Exception when calling EBayApi->ebayCompletedSoldListingsDeprecated : ', $e->getMessage(), PHP_EOL;
139+ echo 'Exception when calling EBayApi->ebayCompletedSoldListings : ', $e->getMessage(), PHP_EOL;
140140}
141141```
142142
@@ -145,10 +145,10 @@ try {
145145| Name | Type | Description | Notes |
146146| ------------- | ------------- | ------------- | ------------- |
147147| ** query** | ** string** | Search keywords | |
148- | ** domain** | ** string** | | [ optional] [ default to ' ; com' ; ] |
149- | ** category_id** | ** string** | | [ optional] |
148+ | ** domain** | ** string** | Marketplace domain (com, co.uk, de …) | [ optional] [ default to ' ; com' ; ] |
149+ | ** category_id** | ** string** | Restrict to a category id | [ optional] |
150150| ** page** | ** int** | | [ optional] [ default to 1] |
151- | ** per_page** | ** int** | | [ optional] |
151+ | ** per_page** | ** int** | 60, 120 or 240 | [ optional] |
152152| ** sort_by** | ** string** | best_match| ending_soonest| newly_listed| price_low_to_high| price_high_to_low | [ optional] [ default to ' ; best_match' ; ] |
153153| ** condition** | ** string** | new| open_box| refurbished| used| for_parts | [ optional] |
154154| ** min_price** | ** float** | | [ optional] |
0 commit comments