scrapebadger 0.61.1 → 0.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -0
- package/dist/index.d.cts +198 -7
- package/dist/index.d.ts +198 -7
- package/dist/index.js +335 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +335 -8
- package/dist/index.mjs.map +1 -1
- package/dist/twitter/index.js.map +1 -1
- package/dist/twitter/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
9
9
|
var WebSocket__default = /*#__PURE__*/_interopDefault(WebSocket);
|
|
10
10
|
|
|
11
11
|
// src/internal/version.ts
|
|
12
|
-
var SDK_VERSION = "0.
|
|
12
|
+
var SDK_VERSION = "0.62.0";
|
|
13
13
|
|
|
14
14
|
// src/internal/exceptions.ts
|
|
15
15
|
var ScrapeBadgerError = class _ScrapeBadgerError extends Error {
|
|
@@ -4509,6 +4509,42 @@ var AppStoreClient = class {
|
|
|
4509
4509
|
}
|
|
4510
4510
|
};
|
|
4511
4511
|
|
|
4512
|
+
// src/asos/client.ts
|
|
4513
|
+
var AsosClient = class {
|
|
4514
|
+
client;
|
|
4515
|
+
constructor(client) {
|
|
4516
|
+
this.client = client;
|
|
4517
|
+
}
|
|
4518
|
+
/** Search suggestions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
4519
|
+
async searchSuggestions(params = {}) {
|
|
4520
|
+
return this.client.request("/v1/asos/autocomplete", { params });
|
|
4521
|
+
}
|
|
4522
|
+
/** List categories. Generated from the OpenAPI spec; returns the raw response object. */
|
|
4523
|
+
async listCategories(params = {}) {
|
|
4524
|
+
return this.client.request("/v1/asos/categories", { params });
|
|
4525
|
+
}
|
|
4526
|
+
/** List search filters. Generated from the OpenAPI spec; returns the raw response object. */
|
|
4527
|
+
async listSearchFilters(params = {}) {
|
|
4528
|
+
return this.client.request("/v1/asos/filters", { params });
|
|
4529
|
+
}
|
|
4530
|
+
/** List markets. Generated from the OpenAPI spec; returns the raw response object. */
|
|
4531
|
+
async listMarkets(params = {}) {
|
|
4532
|
+
return this.client.request("/v1/asos/markets", { params });
|
|
4533
|
+
}
|
|
4534
|
+
/** Get product detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
4535
|
+
async getProductDetail(productId, params = {}) {
|
|
4536
|
+
return this.client.request(`/v1/asos/products/${productId}`, { params });
|
|
4537
|
+
}
|
|
4538
|
+
/** Search products. Generated from the OpenAPI spec; returns the raw response object. */
|
|
4539
|
+
async searchProducts(params = {}) {
|
|
4540
|
+
return this.client.request("/v1/asos/search", { params });
|
|
4541
|
+
}
|
|
4542
|
+
/** Get stock and prices. Generated from the OpenAPI spec; returns the raw response object. */
|
|
4543
|
+
async getStockAndPrices(params = {}) {
|
|
4544
|
+
return this.client.request("/v1/asos/stock-price", { params });
|
|
4545
|
+
}
|
|
4546
|
+
};
|
|
4547
|
+
|
|
4512
4548
|
// src/instagram/users.ts
|
|
4513
4549
|
var UsersClient4 = class {
|
|
4514
4550
|
client;
|
|
@@ -5040,6 +5076,46 @@ var AirbnbClient = class {
|
|
|
5040
5076
|
}
|
|
5041
5077
|
};
|
|
5042
5078
|
|
|
5079
|
+
// src/aliexpress/client.ts
|
|
5080
|
+
var AliexpressClient = class {
|
|
5081
|
+
client;
|
|
5082
|
+
constructor(client) {
|
|
5083
|
+
this.client = client;
|
|
5084
|
+
}
|
|
5085
|
+
/** Get search suggestions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5086
|
+
async getSearchSuggestions(params = {}) {
|
|
5087
|
+
return this.client.request("/v1/aliexpress/autocomplete", { params });
|
|
5088
|
+
}
|
|
5089
|
+
/** Get category navigation. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5090
|
+
async getCategoryNavigation(params = {}) {
|
|
5091
|
+
return this.client.request("/v1/aliexpress/categories", { params });
|
|
5092
|
+
}
|
|
5093
|
+
/** Get product detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5094
|
+
async getProductDetail(productId, params = {}) {
|
|
5095
|
+
return this.client.request(`/v1/aliexpress/products/${productId}`, { params });
|
|
5096
|
+
}
|
|
5097
|
+
/** Get product reviews. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5098
|
+
async getProductReviews(productId, params = {}) {
|
|
5099
|
+
return this.client.request(`/v1/aliexpress/products/${productId}/reviews`, { params });
|
|
5100
|
+
}
|
|
5101
|
+
/** Search products. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5102
|
+
async searchProducts(params = {}) {
|
|
5103
|
+
return this.client.request("/v1/aliexpress/search", { params });
|
|
5104
|
+
}
|
|
5105
|
+
/** Get store profile. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5106
|
+
async getStoreProfile(storeId, params = {}) {
|
|
5107
|
+
return this.client.request(`/v1/aliexpress/stores/${storeId}`, { params });
|
|
5108
|
+
}
|
|
5109
|
+
/** Get store product categories. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5110
|
+
async getStoreProductCategories(storeId, params = {}) {
|
|
5111
|
+
return this.client.request(`/v1/aliexpress/stores/${storeId}/categories`, { params });
|
|
5112
|
+
}
|
|
5113
|
+
/** Get store products. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5114
|
+
async getStoreProducts(storeId, params = {}) {
|
|
5115
|
+
return this.client.request(`/v1/aliexpress/stores/${storeId}/products`, { params });
|
|
5116
|
+
}
|
|
5117
|
+
};
|
|
5118
|
+
|
|
5043
5119
|
// src/amazon/search.ts
|
|
5044
5120
|
var SearchClient5 = class {
|
|
5045
5121
|
client;
|
|
@@ -5455,6 +5531,58 @@ var ShopeeClient = class {
|
|
|
5455
5531
|
}
|
|
5456
5532
|
};
|
|
5457
5533
|
|
|
5534
|
+
// src/target/client.ts
|
|
5535
|
+
var TargetClient = class {
|
|
5536
|
+
client;
|
|
5537
|
+
constructor(client) {
|
|
5538
|
+
this.client = client;
|
|
5539
|
+
}
|
|
5540
|
+
/** Get search suggestions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5541
|
+
async getSearchSuggestions(params = {}) {
|
|
5542
|
+
return this.client.request("/v1/target/autocomplete", { params });
|
|
5543
|
+
}
|
|
5544
|
+
/** Get categories. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5545
|
+
async getCategories(params = {}) {
|
|
5546
|
+
return this.client.request("/v1/target/categories", { params });
|
|
5547
|
+
}
|
|
5548
|
+
/** Browse a category. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5549
|
+
async browseACategory(params = {}) {
|
|
5550
|
+
return this.client.request("/v1/target/category", { params });
|
|
5551
|
+
}
|
|
5552
|
+
/** List supported markets. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5553
|
+
async listSupportedMarkets(params = {}) {
|
|
5554
|
+
return this.client.request("/v1/target/markets", { params });
|
|
5555
|
+
}
|
|
5556
|
+
/** Get product detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5557
|
+
async getProductDetail(tcin, params = {}) {
|
|
5558
|
+
return this.client.request(`/v1/target/products/${tcin}`, { params });
|
|
5559
|
+
}
|
|
5560
|
+
/** Get product availability. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5561
|
+
async getProductAvailability(tcin, params = {}) {
|
|
5562
|
+
return this.client.request(`/v1/target/products/${tcin}/availability`, { params });
|
|
5563
|
+
}
|
|
5564
|
+
/** Get product questions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5565
|
+
async getProductQuestions(tcin, params = {}) {
|
|
5566
|
+
return this.client.request(`/v1/target/products/${tcin}/questions`, { params });
|
|
5567
|
+
}
|
|
5568
|
+
/** Get product reviews. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5569
|
+
async getProductReviews(tcin, params = {}) {
|
|
5570
|
+
return this.client.request(`/v1/target/products/${tcin}/reviews`, { params });
|
|
5571
|
+
}
|
|
5572
|
+
/** Search products. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5573
|
+
async searchProducts(params = {}) {
|
|
5574
|
+
return this.client.request("/v1/target/search", { params });
|
|
5575
|
+
}
|
|
5576
|
+
/** Find nearby stores. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5577
|
+
async findNearbyStores(params = {}) {
|
|
5578
|
+
return this.client.request("/v1/target/stores", { params });
|
|
5579
|
+
}
|
|
5580
|
+
/** Get store detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5581
|
+
async getStoreDetail(storeId, params = {}) {
|
|
5582
|
+
return this.client.request(`/v1/target/stores/${storeId}`, { params });
|
|
5583
|
+
}
|
|
5584
|
+
};
|
|
5585
|
+
|
|
5458
5586
|
// src/tiktok/users.ts
|
|
5459
5587
|
var UsersClient5 = class {
|
|
5460
5588
|
client;
|
|
@@ -5934,6 +6062,10 @@ var TikTokClient = class {
|
|
|
5934
6062
|
async getTiktokAdDetail(adId, params = {}) {
|
|
5935
6063
|
return this._gen.request(`/v1/tiktok/ads/${adId}`, { params });
|
|
5936
6064
|
}
|
|
6065
|
+
/** Best-selling TikTok Shop products. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6066
|
+
async bestSellingTiktokShopProducts(params = {}) {
|
|
6067
|
+
return this._gen.request("/v1/tiktok/shop/bestsellers", { params });
|
|
6068
|
+
}
|
|
5937
6069
|
/** TikTok Shop root categories. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5938
6070
|
async tiktokShopRootCategories(params = {}) {
|
|
5939
6071
|
return this._gen.request("/v1/tiktok/shop/categories", { params });
|
|
@@ -5942,6 +6074,14 @@ var TikTokClient = class {
|
|
|
5942
6074
|
async tiktokShopCategorySubcategoriesTopProducts(categoryId, params = {}) {
|
|
5943
6075
|
return this._gen.request(`/v1/tiktok/shop/categories/${categoryId}`, { params });
|
|
5944
6076
|
}
|
|
6077
|
+
/** TikTok Shop category products. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6078
|
+
async tiktokShopCategoryProducts(categoryId, params = {}) {
|
|
6079
|
+
return this._gen.request(`/v1/tiktok/shop/categories/${categoryId}/products`, { params });
|
|
6080
|
+
}
|
|
6081
|
+
/** TikTok Shop regional mall feed. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6082
|
+
async tiktokShopRegionalMallFeed(params = {}) {
|
|
6083
|
+
return this._gen.request("/v1/tiktok/shop/mall", { params });
|
|
6084
|
+
}
|
|
5945
6085
|
/** TikTok Shop product detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5946
6086
|
async tiktokShopProductDetail(productId, params = {}) {
|
|
5947
6087
|
return this._gen.request(`/v1/tiktok/shop/products/${productId}`, { params });
|
|
@@ -5950,6 +6090,10 @@ var TikTokClient = class {
|
|
|
5950
6090
|
async tiktokShopProductReviews(productId, params = {}) {
|
|
5951
6091
|
return this._gen.request(`/v1/tiktok/shop/products/${productId}/reviews`, { params });
|
|
5952
6092
|
}
|
|
6093
|
+
/** TikTok Shop theme ranking. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6094
|
+
async tiktokShopThemeRanking(rankId, params = {}) {
|
|
6095
|
+
return this._gen.request(`/v1/tiktok/shop/rankings/${rankId}`, { params });
|
|
6096
|
+
}
|
|
5953
6097
|
/** Search TikTok Shop products. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5954
6098
|
async searchTiktokShopProducts(params = {}) {
|
|
5955
6099
|
return this._gen.request("/v1/tiktok/shop/search", { params });
|
|
@@ -6229,6 +6373,46 @@ var EbayClient = class {
|
|
|
6229
6373
|
}
|
|
6230
6374
|
};
|
|
6231
6375
|
|
|
6376
|
+
// src/etsy/client.ts
|
|
6377
|
+
var EtsyClient = class {
|
|
6378
|
+
client;
|
|
6379
|
+
constructor(client) {
|
|
6380
|
+
this.client = client;
|
|
6381
|
+
}
|
|
6382
|
+
/** Get search suggestions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6383
|
+
async getSearchSuggestions(params = {}) {
|
|
6384
|
+
return this.client.request("/v1/etsy/autocomplete", { params });
|
|
6385
|
+
}
|
|
6386
|
+
/** Get categories. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6387
|
+
async getCategories(params = {}) {
|
|
6388
|
+
return this.client.request("/v1/etsy/categories", { params });
|
|
6389
|
+
}
|
|
6390
|
+
/** Get listing detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6391
|
+
async getListingDetail(listingId, params = {}) {
|
|
6392
|
+
return this.client.request(`/v1/etsy/listings/${listingId}`, { params });
|
|
6393
|
+
}
|
|
6394
|
+
/** Get listing reviews. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6395
|
+
async getListingReviews(listingId, params = {}) {
|
|
6396
|
+
return this.client.request(`/v1/etsy/listings/${listingId}/reviews`, { params });
|
|
6397
|
+
}
|
|
6398
|
+
/** Search listings. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6399
|
+
async searchListings(params = {}) {
|
|
6400
|
+
return this.client.request("/v1/etsy/search", { params });
|
|
6401
|
+
}
|
|
6402
|
+
/** Get shop profile. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6403
|
+
async getShopProfile(shopName, params = {}) {
|
|
6404
|
+
return this.client.request(`/v1/etsy/shops/${shopName}`, { params });
|
|
6405
|
+
}
|
|
6406
|
+
/** Get shop listings. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6407
|
+
async getShopListings(shopName, params = {}) {
|
|
6408
|
+
return this.client.request(`/v1/etsy/shops/${shopName}/listings`, { params });
|
|
6409
|
+
}
|
|
6410
|
+
/** Get shop reviews. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6411
|
+
async getShopReviews(shopName, params = {}) {
|
|
6412
|
+
return this.client.request(`/v1/etsy/shops/${shopName}/reviews`, { params });
|
|
6413
|
+
}
|
|
6414
|
+
};
|
|
6415
|
+
|
|
6232
6416
|
// src/facebook/client.ts
|
|
6233
6417
|
var FacebookClient = class {
|
|
6234
6418
|
client;
|
|
@@ -6255,13 +6439,7 @@ var FacebookClient = class {
|
|
|
6255
6439
|
async getGroupDetail(groupId, params = {}) {
|
|
6256
6440
|
return this.client.request(`/v1/facebook/groups/${groupId}`, { params });
|
|
6257
6441
|
}
|
|
6258
|
-
/**
|
|
6259
|
-
* Get a public group's post feed, 3 posts per page. Generated from the OpenAPI spec; returns the raw response object.
|
|
6260
|
-
*
|
|
6261
|
-
* `params.sort` is `"newest"` (newest first by post time, the default) or `"relevance"`
|
|
6262
|
-
* (Facebook's top-posts ranking). Pass `end_cursor` back as `params.after` while
|
|
6263
|
-
* `has_next_page` for older posts, keeping the same sort.
|
|
6264
|
-
*/
|
|
6442
|
+
/** Get group posts. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6265
6443
|
async getGroupPosts(groupId, params = {}) {
|
|
6266
6444
|
return this.client.request(`/v1/facebook/groups/${groupId}/posts`, { params });
|
|
6267
6445
|
}
|
|
@@ -6701,6 +6879,44 @@ var GumtreeClient = class {
|
|
|
6701
6879
|
async listMarkets() {
|
|
6702
6880
|
return this.client.request("/v1/gumtree/markets");
|
|
6703
6881
|
}
|
|
6882
|
+
// --- BEGIN generated by sdk/codegen/facade — do not edit ---
|
|
6883
|
+
/** Search suggestions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6884
|
+
async searchSuggestions(params = {}) {
|
|
6885
|
+
return this.client.request("/v1/gumtree/autocomplete", { params });
|
|
6886
|
+
}
|
|
6887
|
+
/** List categories. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6888
|
+
async getListcategories(params = {}) {
|
|
6889
|
+
return this.client.request("/v1/gumtree/categories", { params });
|
|
6890
|
+
}
|
|
6891
|
+
/** Get listing. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6892
|
+
async getGetlisting(listingId, params = {}) {
|
|
6893
|
+
return this.client.request(`/v1/gumtree/listings/${listingId}`, { params });
|
|
6894
|
+
}
|
|
6895
|
+
/** Get seller listings. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6896
|
+
async getGetsellerlistings(listingId, params = {}) {
|
|
6897
|
+
return this.client.request(`/v1/gumtree/listings/${listingId}/seller-listings`, { params });
|
|
6898
|
+
}
|
|
6899
|
+
/** List locations. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6900
|
+
async getListlocations(params = {}) {
|
|
6901
|
+
return this.client.request("/v1/gumtree/locations", { params });
|
|
6902
|
+
}
|
|
6903
|
+
/** Location suggestions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6904
|
+
async locationSuggestions(params = {}) {
|
|
6905
|
+
return this.client.request("/v1/gumtree/locations/autocomplete", { params });
|
|
6906
|
+
}
|
|
6907
|
+
/** List markets. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6908
|
+
async getListmarkets(params = {}) {
|
|
6909
|
+
return this.client.request("/v1/gumtree/markets", { params });
|
|
6910
|
+
}
|
|
6911
|
+
/** Search listings. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6912
|
+
async searchListings(params = {}) {
|
|
6913
|
+
return this.client.request("/v1/gumtree/search", { params });
|
|
6914
|
+
}
|
|
6915
|
+
/** Get search filters. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6916
|
+
async getSearchFilters(params = {}) {
|
|
6917
|
+
return this.client.request("/v1/gumtree/search/filters", { params });
|
|
6918
|
+
}
|
|
6919
|
+
// --- END generated by sdk/codegen/facade ---
|
|
6704
6920
|
};
|
|
6705
6921
|
function treeParams(options) {
|
|
6706
6922
|
const { parent_id, market } = typeof options === "object" ? options : { parent_id: options };
|
|
@@ -7094,6 +7310,54 @@ var BaiduClient = class {
|
|
|
7094
7310
|
}
|
|
7095
7311
|
};
|
|
7096
7312
|
|
|
7313
|
+
// src/bestbuy/client.ts
|
|
7314
|
+
var BestbuyClient = class {
|
|
7315
|
+
client;
|
|
7316
|
+
constructor(client) {
|
|
7317
|
+
this.client = client;
|
|
7318
|
+
}
|
|
7319
|
+
/** Get search suggestions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7320
|
+
async getSearchSuggestions(params = {}) {
|
|
7321
|
+
return this.client.request("/v1/bestbuy/autocomplete", { params });
|
|
7322
|
+
}
|
|
7323
|
+
/** Get categories. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7324
|
+
async getCategories(params = {}) {
|
|
7325
|
+
return this.client.request("/v1/bestbuy/categories", { params });
|
|
7326
|
+
}
|
|
7327
|
+
/** Browse a category. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7328
|
+
async browseACategory(params = {}) {
|
|
7329
|
+
return this.client.request("/v1/bestbuy/category", { params });
|
|
7330
|
+
}
|
|
7331
|
+
/** Get laptop and computer deals. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7332
|
+
async getLaptopAndComputerDeals(params = {}) {
|
|
7333
|
+
return this.client.request("/v1/bestbuy/deals", { params });
|
|
7334
|
+
}
|
|
7335
|
+
/** List supported markets. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7336
|
+
async listSupportedMarkets(params = {}) {
|
|
7337
|
+
return this.client.request("/v1/bestbuy/markets", { params });
|
|
7338
|
+
}
|
|
7339
|
+
/** Get product detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7340
|
+
async getProductDetail(sku, params = {}) {
|
|
7341
|
+
return this.client.request(`/v1/bestbuy/products/${sku}`, { params });
|
|
7342
|
+
}
|
|
7343
|
+
/** Get product availability. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7344
|
+
async getProductAvailability(sku, params = {}) {
|
|
7345
|
+
return this.client.request(`/v1/bestbuy/products/${sku}/availability`, { params });
|
|
7346
|
+
}
|
|
7347
|
+
/** Get product questions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7348
|
+
async getProductQuestions(sku, params = {}) {
|
|
7349
|
+
return this.client.request(`/v1/bestbuy/products/${sku}/questions`, { params });
|
|
7350
|
+
}
|
|
7351
|
+
/** Get product reviews. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7352
|
+
async getProductReviews(sku, params = {}) {
|
|
7353
|
+
return this.client.request(`/v1/bestbuy/products/${sku}/reviews`, { params });
|
|
7354
|
+
}
|
|
7355
|
+
/** Search products. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7356
|
+
async searchProducts(params = {}) {
|
|
7357
|
+
return this.client.request("/v1/bestbuy/search", { params });
|
|
7358
|
+
}
|
|
7359
|
+
};
|
|
7360
|
+
|
|
7097
7361
|
// src/naver/search.ts
|
|
7098
7362
|
var SearchClient12 = class {
|
|
7099
7363
|
constructor(client) {
|
|
@@ -7794,6 +8058,7 @@ var ShoppingLiveClient = class {
|
|
|
7794
8058
|
|
|
7795
8059
|
// src/naver/client.ts
|
|
7796
8060
|
var NaverClient = class {
|
|
8061
|
+
_gen;
|
|
7797
8062
|
/** Web / news / blog search and autocomplete */
|
|
7798
8063
|
search;
|
|
7799
8064
|
/** Local search, Place detail, reviews and photos */
|
|
@@ -7816,6 +8081,7 @@ var NaverClient = class {
|
|
|
7816
8081
|
* @param client - The base HTTP client for making requests.
|
|
7817
8082
|
*/
|
|
7818
8083
|
constructor(client) {
|
|
8084
|
+
this._gen = client;
|
|
7819
8085
|
this.search = new SearchClient12(client);
|
|
7820
8086
|
this.places = new PlacesClient(client);
|
|
7821
8087
|
this.shopping = new ShoppingClient2(client);
|
|
@@ -7825,6 +8091,52 @@ var NaverClient = class {
|
|
|
7825
8091
|
this.products = new ProductsClient5(client);
|
|
7826
8092
|
this.live = new ShoppingLiveClient(client);
|
|
7827
8093
|
}
|
|
8094
|
+
// --- BEGIN generated by sdk/codegen/facade — do not edit ---
|
|
8095
|
+
/** Search suggestions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8096
|
+
async searchSuggestions(params = {}) {
|
|
8097
|
+
return this._gen.request("/v1/naver/autocomplete", { params });
|
|
8098
|
+
}
|
|
8099
|
+
/** Naver blog search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8100
|
+
async naverBlogSearch(params = {}) {
|
|
8101
|
+
return this._gen.request("/v1/naver/blog", { params });
|
|
8102
|
+
}
|
|
8103
|
+
/** Naver Place/Local search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8104
|
+
async naverPlaceLocalSearch(params = {}) {
|
|
8105
|
+
return this._gen.request("/v1/naver/local", { params });
|
|
8106
|
+
}
|
|
8107
|
+
/** Naver news search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8108
|
+
async naverNewsSearch(params = {}) {
|
|
8109
|
+
return this._gen.request("/v1/naver/news", { params });
|
|
8110
|
+
}
|
|
8111
|
+
/** Naver place detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8112
|
+
async naverPlaceDetail(placeId, params = {}) {
|
|
8113
|
+
return this._gen.request(`/v1/naver/place/${placeId}`, { params });
|
|
8114
|
+
}
|
|
8115
|
+
/** Naver place visitor reviews. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8116
|
+
async naverPlaceVisitorReviews(placeId, params = {}) {
|
|
8117
|
+
return this._gen.request(`/v1/naver/place/${placeId}/reviews`, { params });
|
|
8118
|
+
}
|
|
8119
|
+
/** Naver web search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8120
|
+
async naverWebSearch(params = {}) {
|
|
8121
|
+
return this._gen.request("/v1/naver/search", { params });
|
|
8122
|
+
}
|
|
8123
|
+
/** Naver Shopping bestseller rankings. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8124
|
+
async naverShoppingBestsellerRankings(params = {}) {
|
|
8125
|
+
return this._gen.request("/v1/naver/shopping/bestsellers", { params });
|
|
8126
|
+
}
|
|
8127
|
+
/** Naver Shopping category reference. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8128
|
+
async naverShoppingCategoryReference(params = {}) {
|
|
8129
|
+
return this._gen.request("/v1/naver/shopping/categories", { params });
|
|
8130
|
+
}
|
|
8131
|
+
/** Naver DataLab shopping keyword insight. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8132
|
+
async naverDatalabShoppingKeywordInsight(params = {}) {
|
|
8133
|
+
return this._gen.request("/v1/naver/shopping/insight", { params });
|
|
8134
|
+
}
|
|
8135
|
+
/** Naver Shopping trending keyword rankings. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8136
|
+
async naverShoppingTrendingKeywordRankings(params = {}) {
|
|
8137
|
+
return this._gen.request("/v1/naver/shopping/keywords", { params });
|
|
8138
|
+
}
|
|
8139
|
+
// --- END generated by sdk/codegen/facade ---
|
|
7828
8140
|
};
|
|
7829
8141
|
|
|
7830
8142
|
// src/yahoo/search.ts
|
|
@@ -10143,6 +10455,8 @@ var ScrapeBadger = class {
|
|
|
10143
10455
|
apartments;
|
|
10144
10456
|
/** App_Store API client. (Generated from the OpenAPI spec.) */
|
|
10145
10457
|
app_store;
|
|
10458
|
+
/** Asos API client. (Generated from the OpenAPI spec.) */
|
|
10459
|
+
asos;
|
|
10146
10460
|
/** Instagram scraper API client — users, media, search, hashtags, locations, audio */
|
|
10147
10461
|
instagram;
|
|
10148
10462
|
/** Redfin scraper API client — search, property, agent, autocomplete, markets (redfin.com, US) */
|
|
@@ -10152,13 +10466,19 @@ var ScrapeBadger = class {
|
|
|
10152
10466
|
account;
|
|
10153
10467
|
/** Airbnb API client. (Generated from the OpenAPI spec.) */
|
|
10154
10468
|
airbnb;
|
|
10469
|
+
/** Aliexpress API client. (Generated from the OpenAPI spec.) */
|
|
10470
|
+
aliexpress;
|
|
10155
10471
|
amazon;
|
|
10156
10472
|
/** Shopee scraper API client — 6 endpoints across 11 markets */
|
|
10157
10473
|
shopee;
|
|
10474
|
+
/** Target API client. (Generated from the OpenAPI spec.) */
|
|
10475
|
+
target;
|
|
10158
10476
|
/** TikTok scraper API client — 26 endpoints */
|
|
10159
10477
|
tiktok;
|
|
10160
10478
|
/** eBay scraper API client — 12 endpoints across 18 markets */
|
|
10161
10479
|
ebay;
|
|
10480
|
+
/** Etsy API client. (Generated from the OpenAPI spec.) */
|
|
10481
|
+
etsy;
|
|
10162
10482
|
/** Facebook API client. (Generated from the OpenAPI spec.) */
|
|
10163
10483
|
facebook;
|
|
10164
10484
|
/** Walmart scraper API client — 11 endpoints (walmart.com, US-only) */
|
|
@@ -10173,6 +10493,8 @@ var ScrapeBadger = class {
|
|
|
10173
10493
|
booking;
|
|
10174
10494
|
/** Baidu scraper API client — search, news, images, autocomplete (baidu.com, China's #1 search engine) */
|
|
10175
10495
|
baidu;
|
|
10496
|
+
/** Bestbuy API client. (Generated from the OpenAPI spec.) */
|
|
10497
|
+
bestbuy;
|
|
10176
10498
|
/** Naver scraper API client — 55 endpoints (search, places, shopping, stores, content, reviews, products, shopping live; naver.com, South Korea) */
|
|
10177
10499
|
naver;
|
|
10178
10500
|
/** Yahoo scraper API client — 6 endpoints (search, images, videos, news, autocomplete, markets) across 35 markets */
|
|
@@ -10246,14 +10568,18 @@ var ScrapeBadger = class {
|
|
|
10246
10568
|
this.reddit = new RedditClient(this.baseClient);
|
|
10247
10569
|
this.apartments = new ApartmentsClient(this.baseClient);
|
|
10248
10570
|
this.app_store = new AppStoreClient(this.baseClient);
|
|
10571
|
+
this.asos = new AsosClient(this.baseClient);
|
|
10249
10572
|
this.instagram = new InstagramClient(this.baseClient);
|
|
10250
10573
|
this.redfin = new RedfinClient(this.baseClient);
|
|
10251
10574
|
this.account = new AccountClient(this.baseClient);
|
|
10252
10575
|
this.airbnb = new AirbnbClient(this.baseClient);
|
|
10576
|
+
this.aliexpress = new AliexpressClient(this.baseClient);
|
|
10253
10577
|
this.amazon = new AmazonClient(this.baseClient);
|
|
10254
10578
|
this.shopee = new ShopeeClient(this.baseClient);
|
|
10579
|
+
this.target = new TargetClient(this.baseClient);
|
|
10255
10580
|
this.tiktok = new TikTokClient(this.baseClient);
|
|
10256
10581
|
this.ebay = new EbayClient(this.baseClient);
|
|
10582
|
+
this.etsy = new EtsyClient(this.baseClient);
|
|
10257
10583
|
this.facebook = new FacebookClient(this.baseClient);
|
|
10258
10584
|
this.walmart = new WalmartClient(this.baseClient);
|
|
10259
10585
|
this.gumtree = new GumtreeClient(this.baseClient);
|
|
@@ -10261,6 +10587,7 @@ var ScrapeBadger = class {
|
|
|
10261
10587
|
this.bing = new BingClient(this.baseClient);
|
|
10262
10588
|
this.booking = new BookingClient(this.baseClient);
|
|
10263
10589
|
this.baidu = new BaiduClient(this.baseClient);
|
|
10590
|
+
this.bestbuy = new BestbuyClient(this.baseClient);
|
|
10264
10591
|
this.naver = new NaverClient(this.baseClient);
|
|
10265
10592
|
this.yahoo = new YahooClient(this.baseClient);
|
|
10266
10593
|
this.yandex = new YandexClient(this.baseClient);
|