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.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.62.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 });
|
|
@@ -6223,6 +6367,46 @@ var EbayClient = class {
|
|
|
6223
6367
|
}
|
|
6224
6368
|
};
|
|
6225
6369
|
|
|
6370
|
+
// src/etsy/client.ts
|
|
6371
|
+
var EtsyClient = class {
|
|
6372
|
+
client;
|
|
6373
|
+
constructor(client) {
|
|
6374
|
+
this.client = client;
|
|
6375
|
+
}
|
|
6376
|
+
/** Get search suggestions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6377
|
+
async getSearchSuggestions(params = {}) {
|
|
6378
|
+
return this.client.request("/v1/etsy/autocomplete", { params });
|
|
6379
|
+
}
|
|
6380
|
+
/** Get categories. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6381
|
+
async getCategories(params = {}) {
|
|
6382
|
+
return this.client.request("/v1/etsy/categories", { params });
|
|
6383
|
+
}
|
|
6384
|
+
/** Get listing detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6385
|
+
async getListingDetail(listingId, params = {}) {
|
|
6386
|
+
return this.client.request(`/v1/etsy/listings/${listingId}`, { params });
|
|
6387
|
+
}
|
|
6388
|
+
/** Get listing reviews. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6389
|
+
async getListingReviews(listingId, params = {}) {
|
|
6390
|
+
return this.client.request(`/v1/etsy/listings/${listingId}/reviews`, { params });
|
|
6391
|
+
}
|
|
6392
|
+
/** Search listings. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6393
|
+
async searchListings(params = {}) {
|
|
6394
|
+
return this.client.request("/v1/etsy/search", { params });
|
|
6395
|
+
}
|
|
6396
|
+
/** Get shop profile. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6397
|
+
async getShopProfile(shopName, params = {}) {
|
|
6398
|
+
return this.client.request(`/v1/etsy/shops/${shopName}`, { params });
|
|
6399
|
+
}
|
|
6400
|
+
/** Get shop listings. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6401
|
+
async getShopListings(shopName, params = {}) {
|
|
6402
|
+
return this.client.request(`/v1/etsy/shops/${shopName}/listings`, { params });
|
|
6403
|
+
}
|
|
6404
|
+
/** Get shop reviews. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6405
|
+
async getShopReviews(shopName, params = {}) {
|
|
6406
|
+
return this.client.request(`/v1/etsy/shops/${shopName}/reviews`, { params });
|
|
6407
|
+
}
|
|
6408
|
+
};
|
|
6409
|
+
|
|
6226
6410
|
// src/facebook/client.ts
|
|
6227
6411
|
var FacebookClient = class {
|
|
6228
6412
|
client;
|
|
@@ -6249,13 +6433,7 @@ var FacebookClient = class {
|
|
|
6249
6433
|
async getGroupDetail(groupId, params = {}) {
|
|
6250
6434
|
return this.client.request(`/v1/facebook/groups/${groupId}`, { params });
|
|
6251
6435
|
}
|
|
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
|
-
*/
|
|
6436
|
+
/** Get group posts. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6259
6437
|
async getGroupPosts(groupId, params = {}) {
|
|
6260
6438
|
return this.client.request(`/v1/facebook/groups/${groupId}/posts`, { params });
|
|
6261
6439
|
}
|
|
@@ -6695,6 +6873,44 @@ var GumtreeClient = class {
|
|
|
6695
6873
|
async listMarkets() {
|
|
6696
6874
|
return this.client.request("/v1/gumtree/markets");
|
|
6697
6875
|
}
|
|
6876
|
+
// --- BEGIN generated by sdk/codegen/facade — do not edit ---
|
|
6877
|
+
/** Search suggestions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6878
|
+
async searchSuggestions(params = {}) {
|
|
6879
|
+
return this.client.request("/v1/gumtree/autocomplete", { params });
|
|
6880
|
+
}
|
|
6881
|
+
/** List categories. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6882
|
+
async getListcategories(params = {}) {
|
|
6883
|
+
return this.client.request("/v1/gumtree/categories", { params });
|
|
6884
|
+
}
|
|
6885
|
+
/** Get listing. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6886
|
+
async getGetlisting(listingId, params = {}) {
|
|
6887
|
+
return this.client.request(`/v1/gumtree/listings/${listingId}`, { params });
|
|
6888
|
+
}
|
|
6889
|
+
/** Get seller listings. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6890
|
+
async getGetsellerlistings(listingId, params = {}) {
|
|
6891
|
+
return this.client.request(`/v1/gumtree/listings/${listingId}/seller-listings`, { params });
|
|
6892
|
+
}
|
|
6893
|
+
/** List locations. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6894
|
+
async getListlocations(params = {}) {
|
|
6895
|
+
return this.client.request("/v1/gumtree/locations", { params });
|
|
6896
|
+
}
|
|
6897
|
+
/** Location suggestions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6898
|
+
async locationSuggestions(params = {}) {
|
|
6899
|
+
return this.client.request("/v1/gumtree/locations/autocomplete", { params });
|
|
6900
|
+
}
|
|
6901
|
+
/** List markets. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6902
|
+
async getListmarkets(params = {}) {
|
|
6903
|
+
return this.client.request("/v1/gumtree/markets", { params });
|
|
6904
|
+
}
|
|
6905
|
+
/** Search listings. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6906
|
+
async searchListings(params = {}) {
|
|
6907
|
+
return this.client.request("/v1/gumtree/search", { params });
|
|
6908
|
+
}
|
|
6909
|
+
/** Get search filters. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6910
|
+
async getSearchFilters(params = {}) {
|
|
6911
|
+
return this.client.request("/v1/gumtree/search/filters", { params });
|
|
6912
|
+
}
|
|
6913
|
+
// --- END generated by sdk/codegen/facade ---
|
|
6698
6914
|
};
|
|
6699
6915
|
function treeParams(options) {
|
|
6700
6916
|
const { parent_id, market } = typeof options === "object" ? options : { parent_id: options };
|
|
@@ -7088,6 +7304,54 @@ var BaiduClient = class {
|
|
|
7088
7304
|
}
|
|
7089
7305
|
};
|
|
7090
7306
|
|
|
7307
|
+
// src/bestbuy/client.ts
|
|
7308
|
+
var BestbuyClient = class {
|
|
7309
|
+
client;
|
|
7310
|
+
constructor(client) {
|
|
7311
|
+
this.client = client;
|
|
7312
|
+
}
|
|
7313
|
+
/** Get search suggestions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7314
|
+
async getSearchSuggestions(params = {}) {
|
|
7315
|
+
return this.client.request("/v1/bestbuy/autocomplete", { params });
|
|
7316
|
+
}
|
|
7317
|
+
/** Get categories. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7318
|
+
async getCategories(params = {}) {
|
|
7319
|
+
return this.client.request("/v1/bestbuy/categories", { params });
|
|
7320
|
+
}
|
|
7321
|
+
/** Browse a category. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7322
|
+
async browseACategory(params = {}) {
|
|
7323
|
+
return this.client.request("/v1/bestbuy/category", { params });
|
|
7324
|
+
}
|
|
7325
|
+
/** Get laptop and computer deals. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7326
|
+
async getLaptopAndComputerDeals(params = {}) {
|
|
7327
|
+
return this.client.request("/v1/bestbuy/deals", { params });
|
|
7328
|
+
}
|
|
7329
|
+
/** List supported markets. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7330
|
+
async listSupportedMarkets(params = {}) {
|
|
7331
|
+
return this.client.request("/v1/bestbuy/markets", { params });
|
|
7332
|
+
}
|
|
7333
|
+
/** Get product detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7334
|
+
async getProductDetail(sku, params = {}) {
|
|
7335
|
+
return this.client.request(`/v1/bestbuy/products/${sku}`, { params });
|
|
7336
|
+
}
|
|
7337
|
+
/** Get product availability. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7338
|
+
async getProductAvailability(sku, params = {}) {
|
|
7339
|
+
return this.client.request(`/v1/bestbuy/products/${sku}/availability`, { params });
|
|
7340
|
+
}
|
|
7341
|
+
/** Get product questions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7342
|
+
async getProductQuestions(sku, params = {}) {
|
|
7343
|
+
return this.client.request(`/v1/bestbuy/products/${sku}/questions`, { params });
|
|
7344
|
+
}
|
|
7345
|
+
/** Get product reviews. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7346
|
+
async getProductReviews(sku, params = {}) {
|
|
7347
|
+
return this.client.request(`/v1/bestbuy/products/${sku}/reviews`, { params });
|
|
7348
|
+
}
|
|
7349
|
+
/** Search products. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7350
|
+
async searchProducts(params = {}) {
|
|
7351
|
+
return this.client.request("/v1/bestbuy/search", { params });
|
|
7352
|
+
}
|
|
7353
|
+
};
|
|
7354
|
+
|
|
7091
7355
|
// src/naver/search.ts
|
|
7092
7356
|
var SearchClient12 = class {
|
|
7093
7357
|
constructor(client) {
|
|
@@ -7788,6 +8052,7 @@ var ShoppingLiveClient = class {
|
|
|
7788
8052
|
|
|
7789
8053
|
// src/naver/client.ts
|
|
7790
8054
|
var NaverClient = class {
|
|
8055
|
+
_gen;
|
|
7791
8056
|
/** Web / news / blog search and autocomplete */
|
|
7792
8057
|
search;
|
|
7793
8058
|
/** Local search, Place detail, reviews and photos */
|
|
@@ -7810,6 +8075,7 @@ var NaverClient = class {
|
|
|
7810
8075
|
* @param client - The base HTTP client for making requests.
|
|
7811
8076
|
*/
|
|
7812
8077
|
constructor(client) {
|
|
8078
|
+
this._gen = client;
|
|
7813
8079
|
this.search = new SearchClient12(client);
|
|
7814
8080
|
this.places = new PlacesClient(client);
|
|
7815
8081
|
this.shopping = new ShoppingClient2(client);
|
|
@@ -7819,6 +8085,52 @@ var NaverClient = class {
|
|
|
7819
8085
|
this.products = new ProductsClient5(client);
|
|
7820
8086
|
this.live = new ShoppingLiveClient(client);
|
|
7821
8087
|
}
|
|
8088
|
+
// --- BEGIN generated by sdk/codegen/facade — do not edit ---
|
|
8089
|
+
/** Search suggestions. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8090
|
+
async searchSuggestions(params = {}) {
|
|
8091
|
+
return this._gen.request("/v1/naver/autocomplete", { params });
|
|
8092
|
+
}
|
|
8093
|
+
/** Naver blog search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8094
|
+
async naverBlogSearch(params = {}) {
|
|
8095
|
+
return this._gen.request("/v1/naver/blog", { params });
|
|
8096
|
+
}
|
|
8097
|
+
/** Naver Place/Local search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8098
|
+
async naverPlaceLocalSearch(params = {}) {
|
|
8099
|
+
return this._gen.request("/v1/naver/local", { params });
|
|
8100
|
+
}
|
|
8101
|
+
/** Naver news search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8102
|
+
async naverNewsSearch(params = {}) {
|
|
8103
|
+
return this._gen.request("/v1/naver/news", { params });
|
|
8104
|
+
}
|
|
8105
|
+
/** Naver place detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8106
|
+
async naverPlaceDetail(placeId, params = {}) {
|
|
8107
|
+
return this._gen.request(`/v1/naver/place/${placeId}`, { params });
|
|
8108
|
+
}
|
|
8109
|
+
/** Naver place visitor reviews. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8110
|
+
async naverPlaceVisitorReviews(placeId, params = {}) {
|
|
8111
|
+
return this._gen.request(`/v1/naver/place/${placeId}/reviews`, { params });
|
|
8112
|
+
}
|
|
8113
|
+
/** Naver web search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8114
|
+
async naverWebSearch(params = {}) {
|
|
8115
|
+
return this._gen.request("/v1/naver/search", { params });
|
|
8116
|
+
}
|
|
8117
|
+
/** Naver Shopping bestseller rankings. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8118
|
+
async naverShoppingBestsellerRankings(params = {}) {
|
|
8119
|
+
return this._gen.request("/v1/naver/shopping/bestsellers", { params });
|
|
8120
|
+
}
|
|
8121
|
+
/** Naver Shopping category reference. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8122
|
+
async naverShoppingCategoryReference(params = {}) {
|
|
8123
|
+
return this._gen.request("/v1/naver/shopping/categories", { params });
|
|
8124
|
+
}
|
|
8125
|
+
/** Naver DataLab shopping keyword insight. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8126
|
+
async naverDatalabShoppingKeywordInsight(params = {}) {
|
|
8127
|
+
return this._gen.request("/v1/naver/shopping/insight", { params });
|
|
8128
|
+
}
|
|
8129
|
+
/** Naver Shopping trending keyword rankings. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8130
|
+
async naverShoppingTrendingKeywordRankings(params = {}) {
|
|
8131
|
+
return this._gen.request("/v1/naver/shopping/keywords", { params });
|
|
8132
|
+
}
|
|
8133
|
+
// --- END generated by sdk/codegen/facade ---
|
|
7822
8134
|
};
|
|
7823
8135
|
|
|
7824
8136
|
// src/yahoo/search.ts
|
|
@@ -10137,6 +10449,8 @@ var ScrapeBadger = class {
|
|
|
10137
10449
|
apartments;
|
|
10138
10450
|
/** App_Store API client. (Generated from the OpenAPI spec.) */
|
|
10139
10451
|
app_store;
|
|
10452
|
+
/** Asos API client. (Generated from the OpenAPI spec.) */
|
|
10453
|
+
asos;
|
|
10140
10454
|
/** Instagram scraper API client — users, media, search, hashtags, locations, audio */
|
|
10141
10455
|
instagram;
|
|
10142
10456
|
/** Redfin scraper API client — search, property, agent, autocomplete, markets (redfin.com, US) */
|
|
@@ -10146,13 +10460,19 @@ var ScrapeBadger = class {
|
|
|
10146
10460
|
account;
|
|
10147
10461
|
/** Airbnb API client. (Generated from the OpenAPI spec.) */
|
|
10148
10462
|
airbnb;
|
|
10463
|
+
/** Aliexpress API client. (Generated from the OpenAPI spec.) */
|
|
10464
|
+
aliexpress;
|
|
10149
10465
|
amazon;
|
|
10150
10466
|
/** Shopee scraper API client — 6 endpoints across 11 markets */
|
|
10151
10467
|
shopee;
|
|
10468
|
+
/** Target API client. (Generated from the OpenAPI spec.) */
|
|
10469
|
+
target;
|
|
10152
10470
|
/** TikTok scraper API client — 26 endpoints */
|
|
10153
10471
|
tiktok;
|
|
10154
10472
|
/** eBay scraper API client — 12 endpoints across 18 markets */
|
|
10155
10473
|
ebay;
|
|
10474
|
+
/** Etsy API client. (Generated from the OpenAPI spec.) */
|
|
10475
|
+
etsy;
|
|
10156
10476
|
/** Facebook API client. (Generated from the OpenAPI spec.) */
|
|
10157
10477
|
facebook;
|
|
10158
10478
|
/** Walmart scraper API client — 11 endpoints (walmart.com, US-only) */
|
|
@@ -10167,6 +10487,8 @@ var ScrapeBadger = class {
|
|
|
10167
10487
|
booking;
|
|
10168
10488
|
/** Baidu scraper API client — search, news, images, autocomplete (baidu.com, China's #1 search engine) */
|
|
10169
10489
|
baidu;
|
|
10490
|
+
/** Bestbuy API client. (Generated from the OpenAPI spec.) */
|
|
10491
|
+
bestbuy;
|
|
10170
10492
|
/** Naver scraper API client — 55 endpoints (search, places, shopping, stores, content, reviews, products, shopping live; naver.com, South Korea) */
|
|
10171
10493
|
naver;
|
|
10172
10494
|
/** Yahoo scraper API client — 6 endpoints (search, images, videos, news, autocomplete, markets) across 35 markets */
|
|
@@ -10240,14 +10562,18 @@ var ScrapeBadger = class {
|
|
|
10240
10562
|
this.reddit = new RedditClient(this.baseClient);
|
|
10241
10563
|
this.apartments = new ApartmentsClient(this.baseClient);
|
|
10242
10564
|
this.app_store = new AppStoreClient(this.baseClient);
|
|
10565
|
+
this.asos = new AsosClient(this.baseClient);
|
|
10243
10566
|
this.instagram = new InstagramClient(this.baseClient);
|
|
10244
10567
|
this.redfin = new RedfinClient(this.baseClient);
|
|
10245
10568
|
this.account = new AccountClient(this.baseClient);
|
|
10246
10569
|
this.airbnb = new AirbnbClient(this.baseClient);
|
|
10570
|
+
this.aliexpress = new AliexpressClient(this.baseClient);
|
|
10247
10571
|
this.amazon = new AmazonClient(this.baseClient);
|
|
10248
10572
|
this.shopee = new ShopeeClient(this.baseClient);
|
|
10573
|
+
this.target = new TargetClient(this.baseClient);
|
|
10249
10574
|
this.tiktok = new TikTokClient(this.baseClient);
|
|
10250
10575
|
this.ebay = new EbayClient(this.baseClient);
|
|
10576
|
+
this.etsy = new EtsyClient(this.baseClient);
|
|
10251
10577
|
this.facebook = new FacebookClient(this.baseClient);
|
|
10252
10578
|
this.walmart = new WalmartClient(this.baseClient);
|
|
10253
10579
|
this.gumtree = new GumtreeClient(this.baseClient);
|
|
@@ -10255,6 +10581,7 @@ var ScrapeBadger = class {
|
|
|
10255
10581
|
this.bing = new BingClient(this.baseClient);
|
|
10256
10582
|
this.booking = new BookingClient(this.baseClient);
|
|
10257
10583
|
this.baidu = new BaiduClient(this.baseClient);
|
|
10584
|
+
this.bestbuy = new BestbuyClient(this.baseClient);
|
|
10258
10585
|
this.naver = new NaverClient(this.baseClient);
|
|
10259
10586
|
this.yahoo = new YahooClient(this.baseClient);
|
|
10260
10587
|
this.yandex = new YandexClient(this.baseClient);
|