Skip to content

Commit df615ae

Browse files
author
scrapebadger-bot
committed
chore: regenerate SDK from OpenAPI spec
1 parent 9b92845 commit df615ae

4 files changed

Lines changed: 63 additions & 68 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ Class | Method | HTTP request | Description
214214
*DuckDuckGoApi* | [**duckduckgoVideoSearch**](docs/Api/DuckDuckGoApi.md#duckduckgovideosearch) | **GET** /v1/duckduckgo/videos | Video search
215215
*DuckDuckGoApi* | [**duckduckgoWebSearch**](docs/Api/DuckDuckGoApi.md#duckduckgowebsearch) | **GET** /v1/duckduckgo/search | Web search
216216
*EBayApi* | [**ebayBrowseACategory**](docs/Api/EBayApi.md#ebaybrowseacategory) | **GET** /v1/ebay/categories/{category_id}/items | Browse a category
217-
*EBayApi* | [**ebayCompletedSoldListingsDeprecated**](docs/Api/EBayApi.md#ebaycompletedsoldlistingsdeprecated) | **GET** /v1/ebay/completed | Completed / sold listings (deprecated)
217+
*EBayApi* | [**ebayCompletedSoldListings**](docs/Api/EBayApi.md#ebaycompletedsoldlistings) | **GET** /v1/ebay/completed | Completed / sold listings
218218
*EBayApi* | [**ebayEbayScraperHealthCheck**](docs/Api/EBayApi.md#ebayebayscraperhealthcheck) | **GET** /v1/ebay/health | eBay scraper health check
219219
*EBayApi* | [**ebayEbayScraperHealthCheckHead**](docs/Api/EBayApi.md#ebayebayscraperhealthcheckhead) | **HEAD** /v1/ebay/health | eBay scraper health check
220220
*EBayApi* | [**ebayGetItemDetail**](docs/Api/EBayApi.md#ebaygetitemdetail) | **GET** /v1/ebay/items/{item_id} | Get item detail

docs/Api/EBayApi.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -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

135135
try {
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

Comments
 (0)