scrapebadger 0.61.1 → 0.63.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 +206 -10
- package/dist/index.d.ts +206 -10
- package/dist/index.js +343 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +343 -9
- 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.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { EventEmitter } from 'events';
|
|
|
3
3
|
import WebSocket from 'ws';
|
|
4
4
|
|
|
5
5
|
// src/internal/version.ts
|
|
6
|
-
var SDK_VERSION = "0.
|
|
6
|
+
var SDK_VERSION = "0.63.0";
|
|
7
7
|
|
|
8
8
|
// src/internal/exceptions.ts
|
|
9
9
|
var ScrapeBadgerError = class _ScrapeBadgerError extends Error {
|
|
@@ -4503,6 +4503,42 @@ var AppStoreClient = class {
|
|
|
4503
4503
|
}
|
|
4504
4504
|
};
|
|
4505
4505
|
|
|
4506
|
+
// src/asos/client.ts
|
|
4507
|
+
var AsosClient = class {
|
|
4508
|
+
client;
|
|
4509
|
+
constructor(client) {
|
|
4510
|
+
this.client = client;
|
|
4511
|
+
}
|
|
4512
|
+
/** Search suggestions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
4513
|
+
async searchSuggestions(params = {}) {
|
|
4514
|
+
return this.client.request("/v1/asos/autocomplete", { params });
|
|
4515
|
+
}
|
|
4516
|
+
/** List categories. Generated from the OpenAPI spec; returns the raw response object. */
|
|
4517
|
+
async listCategories(params = {}) {
|
|
4518
|
+
return this.client.request("/v1/asos/categories", { params });
|
|
4519
|
+
}
|
|
4520
|
+
/** List search filters. Generated from the OpenAPI spec; returns the raw response object. */
|
|
4521
|
+
async listSearchFilters(params = {}) {
|
|
4522
|
+
return this.client.request("/v1/asos/filters", { params });
|
|
4523
|
+
}
|
|
4524
|
+
/** List markets. Generated from the OpenAPI spec; returns the raw response object. */
|
|
4525
|
+
async listMarkets(params = {}) {
|
|
4526
|
+
return this.client.request("/v1/asos/markets", { params });
|
|
4527
|
+
}
|
|
4528
|
+
/** Get product detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
4529
|
+
async getProductDetail(productId, params = {}) {
|
|
4530
|
+
return this.client.request(`/v1/asos/products/${productId}`, { params });
|
|
4531
|
+
}
|
|
4532
|
+
/** Search products. Generated from the OpenAPI spec; returns the raw response object. */
|
|
4533
|
+
async searchProducts(params = {}) {
|
|
4534
|
+
return this.client.request("/v1/asos/search", { params });
|
|
4535
|
+
}
|
|
4536
|
+
/** Get stock and prices. Generated from the OpenAPI spec; returns the raw response object. */
|
|
4537
|
+
async getStockAndPrices(params = {}) {
|
|
4538
|
+
return this.client.request("/v1/asos/stock-price", { params });
|
|
4539
|
+
}
|
|
4540
|
+
};
|
|
4541
|
+
|
|
4506
4542
|
// src/instagram/users.ts
|
|
4507
4543
|
var UsersClient4 = class {
|
|
4508
4544
|
client;
|
|
@@ -5034,6 +5070,46 @@ var AirbnbClient = class {
|
|
|
5034
5070
|
}
|
|
5035
5071
|
};
|
|
5036
5072
|
|
|
5073
|
+
// src/aliexpress/client.ts
|
|
5074
|
+
var AliexpressClient = class {
|
|
5075
|
+
client;
|
|
5076
|
+
constructor(client) {
|
|
5077
|
+
this.client = client;
|
|
5078
|
+
}
|
|
5079
|
+
/** Get search suggestions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5080
|
+
async getSearchSuggestions(params = {}) {
|
|
5081
|
+
return this.client.request("/v1/aliexpress/autocomplete", { params });
|
|
5082
|
+
}
|
|
5083
|
+
/** Get category navigation. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5084
|
+
async getCategoryNavigation(params = {}) {
|
|
5085
|
+
return this.client.request("/v1/aliexpress/categories", { params });
|
|
5086
|
+
}
|
|
5087
|
+
/** Get product detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5088
|
+
async getProductDetail(productId, params = {}) {
|
|
5089
|
+
return this.client.request(`/v1/aliexpress/products/${productId}`, { params });
|
|
5090
|
+
}
|
|
5091
|
+
/** Get product reviews. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5092
|
+
async getProductReviews(productId, params = {}) {
|
|
5093
|
+
return this.client.request(`/v1/aliexpress/products/${productId}/reviews`, { params });
|
|
5094
|
+
}
|
|
5095
|
+
/** Search products. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5096
|
+
async searchProducts(params = {}) {
|
|
5097
|
+
return this.client.request("/v1/aliexpress/search", { params });
|
|
5098
|
+
}
|
|
5099
|
+
/** Get store profile. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5100
|
+
async getStoreProfile(storeId, params = {}) {
|
|
5101
|
+
return this.client.request(`/v1/aliexpress/stores/${storeId}`, { params });
|
|
5102
|
+
}
|
|
5103
|
+
/** Get store product categories. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5104
|
+
async getStoreProductCategories(storeId, params = {}) {
|
|
5105
|
+
return this.client.request(`/v1/aliexpress/stores/${storeId}/categories`, { params });
|
|
5106
|
+
}
|
|
5107
|
+
/** Get store products. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5108
|
+
async getStoreProducts(storeId, params = {}) {
|
|
5109
|
+
return this.client.request(`/v1/aliexpress/stores/${storeId}/products`, { params });
|
|
5110
|
+
}
|
|
5111
|
+
};
|
|
5112
|
+
|
|
5037
5113
|
// src/amazon/search.ts
|
|
5038
5114
|
var SearchClient5 = class {
|
|
5039
5115
|
client;
|
|
@@ -5449,6 +5525,58 @@ var ShopeeClient = class {
|
|
|
5449
5525
|
}
|
|
5450
5526
|
};
|
|
5451
5527
|
|
|
5528
|
+
// src/target/client.ts
|
|
5529
|
+
var TargetClient = class {
|
|
5530
|
+
client;
|
|
5531
|
+
constructor(client) {
|
|
5532
|
+
this.client = client;
|
|
5533
|
+
}
|
|
5534
|
+
/** Get search suggestions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5535
|
+
async getSearchSuggestions(params = {}) {
|
|
5536
|
+
return this.client.request("/v1/target/autocomplete", { params });
|
|
5537
|
+
}
|
|
5538
|
+
/** Get categories. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5539
|
+
async getCategories(params = {}) {
|
|
5540
|
+
return this.client.request("/v1/target/categories", { params });
|
|
5541
|
+
}
|
|
5542
|
+
/** Browse a category. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5543
|
+
async browseACategory(params = {}) {
|
|
5544
|
+
return this.client.request("/v1/target/category", { params });
|
|
5545
|
+
}
|
|
5546
|
+
/** List supported markets. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5547
|
+
async listSupportedMarkets(params = {}) {
|
|
5548
|
+
return this.client.request("/v1/target/markets", { params });
|
|
5549
|
+
}
|
|
5550
|
+
/** Get product detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5551
|
+
async getProductDetail(tcin, params = {}) {
|
|
5552
|
+
return this.client.request(`/v1/target/products/${tcin}`, { params });
|
|
5553
|
+
}
|
|
5554
|
+
/** Get product availability. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5555
|
+
async getProductAvailability(tcin, params = {}) {
|
|
5556
|
+
return this.client.request(`/v1/target/products/${tcin}/availability`, { params });
|
|
5557
|
+
}
|
|
5558
|
+
/** Get product questions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5559
|
+
async getProductQuestions(tcin, params = {}) {
|
|
5560
|
+
return this.client.request(`/v1/target/products/${tcin}/questions`, { params });
|
|
5561
|
+
}
|
|
5562
|
+
/** Get product reviews. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5563
|
+
async getProductReviews(tcin, params = {}) {
|
|
5564
|
+
return this.client.request(`/v1/target/products/${tcin}/reviews`, { params });
|
|
5565
|
+
}
|
|
5566
|
+
/** Search products. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5567
|
+
async searchProducts(params = {}) {
|
|
5568
|
+
return this.client.request("/v1/target/search", { params });
|
|
5569
|
+
}
|
|
5570
|
+
/** Find nearby stores. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5571
|
+
async findNearbyStores(params = {}) {
|
|
5572
|
+
return this.client.request("/v1/target/stores", { params });
|
|
5573
|
+
}
|
|
5574
|
+
/** Get store detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5575
|
+
async getStoreDetail(storeId, params = {}) {
|
|
5576
|
+
return this.client.request(`/v1/target/stores/${storeId}`, { params });
|
|
5577
|
+
}
|
|
5578
|
+
};
|
|
5579
|
+
|
|
5452
5580
|
// src/tiktok/users.ts
|
|
5453
5581
|
var UsersClient5 = class {
|
|
5454
5582
|
client;
|
|
@@ -5928,6 +6056,10 @@ var TikTokClient = class {
|
|
|
5928
6056
|
async getTiktokAdDetail(adId, params = {}) {
|
|
5929
6057
|
return this._gen.request(`/v1/tiktok/ads/${adId}`, { params });
|
|
5930
6058
|
}
|
|
6059
|
+
/** Best-selling TikTok Shop products. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6060
|
+
async bestSellingTiktokShopProducts(params = {}) {
|
|
6061
|
+
return this._gen.request("/v1/tiktok/shop/bestsellers", { params });
|
|
6062
|
+
}
|
|
5931
6063
|
/** TikTok Shop root categories. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5932
6064
|
async tiktokShopRootCategories(params = {}) {
|
|
5933
6065
|
return this._gen.request("/v1/tiktok/shop/categories", { params });
|
|
@@ -5936,6 +6068,14 @@ var TikTokClient = class {
|
|
|
5936
6068
|
async tiktokShopCategorySubcategoriesTopProducts(categoryId, params = {}) {
|
|
5937
6069
|
return this._gen.request(`/v1/tiktok/shop/categories/${categoryId}`, { params });
|
|
5938
6070
|
}
|
|
6071
|
+
/** TikTok Shop category products. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6072
|
+
async tiktokShopCategoryProducts(categoryId, params = {}) {
|
|
6073
|
+
return this._gen.request(`/v1/tiktok/shop/categories/${categoryId}/products`, { params });
|
|
6074
|
+
}
|
|
6075
|
+
/** TikTok Shop regional mall feed. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6076
|
+
async tiktokShopRegionalMallFeed(params = {}) {
|
|
6077
|
+
return this._gen.request("/v1/tiktok/shop/mall", { params });
|
|
6078
|
+
}
|
|
5939
6079
|
/** TikTok Shop product detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5940
6080
|
async tiktokShopProductDetail(productId, params = {}) {
|
|
5941
6081
|
return this._gen.request(`/v1/tiktok/shop/products/${productId}`, { params });
|
|
@@ -5944,6 +6084,10 @@ var TikTokClient = class {
|
|
|
5944
6084
|
async tiktokShopProductReviews(productId, params = {}) {
|
|
5945
6085
|
return this._gen.request(`/v1/tiktok/shop/products/${productId}/reviews`, { params });
|
|
5946
6086
|
}
|
|
6087
|
+
/** TikTok Shop theme ranking. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6088
|
+
async tiktokShopThemeRanking(rankId, params = {}) {
|
|
6089
|
+
return this._gen.request(`/v1/tiktok/shop/rankings/${rankId}`, { params });
|
|
6090
|
+
}
|
|
5947
6091
|
/** Search TikTok Shop products. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5948
6092
|
async searchTiktokShopProducts(params = {}) {
|
|
5949
6093
|
return this._gen.request("/v1/tiktok/shop/search", { params });
|
|
@@ -6027,13 +6171,20 @@ var SearchClient8 = class {
|
|
|
6027
6171
|
/**
|
|
6028
6172
|
* Search completed / sold listings — eBay's sold-price history.
|
|
6029
6173
|
*
|
|
6030
|
-
*
|
|
6174
|
+
* Pass `query`, `seller` or both. `seller` alone pages through everything
|
|
6175
|
+
* that seller sold, e.g. `completed({ seller: "musicmagpie", domain: "co.uk" })`.
|
|
6176
|
+
*
|
|
6177
|
+
* @param params - Search parameters including query, seller, filters, and pagination.
|
|
6031
6178
|
* @returns Search results (with `sold: true`), facets, and pagination.
|
|
6032
6179
|
*/
|
|
6033
6180
|
async completed(params) {
|
|
6181
|
+
if (!params.query && !params.seller) {
|
|
6182
|
+
throw new Error("Pass query, seller, or both.");
|
|
6183
|
+
}
|
|
6034
6184
|
return this.client.request("/v1/ebay/completed", {
|
|
6035
6185
|
params: {
|
|
6036
6186
|
query: params.query,
|
|
6187
|
+
seller: params.seller,
|
|
6037
6188
|
domain: params.domain,
|
|
6038
6189
|
category_id: params.category_id,
|
|
6039
6190
|
page: params.page,
|
|
@@ -6223,6 +6374,46 @@ var EbayClient = class {
|
|
|
6223
6374
|
}
|
|
6224
6375
|
};
|
|
6225
6376
|
|
|
6377
|
+
// src/etsy/client.ts
|
|
6378
|
+
var EtsyClient = class {
|
|
6379
|
+
client;
|
|
6380
|
+
constructor(client) {
|
|
6381
|
+
this.client = client;
|
|
6382
|
+
}
|
|
6383
|
+
/** Get search suggestions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6384
|
+
async getSearchSuggestions(params = {}) {
|
|
6385
|
+
return this.client.request("/v1/etsy/autocomplete", { params });
|
|
6386
|
+
}
|
|
6387
|
+
/** Get categories. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6388
|
+
async getCategories(params = {}) {
|
|
6389
|
+
return this.client.request("/v1/etsy/categories", { params });
|
|
6390
|
+
}
|
|
6391
|
+
/** Get listing detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6392
|
+
async getListingDetail(listingId, params = {}) {
|
|
6393
|
+
return this.client.request(`/v1/etsy/listings/${listingId}`, { params });
|
|
6394
|
+
}
|
|
6395
|
+
/** Get listing reviews. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6396
|
+
async getListingReviews(listingId, params = {}) {
|
|
6397
|
+
return this.client.request(`/v1/etsy/listings/${listingId}/reviews`, { params });
|
|
6398
|
+
}
|
|
6399
|
+
/** Search listings. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6400
|
+
async searchListings(params = {}) {
|
|
6401
|
+
return this.client.request("/v1/etsy/search", { params });
|
|
6402
|
+
}
|
|
6403
|
+
/** Get shop profile. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6404
|
+
async getShopProfile(shopName, params = {}) {
|
|
6405
|
+
return this.client.request(`/v1/etsy/shops/${shopName}`, { params });
|
|
6406
|
+
}
|
|
6407
|
+
/** Get shop listings. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6408
|
+
async getShopListings(shopName, params = {}) {
|
|
6409
|
+
return this.client.request(`/v1/etsy/shops/${shopName}/listings`, { params });
|
|
6410
|
+
}
|
|
6411
|
+
/** Get shop reviews. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6412
|
+
async getShopReviews(shopName, params = {}) {
|
|
6413
|
+
return this.client.request(`/v1/etsy/shops/${shopName}/reviews`, { params });
|
|
6414
|
+
}
|
|
6415
|
+
};
|
|
6416
|
+
|
|
6226
6417
|
// src/facebook/client.ts
|
|
6227
6418
|
var FacebookClient = class {
|
|
6228
6419
|
client;
|
|
@@ -6249,13 +6440,7 @@ var FacebookClient = class {
|
|
|
6249
6440
|
async getGroupDetail(groupId, params = {}) {
|
|
6250
6441
|
return this.client.request(`/v1/facebook/groups/${groupId}`, { params });
|
|
6251
6442
|
}
|
|
6252
|
-
/**
|
|
6253
|
-
* Get a public group's post feed, 3 posts per page. Generated from the OpenAPI spec; returns the raw response object.
|
|
6254
|
-
*
|
|
6255
|
-
* `params.sort` is `"newest"` (newest first by post time, the default) or `"relevance"`
|
|
6256
|
-
* (Facebook's top-posts ranking). Pass `end_cursor` back as `params.after` while
|
|
6257
|
-
* `has_next_page` for older posts, keeping the same sort.
|
|
6258
|
-
*/
|
|
6443
|
+
/** Get group posts. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6259
6444
|
async getGroupPosts(groupId, params = {}) {
|
|
6260
6445
|
return this.client.request(`/v1/facebook/groups/${groupId}/posts`, { params });
|
|
6261
6446
|
}
|
|
@@ -6695,6 +6880,44 @@ var GumtreeClient = class {
|
|
|
6695
6880
|
async listMarkets() {
|
|
6696
6881
|
return this.client.request("/v1/gumtree/markets");
|
|
6697
6882
|
}
|
|
6883
|
+
// --- BEGIN generated by sdk/codegen/facade — do not edit ---
|
|
6884
|
+
/** Search suggestions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6885
|
+
async searchSuggestions(params = {}) {
|
|
6886
|
+
return this.client.request("/v1/gumtree/autocomplete", { params });
|
|
6887
|
+
}
|
|
6888
|
+
/** List categories. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6889
|
+
async getListcategories(params = {}) {
|
|
6890
|
+
return this.client.request("/v1/gumtree/categories", { params });
|
|
6891
|
+
}
|
|
6892
|
+
/** Get listing. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6893
|
+
async getGetlisting(listingId, params = {}) {
|
|
6894
|
+
return this.client.request(`/v1/gumtree/listings/${listingId}`, { params });
|
|
6895
|
+
}
|
|
6896
|
+
/** Get seller listings. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6897
|
+
async getGetsellerlistings(listingId, params = {}) {
|
|
6898
|
+
return this.client.request(`/v1/gumtree/listings/${listingId}/seller-listings`, { params });
|
|
6899
|
+
}
|
|
6900
|
+
/** List locations. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6901
|
+
async getListlocations(params = {}) {
|
|
6902
|
+
return this.client.request("/v1/gumtree/locations", { params });
|
|
6903
|
+
}
|
|
6904
|
+
/** Location suggestions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6905
|
+
async locationSuggestions(params = {}) {
|
|
6906
|
+
return this.client.request("/v1/gumtree/locations/autocomplete", { params });
|
|
6907
|
+
}
|
|
6908
|
+
/** List markets. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6909
|
+
async getListmarkets(params = {}) {
|
|
6910
|
+
return this.client.request("/v1/gumtree/markets", { params });
|
|
6911
|
+
}
|
|
6912
|
+
/** Search listings. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6913
|
+
async searchListings(params = {}) {
|
|
6914
|
+
return this.client.request("/v1/gumtree/search", { params });
|
|
6915
|
+
}
|
|
6916
|
+
/** Get search filters. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6917
|
+
async getSearchFilters(params = {}) {
|
|
6918
|
+
return this.client.request("/v1/gumtree/search/filters", { params });
|
|
6919
|
+
}
|
|
6920
|
+
// --- END generated by sdk/codegen/facade ---
|
|
6698
6921
|
};
|
|
6699
6922
|
function treeParams(options) {
|
|
6700
6923
|
const { parent_id, market } = typeof options === "object" ? options : { parent_id: options };
|
|
@@ -7088,6 +7311,54 @@ var BaiduClient = class {
|
|
|
7088
7311
|
}
|
|
7089
7312
|
};
|
|
7090
7313
|
|
|
7314
|
+
// src/bestbuy/client.ts
|
|
7315
|
+
var BestbuyClient = class {
|
|
7316
|
+
client;
|
|
7317
|
+
constructor(client) {
|
|
7318
|
+
this.client = client;
|
|
7319
|
+
}
|
|
7320
|
+
/** Get search suggestions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7321
|
+
async getSearchSuggestions(params = {}) {
|
|
7322
|
+
return this.client.request("/v1/bestbuy/autocomplete", { params });
|
|
7323
|
+
}
|
|
7324
|
+
/** Get categories. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7325
|
+
async getCategories(params = {}) {
|
|
7326
|
+
return this.client.request("/v1/bestbuy/categories", { params });
|
|
7327
|
+
}
|
|
7328
|
+
/** Browse a category. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7329
|
+
async browseACategory(params = {}) {
|
|
7330
|
+
return this.client.request("/v1/bestbuy/category", { params });
|
|
7331
|
+
}
|
|
7332
|
+
/** Get laptop and computer deals. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7333
|
+
async getLaptopAndComputerDeals(params = {}) {
|
|
7334
|
+
return this.client.request("/v1/bestbuy/deals", { params });
|
|
7335
|
+
}
|
|
7336
|
+
/** List supported markets. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7337
|
+
async listSupportedMarkets(params = {}) {
|
|
7338
|
+
return this.client.request("/v1/bestbuy/markets", { params });
|
|
7339
|
+
}
|
|
7340
|
+
/** Get product detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7341
|
+
async getProductDetail(sku, params = {}) {
|
|
7342
|
+
return this.client.request(`/v1/bestbuy/products/${sku}`, { params });
|
|
7343
|
+
}
|
|
7344
|
+
/** Get product availability. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7345
|
+
async getProductAvailability(sku, params = {}) {
|
|
7346
|
+
return this.client.request(`/v1/bestbuy/products/${sku}/availability`, { params });
|
|
7347
|
+
}
|
|
7348
|
+
/** Get product questions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7349
|
+
async getProductQuestions(sku, params = {}) {
|
|
7350
|
+
return this.client.request(`/v1/bestbuy/products/${sku}/questions`, { params });
|
|
7351
|
+
}
|
|
7352
|
+
/** Get product reviews. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7353
|
+
async getProductReviews(sku, params = {}) {
|
|
7354
|
+
return this.client.request(`/v1/bestbuy/products/${sku}/reviews`, { params });
|
|
7355
|
+
}
|
|
7356
|
+
/** Search products. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7357
|
+
async searchProducts(params = {}) {
|
|
7358
|
+
return this.client.request("/v1/bestbuy/search", { params });
|
|
7359
|
+
}
|
|
7360
|
+
};
|
|
7361
|
+
|
|
7091
7362
|
// src/naver/search.ts
|
|
7092
7363
|
var SearchClient12 = class {
|
|
7093
7364
|
constructor(client) {
|
|
@@ -7788,6 +8059,7 @@ var ShoppingLiveClient = class {
|
|
|
7788
8059
|
|
|
7789
8060
|
// src/naver/client.ts
|
|
7790
8061
|
var NaverClient = class {
|
|
8062
|
+
_gen;
|
|
7791
8063
|
/** Web / news / blog search and autocomplete */
|
|
7792
8064
|
search;
|
|
7793
8065
|
/** Local search, Place detail, reviews and photos */
|
|
@@ -7810,6 +8082,7 @@ var NaverClient = class {
|
|
|
7810
8082
|
* @param client - The base HTTP client for making requests.
|
|
7811
8083
|
*/
|
|
7812
8084
|
constructor(client) {
|
|
8085
|
+
this._gen = client;
|
|
7813
8086
|
this.search = new SearchClient12(client);
|
|
7814
8087
|
this.places = new PlacesClient(client);
|
|
7815
8088
|
this.shopping = new ShoppingClient2(client);
|
|
@@ -7819,6 +8092,52 @@ var NaverClient = class {
|
|
|
7819
8092
|
this.products = new ProductsClient5(client);
|
|
7820
8093
|
this.live = new ShoppingLiveClient(client);
|
|
7821
8094
|
}
|
|
8095
|
+
// --- BEGIN generated by sdk/codegen/facade — do not edit ---
|
|
8096
|
+
/** Search suggestions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8097
|
+
async searchSuggestions(params = {}) {
|
|
8098
|
+
return this._gen.request("/v1/naver/autocomplete", { params });
|
|
8099
|
+
}
|
|
8100
|
+
/** Naver blog search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8101
|
+
async naverBlogSearch(params = {}) {
|
|
8102
|
+
return this._gen.request("/v1/naver/blog", { params });
|
|
8103
|
+
}
|
|
8104
|
+
/** Naver Place/Local search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8105
|
+
async naverPlaceLocalSearch(params = {}) {
|
|
8106
|
+
return this._gen.request("/v1/naver/local", { params });
|
|
8107
|
+
}
|
|
8108
|
+
/** Naver news search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8109
|
+
async naverNewsSearch(params = {}) {
|
|
8110
|
+
return this._gen.request("/v1/naver/news", { params });
|
|
8111
|
+
}
|
|
8112
|
+
/** Naver place detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8113
|
+
async naverPlaceDetail(placeId, params = {}) {
|
|
8114
|
+
return this._gen.request(`/v1/naver/place/${placeId}`, { params });
|
|
8115
|
+
}
|
|
8116
|
+
/** Naver place visitor reviews. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8117
|
+
async naverPlaceVisitorReviews(placeId, params = {}) {
|
|
8118
|
+
return this._gen.request(`/v1/naver/place/${placeId}/reviews`, { params });
|
|
8119
|
+
}
|
|
8120
|
+
/** Naver web search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8121
|
+
async naverWebSearch(params = {}) {
|
|
8122
|
+
return this._gen.request("/v1/naver/search", { params });
|
|
8123
|
+
}
|
|
8124
|
+
/** Naver Shopping bestseller rankings. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8125
|
+
async naverShoppingBestsellerRankings(params = {}) {
|
|
8126
|
+
return this._gen.request("/v1/naver/shopping/bestsellers", { params });
|
|
8127
|
+
}
|
|
8128
|
+
/** Naver Shopping category reference. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8129
|
+
async naverShoppingCategoryReference(params = {}) {
|
|
8130
|
+
return this._gen.request("/v1/naver/shopping/categories", { params });
|
|
8131
|
+
}
|
|
8132
|
+
/** Naver DataLab shopping keyword insight. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8133
|
+
async naverDatalabShoppingKeywordInsight(params = {}) {
|
|
8134
|
+
return this._gen.request("/v1/naver/shopping/insight", { params });
|
|
8135
|
+
}
|
|
8136
|
+
/** Naver Shopping trending keyword rankings. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8137
|
+
async naverShoppingTrendingKeywordRankings(params = {}) {
|
|
8138
|
+
return this._gen.request("/v1/naver/shopping/keywords", { params });
|
|
8139
|
+
}
|
|
8140
|
+
// --- END generated by sdk/codegen/facade ---
|
|
7822
8141
|
};
|
|
7823
8142
|
|
|
7824
8143
|
// src/yahoo/search.ts
|
|
@@ -10137,6 +10456,8 @@ var ScrapeBadger = class {
|
|
|
10137
10456
|
apartments;
|
|
10138
10457
|
/** App_Store API client. (Generated from the OpenAPI spec.) */
|
|
10139
10458
|
app_store;
|
|
10459
|
+
/** Asos API client. (Generated from the OpenAPI spec.) */
|
|
10460
|
+
asos;
|
|
10140
10461
|
/** Instagram scraper API client — users, media, search, hashtags, locations, audio */
|
|
10141
10462
|
instagram;
|
|
10142
10463
|
/** Redfin scraper API client — search, property, agent, autocomplete, markets (redfin.com, US) */
|
|
@@ -10146,13 +10467,19 @@ var ScrapeBadger = class {
|
|
|
10146
10467
|
account;
|
|
10147
10468
|
/** Airbnb API client. (Generated from the OpenAPI spec.) */
|
|
10148
10469
|
airbnb;
|
|
10470
|
+
/** Aliexpress API client. (Generated from the OpenAPI spec.) */
|
|
10471
|
+
aliexpress;
|
|
10149
10472
|
amazon;
|
|
10150
10473
|
/** Shopee scraper API client — 6 endpoints across 11 markets */
|
|
10151
10474
|
shopee;
|
|
10475
|
+
/** Target API client. (Generated from the OpenAPI spec.) */
|
|
10476
|
+
target;
|
|
10152
10477
|
/** TikTok scraper API client — 26 endpoints */
|
|
10153
10478
|
tiktok;
|
|
10154
10479
|
/** eBay scraper API client — 12 endpoints across 18 markets */
|
|
10155
10480
|
ebay;
|
|
10481
|
+
/** Etsy API client. (Generated from the OpenAPI spec.) */
|
|
10482
|
+
etsy;
|
|
10156
10483
|
/** Facebook API client. (Generated from the OpenAPI spec.) */
|
|
10157
10484
|
facebook;
|
|
10158
10485
|
/** Walmart scraper API client — 11 endpoints (walmart.com, US-only) */
|
|
@@ -10167,6 +10494,8 @@ var ScrapeBadger = class {
|
|
|
10167
10494
|
booking;
|
|
10168
10495
|
/** Baidu scraper API client — search, news, images, autocomplete (baidu.com, China's #1 search engine) */
|
|
10169
10496
|
baidu;
|
|
10497
|
+
/** Bestbuy API client. (Generated from the OpenAPI spec.) */
|
|
10498
|
+
bestbuy;
|
|
10170
10499
|
/** Naver scraper API client — 55 endpoints (search, places, shopping, stores, content, reviews, products, shopping live; naver.com, South Korea) */
|
|
10171
10500
|
naver;
|
|
10172
10501
|
/** Yahoo scraper API client — 6 endpoints (search, images, videos, news, autocomplete, markets) across 35 markets */
|
|
@@ -10240,14 +10569,18 @@ var ScrapeBadger = class {
|
|
|
10240
10569
|
this.reddit = new RedditClient(this.baseClient);
|
|
10241
10570
|
this.apartments = new ApartmentsClient(this.baseClient);
|
|
10242
10571
|
this.app_store = new AppStoreClient(this.baseClient);
|
|
10572
|
+
this.asos = new AsosClient(this.baseClient);
|
|
10243
10573
|
this.instagram = new InstagramClient(this.baseClient);
|
|
10244
10574
|
this.redfin = new RedfinClient(this.baseClient);
|
|
10245
10575
|
this.account = new AccountClient(this.baseClient);
|
|
10246
10576
|
this.airbnb = new AirbnbClient(this.baseClient);
|
|
10577
|
+
this.aliexpress = new AliexpressClient(this.baseClient);
|
|
10247
10578
|
this.amazon = new AmazonClient(this.baseClient);
|
|
10248
10579
|
this.shopee = new ShopeeClient(this.baseClient);
|
|
10580
|
+
this.target = new TargetClient(this.baseClient);
|
|
10249
10581
|
this.tiktok = new TikTokClient(this.baseClient);
|
|
10250
10582
|
this.ebay = new EbayClient(this.baseClient);
|
|
10583
|
+
this.etsy = new EtsyClient(this.baseClient);
|
|
10251
10584
|
this.facebook = new FacebookClient(this.baseClient);
|
|
10252
10585
|
this.walmart = new WalmartClient(this.baseClient);
|
|
10253
10586
|
this.gumtree = new GumtreeClient(this.baseClient);
|
|
@@ -10255,6 +10588,7 @@ var ScrapeBadger = class {
|
|
|
10255
10588
|
this.bing = new BingClient(this.baseClient);
|
|
10256
10589
|
this.booking = new BookingClient(this.baseClient);
|
|
10257
10590
|
this.baidu = new BaiduClient(this.baseClient);
|
|
10591
|
+
this.bestbuy = new BestbuyClient(this.baseClient);
|
|
10258
10592
|
this.naver = new NaverClient(this.baseClient);
|
|
10259
10593
|
this.yahoo = new YahooClient(this.baseClient);
|
|
10260
10594
|
this.yandex = new YandexClient(this.baseClient);
|