scrapebadger 0.28.0 → 0.30.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 +1 -0
- package/dist/index.d.cts +1025 -62
- package/dist/index.d.ts +1025 -62
- package/dist/index.js +366 -61
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +349 -50
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4104,7 +4104,10 @@ var UsersClient4 = class {
|
|
|
4104
4104
|
async get(username) {
|
|
4105
4105
|
return this.client.request(`/v1/instagram/users/${username}`);
|
|
4106
4106
|
}
|
|
4107
|
-
/**
|
|
4107
|
+
/**
|
|
4108
|
+
* Get "About this account" metadata for a user.
|
|
4109
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4110
|
+
*/
|
|
4108
4111
|
async about(username) {
|
|
4109
4112
|
return this.client.request(
|
|
4110
4113
|
`/v1/instagram/users/${username}/about`
|
|
@@ -4120,25 +4123,39 @@ var UsersClient4 = class {
|
|
|
4120
4123
|
async posts(username, options = {}) {
|
|
4121
4124
|
return this.media(`/v1/instagram/users/${username}/posts`, options);
|
|
4122
4125
|
}
|
|
4123
|
-
/**
|
|
4126
|
+
/**
|
|
4127
|
+
* Get a user's video posts (IGTV/feed videos).
|
|
4128
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4129
|
+
*/
|
|
4124
4130
|
async videos(username, options = {}) {
|
|
4125
4131
|
return this.media(`/v1/instagram/users/${username}/videos`, options);
|
|
4126
4132
|
}
|
|
4127
|
-
/**
|
|
4133
|
+
/**
|
|
4134
|
+
* Get a user's reels.
|
|
4135
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4136
|
+
*/
|
|
4128
4137
|
async reels(username, options = {}) {
|
|
4129
4138
|
return this.media(`/v1/instagram/users/${username}/reels`, options);
|
|
4130
4139
|
}
|
|
4131
|
-
/**
|
|
4140
|
+
/**
|
|
4141
|
+
* Get media a user is tagged in.
|
|
4142
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4143
|
+
*/
|
|
4132
4144
|
async tagged(username, options = {}) {
|
|
4133
4145
|
return this.media(`/v1/instagram/users/${username}/tagged`, options);
|
|
4134
4146
|
}
|
|
4135
|
-
/**
|
|
4147
|
+
/**
|
|
4148
|
+
* Get a user's pinned posts.
|
|
4149
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4150
|
+
*/
|
|
4136
4151
|
async pinned(username) {
|
|
4137
4152
|
return this.client.request(
|
|
4138
4153
|
`/v1/instagram/users/${username}/pinned`
|
|
4139
4154
|
);
|
|
4140
4155
|
}
|
|
4141
4156
|
/**
|
|
4157
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4158
|
+
*
|
|
4142
4159
|
* Get a user's followers.
|
|
4143
4160
|
*
|
|
4144
4161
|
* @param username - Instagram username.
|
|
@@ -4158,14 +4175,20 @@ var UsersClient4 = class {
|
|
|
4158
4175
|
}
|
|
4159
4176
|
);
|
|
4160
4177
|
}
|
|
4161
|
-
/**
|
|
4178
|
+
/**
|
|
4179
|
+
* Get the accounts a user follows.
|
|
4180
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4181
|
+
*/
|
|
4162
4182
|
async following(username, options = {}) {
|
|
4163
4183
|
return this.client.request(
|
|
4164
4184
|
`/v1/instagram/users/${username}/following`,
|
|
4165
4185
|
{ params: { amount: options.amount, cursor: options.cursor } }
|
|
4166
4186
|
);
|
|
4167
4187
|
}
|
|
4168
|
-
/**
|
|
4188
|
+
/**
|
|
4189
|
+
* Search within a user's followers by name/username.
|
|
4190
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4191
|
+
*/
|
|
4169
4192
|
async searchFollowers(username, query, options = {}) {
|
|
4170
4193
|
return this.client.request(
|
|
4171
4194
|
`/v1/instagram/users/${username}/followers/search`,
|
|
@@ -4174,13 +4197,19 @@ var UsersClient4 = class {
|
|
|
4174
4197
|
}
|
|
4175
4198
|
);
|
|
4176
4199
|
}
|
|
4177
|
-
/**
|
|
4200
|
+
/**
|
|
4201
|
+
* Get a user's currently-live stories.
|
|
4202
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4203
|
+
*/
|
|
4178
4204
|
async stories(username) {
|
|
4179
4205
|
return this.client.request(
|
|
4180
4206
|
`/v1/instagram/users/${username}/stories`
|
|
4181
4207
|
);
|
|
4182
4208
|
}
|
|
4183
|
-
/**
|
|
4209
|
+
/**
|
|
4210
|
+
* Get a user's story highlights.
|
|
4211
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4212
|
+
*/
|
|
4184
4213
|
async highlights(username) {
|
|
4185
4214
|
return this.client.request(
|
|
4186
4215
|
`/v1/instagram/users/${username}/highlights`
|
|
@@ -4218,13 +4247,19 @@ var MediaClient = class {
|
|
|
4218
4247
|
{ params: { amount: options.amount, cursor: options.cursor } }
|
|
4219
4248
|
);
|
|
4220
4249
|
}
|
|
4221
|
-
/**
|
|
4250
|
+
/**
|
|
4251
|
+
* Get the users who liked a media.
|
|
4252
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4253
|
+
*/
|
|
4222
4254
|
async likers(code) {
|
|
4223
4255
|
return this.client.request(
|
|
4224
4256
|
`/v1/instagram/media/${code}/likers`
|
|
4225
4257
|
);
|
|
4226
4258
|
}
|
|
4227
|
-
/**
|
|
4259
|
+
/**
|
|
4260
|
+
* Get replies to a comment.
|
|
4261
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4262
|
+
*/
|
|
4228
4263
|
async replies(code, commentId, options = {}) {
|
|
4229
4264
|
return this.client.request(
|
|
4230
4265
|
`/v1/instagram/media/${code}/comments/${commentId}/replies`,
|
|
@@ -4245,7 +4280,10 @@ var SearchClient4 = class {
|
|
|
4245
4280
|
constructor(client) {
|
|
4246
4281
|
this.client = client;
|
|
4247
4282
|
}
|
|
4248
|
-
/**
|
|
4283
|
+
/**
|
|
4284
|
+
* Search accounts by name/username.
|
|
4285
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4286
|
+
*/
|
|
4249
4287
|
async users(query) {
|
|
4250
4288
|
return this.client.request(
|
|
4251
4289
|
"/v1/instagram/search/users",
|
|
@@ -4259,21 +4297,30 @@ var SearchClient4 = class {
|
|
|
4259
4297
|
{ params: { query } }
|
|
4260
4298
|
);
|
|
4261
4299
|
}
|
|
4262
|
-
/**
|
|
4300
|
+
/**
|
|
4301
|
+
* Search places/locations.
|
|
4302
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4303
|
+
*/
|
|
4263
4304
|
async places(query) {
|
|
4264
4305
|
return this.client.request(
|
|
4265
4306
|
"/v1/instagram/search/places",
|
|
4266
4307
|
{ params: { query } }
|
|
4267
4308
|
);
|
|
4268
4309
|
}
|
|
4269
|
-
/**
|
|
4310
|
+
/**
|
|
4311
|
+
* Search reels.
|
|
4312
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4313
|
+
*/
|
|
4270
4314
|
async reels(query) {
|
|
4271
4315
|
return this.client.request(
|
|
4272
4316
|
"/v1/instagram/search/reels",
|
|
4273
4317
|
{ params: { query } }
|
|
4274
4318
|
);
|
|
4275
4319
|
}
|
|
4276
|
-
/**
|
|
4320
|
+
/**
|
|
4321
|
+
* Search music/audio tracks.
|
|
4322
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4323
|
+
*/
|
|
4277
4324
|
async music(query) {
|
|
4278
4325
|
return this.client.request(
|
|
4279
4326
|
"/v1/instagram/search/music",
|
|
@@ -4286,7 +4333,10 @@ var SearchClient4 = class {
|
|
|
4286
4333
|
params: { query }
|
|
4287
4334
|
});
|
|
4288
4335
|
}
|
|
4289
|
-
/**
|
|
4336
|
+
/**
|
|
4337
|
+
* Get typeahead/autocomplete suggestions (mixed entity types).
|
|
4338
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4339
|
+
*/
|
|
4290
4340
|
async autocomplete(query) {
|
|
4291
4341
|
return this.client.request(
|
|
4292
4342
|
"/v1/instagram/search/autocomplete",
|
|
@@ -4310,7 +4360,10 @@ var HashtagsClient = class {
|
|
|
4310
4360
|
async get(tag) {
|
|
4311
4361
|
return this.client.request(`/v1/instagram/hashtags/${tag}`);
|
|
4312
4362
|
}
|
|
4313
|
-
/**
|
|
4363
|
+
/**
|
|
4364
|
+
* Get the top/popular media for a hashtag.
|
|
4365
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4366
|
+
*/
|
|
4314
4367
|
async top(tag, options = {}) {
|
|
4315
4368
|
return mediaFeed(this.client, `/v1/instagram/hashtags/${tag}/top`, options);
|
|
4316
4369
|
}
|
|
@@ -4322,7 +4375,10 @@ var HashtagsClient = class {
|
|
|
4322
4375
|
options
|
|
4323
4376
|
);
|
|
4324
4377
|
}
|
|
4325
|
-
/**
|
|
4378
|
+
/**
|
|
4379
|
+
* Get reels for a hashtag.
|
|
4380
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4381
|
+
*/
|
|
4326
4382
|
async reels(tag, options = {}) {
|
|
4327
4383
|
return mediaFeed(
|
|
4328
4384
|
this.client,
|
|
@@ -4336,15 +4392,24 @@ var LocationsClient = class {
|
|
|
4336
4392
|
constructor(client) {
|
|
4337
4393
|
this.client = client;
|
|
4338
4394
|
}
|
|
4339
|
-
/**
|
|
4395
|
+
/**
|
|
4396
|
+
* Get a location's info.
|
|
4397
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4398
|
+
*/
|
|
4340
4399
|
async get(pk) {
|
|
4341
4400
|
return this.client.request(`/v1/instagram/locations/${pk}`);
|
|
4342
4401
|
}
|
|
4343
|
-
/**
|
|
4402
|
+
/**
|
|
4403
|
+
* Get the top/popular media for a location.
|
|
4404
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4405
|
+
*/
|
|
4344
4406
|
async top(pk, options = {}) {
|
|
4345
4407
|
return mediaFeed(this.client, `/v1/instagram/locations/${pk}/top`, options);
|
|
4346
4408
|
}
|
|
4347
|
-
/**
|
|
4409
|
+
/**
|
|
4410
|
+
* Get the most recent media for a location.
|
|
4411
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4412
|
+
*/
|
|
4348
4413
|
async recent(pk, options = {}) {
|
|
4349
4414
|
return mediaFeed(
|
|
4350
4415
|
this.client,
|
|
@@ -4352,7 +4417,10 @@ var LocationsClient = class {
|
|
|
4352
4417
|
options
|
|
4353
4418
|
);
|
|
4354
4419
|
}
|
|
4355
|
-
/**
|
|
4420
|
+
/**
|
|
4421
|
+
* Search locations by name.
|
|
4422
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4423
|
+
*/
|
|
4356
4424
|
async search(query) {
|
|
4357
4425
|
return this.client.request(
|
|
4358
4426
|
"/v1/instagram/locations/search",
|
|
@@ -4365,11 +4433,17 @@ var AudioClient = class {
|
|
|
4365
4433
|
constructor(client) {
|
|
4366
4434
|
this.client = client;
|
|
4367
4435
|
}
|
|
4368
|
-
/**
|
|
4436
|
+
/**
|
|
4437
|
+
* Get an audio track's info.
|
|
4438
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4439
|
+
*/
|
|
4369
4440
|
async get(audioId) {
|
|
4370
4441
|
return this.client.request(`/v1/instagram/audio/${audioId}`);
|
|
4371
4442
|
}
|
|
4372
|
-
/**
|
|
4443
|
+
/**
|
|
4444
|
+
* Get media that use an audio track.
|
|
4445
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4446
|
+
*/
|
|
4373
4447
|
async media(audioId, options = {}) {
|
|
4374
4448
|
return mediaFeed(
|
|
4375
4449
|
this.client,
|
|
@@ -4377,7 +4451,10 @@ var AudioClient = class {
|
|
|
4377
4451
|
options
|
|
4378
4452
|
);
|
|
4379
4453
|
}
|
|
4380
|
-
/**
|
|
4454
|
+
/**
|
|
4455
|
+
* Get currently-trending audio tracks.
|
|
4456
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4457
|
+
*/
|
|
4381
4458
|
async trending() {
|
|
4382
4459
|
return this.client.request("/v1/instagram/audio/trending");
|
|
4383
4460
|
}
|
|
@@ -5628,8 +5705,227 @@ var EbayClient = class {
|
|
|
5628
5705
|
}
|
|
5629
5706
|
};
|
|
5630
5707
|
|
|
5631
|
-
// src/
|
|
5708
|
+
// src/walmart/search.ts
|
|
5632
5709
|
var SearchClient9 = class {
|
|
5710
|
+
constructor(client) {
|
|
5711
|
+
this.client = client;
|
|
5712
|
+
}
|
|
5713
|
+
/**
|
|
5714
|
+
* Search walmart.com.
|
|
5715
|
+
*
|
|
5716
|
+
* @param query - Search keywords, e.g. `"laptop"`.
|
|
5717
|
+
* @param params - Optional page (1-10), sort, price and facet filters.
|
|
5718
|
+
* @returns A page of ~40-60 organic products.
|
|
5719
|
+
*
|
|
5720
|
+
* @remarks
|
|
5721
|
+
* Results dry up after page 10 regardless of `total_results_reported`; bound
|
|
5722
|
+
* a crawl with `max_page`. Sponsored ad tiles are dropped, sponsored
|
|
5723
|
+
* *products* are returned and flagged `is_sponsored`.
|
|
5724
|
+
*/
|
|
5725
|
+
async search(query, params = {}) {
|
|
5726
|
+
return this.client.request("/v1/walmart/search", {
|
|
5727
|
+
params: {
|
|
5728
|
+
query,
|
|
5729
|
+
page: params.page,
|
|
5730
|
+
sort: params.sort,
|
|
5731
|
+
min_price: params.min_price,
|
|
5732
|
+
max_price: params.max_price,
|
|
5733
|
+
facet: params.facet
|
|
5734
|
+
}
|
|
5735
|
+
});
|
|
5736
|
+
}
|
|
5737
|
+
/**
|
|
5738
|
+
* Browse a Walmart category. Same result shape as {@link search}.
|
|
5739
|
+
*
|
|
5740
|
+
* @param path - Browse path, e.g. `"electronics/3944"`, or a `/cp/...` path.
|
|
5741
|
+
* @param params - Optional page (1-11), price and facet filters.
|
|
5742
|
+
*
|
|
5743
|
+
* @remarks
|
|
5744
|
+
* No `sort`: Walmart's browse pages ignore it (verified). Sort on
|
|
5745
|
+
* {@link search} instead.
|
|
5746
|
+
*/
|
|
5747
|
+
async category(path, params = {}) {
|
|
5748
|
+
return this.client.request("/v1/walmart/category", {
|
|
5749
|
+
params: {
|
|
5750
|
+
path,
|
|
5751
|
+
page: params.page,
|
|
5752
|
+
min_price: params.min_price,
|
|
5753
|
+
max_price: params.max_price,
|
|
5754
|
+
facet: params.facet
|
|
5755
|
+
}
|
|
5756
|
+
});
|
|
5757
|
+
}
|
|
5758
|
+
/**
|
|
5759
|
+
* Walmart's current deals, rollbacks and clearance.
|
|
5760
|
+
*
|
|
5761
|
+
* @param params - Optional page (1-11) and price filters.
|
|
5762
|
+
*/
|
|
5763
|
+
async deals(params = {}) {
|
|
5764
|
+
return this.client.request("/v1/walmart/deals", {
|
|
5765
|
+
params: {
|
|
5766
|
+
page: params.page,
|
|
5767
|
+
min_price: params.min_price,
|
|
5768
|
+
max_price: params.max_price
|
|
5769
|
+
}
|
|
5770
|
+
});
|
|
5771
|
+
}
|
|
5772
|
+
/**
|
|
5773
|
+
* Walmart search-box suggestions — the cheapest call in this API.
|
|
5774
|
+
*
|
|
5775
|
+
* @param query - Partial search term, e.g. `"lapt"`.
|
|
5776
|
+
*/
|
|
5777
|
+
async autocomplete(query) {
|
|
5778
|
+
return this.client.request("/v1/walmart/autocomplete", {
|
|
5779
|
+
params: { query }
|
|
5780
|
+
});
|
|
5781
|
+
}
|
|
5782
|
+
};
|
|
5783
|
+
|
|
5784
|
+
// src/walmart/products.ts
|
|
5785
|
+
var ProductsClient4 = class {
|
|
5786
|
+
constructor(client) {
|
|
5787
|
+
this.client = client;
|
|
5788
|
+
}
|
|
5789
|
+
/**
|
|
5790
|
+
* Get full product detail.
|
|
5791
|
+
*
|
|
5792
|
+
* @param itemId - Walmart `usItemId`, e.g. `"5689919121"`.
|
|
5793
|
+
* @throws NotFoundError - If the item doesn't exist.
|
|
5794
|
+
*
|
|
5795
|
+
* @remarks
|
|
5796
|
+
* Only the numeric id is needed — the SEO slug is decorative and ignored by
|
|
5797
|
+
* Walmart's router. Prices and availability are store-specific; the resolved
|
|
5798
|
+
* store is on `location`.
|
|
5799
|
+
*/
|
|
5800
|
+
async get(itemId) {
|
|
5801
|
+
return this.client.request(`/v1/walmart/products/${itemId}`);
|
|
5802
|
+
}
|
|
5803
|
+
/**
|
|
5804
|
+
* Get paginated customer reviews with the full star histogram.
|
|
5805
|
+
*
|
|
5806
|
+
* @param itemId - Walmart `usItemId`.
|
|
5807
|
+
* @param params - Optional page (1-100) and sort.
|
|
5808
|
+
* @returns Reviews plus the rating breakdown, aspects, and the most-helpful
|
|
5809
|
+
* positive and negative reviews.
|
|
5810
|
+
*
|
|
5811
|
+
* @remarks 10 reviews per page — Walmart's page size, not adjustable.
|
|
5812
|
+
*/
|
|
5813
|
+
async reviews(itemId, params = {}) {
|
|
5814
|
+
return this.client.request(
|
|
5815
|
+
`/v1/walmart/products/${itemId}/reviews`,
|
|
5816
|
+
{ params: { page: params.page, sort: params.sort } }
|
|
5817
|
+
);
|
|
5818
|
+
}
|
|
5819
|
+
};
|
|
5820
|
+
|
|
5821
|
+
// src/walmart/sellers.ts
|
|
5822
|
+
var SellersClient3 = class {
|
|
5823
|
+
constructor(client) {
|
|
5824
|
+
this.client = client;
|
|
5825
|
+
}
|
|
5826
|
+
/**
|
|
5827
|
+
* Get a marketplace seller's profile — contact details, address, rating,
|
|
5828
|
+
* policies.
|
|
5829
|
+
*
|
|
5830
|
+
* @param sellerId - Numeric catalog seller id, e.g. `"101040442"`. This is
|
|
5831
|
+
* the `seller.catalog_seller_id` on a product — NOT the 32-char hex
|
|
5832
|
+
* `seller_id`, which 404s as a storefront URL.
|
|
5833
|
+
*
|
|
5834
|
+
* @remarks
|
|
5835
|
+
* No page parameter and no product list: adding `?page=` makes Walmart's own
|
|
5836
|
+
* SSR throw. Use {@link products} for the catalogue.
|
|
5837
|
+
*/
|
|
5838
|
+
async get(sellerId) {
|
|
5839
|
+
return this.client.request(`/v1/walmart/sellers/${sellerId}`);
|
|
5840
|
+
}
|
|
5841
|
+
/**
|
|
5842
|
+
* List a marketplace seller's catalogue.
|
|
5843
|
+
*
|
|
5844
|
+
* @param sellerId - Numeric catalog seller id.
|
|
5845
|
+
* @param query - Search term scoping the catalogue. REQUIRED — this goes
|
|
5846
|
+
* through search with a `retailer_id` facet, and the facet alone returns
|
|
5847
|
+
* zero results.
|
|
5848
|
+
* @param params - Optional page (1-10) and sort.
|
|
5849
|
+
*/
|
|
5850
|
+
async products(sellerId, query, params = {}) {
|
|
5851
|
+
return this.client.request(
|
|
5852
|
+
`/v1/walmart/sellers/${sellerId}/products`,
|
|
5853
|
+
{ params: { query, page: params.page, sort: params.sort } }
|
|
5854
|
+
);
|
|
5855
|
+
}
|
|
5856
|
+
};
|
|
5857
|
+
|
|
5858
|
+
// src/walmart/stores.ts
|
|
5859
|
+
var StoresClient = class {
|
|
5860
|
+
constructor(client) {
|
|
5861
|
+
this.client = client;
|
|
5862
|
+
}
|
|
5863
|
+
/**
|
|
5864
|
+
* Get store detail plus every store around it.
|
|
5865
|
+
*
|
|
5866
|
+
* @param storeId - Walmart store number, e.g. `"100"`.
|
|
5867
|
+
* @returns The store's address, geo, phone, opening hours and per-department
|
|
5868
|
+
* services (each with its own hours and phone), plus ~30 nearby stores.
|
|
5869
|
+
*/
|
|
5870
|
+
async get(storeId) {
|
|
5871
|
+
return this.client.request(`/v1/walmart/stores/${storeId}`);
|
|
5872
|
+
}
|
|
5873
|
+
};
|
|
5874
|
+
|
|
5875
|
+
// src/walmart/reference.ts
|
|
5876
|
+
var ReferenceClient6 = class {
|
|
5877
|
+
constructor(client) {
|
|
5878
|
+
this.client = client;
|
|
5879
|
+
}
|
|
5880
|
+
/**
|
|
5881
|
+
* Get the supported Walmart markets.
|
|
5882
|
+
*
|
|
5883
|
+
* @remarks
|
|
5884
|
+
* Only walmart.com (US) is supported — walmart.ca and walmart.com.mx run on
|
|
5885
|
+
* different platforms with different payload shapes, so they are not claimed
|
|
5886
|
+
* here rather than shipped broken.
|
|
5887
|
+
*/
|
|
5888
|
+
async markets() {
|
|
5889
|
+
return this.client.request("/v1/walmart/markets");
|
|
5890
|
+
}
|
|
5891
|
+
/**
|
|
5892
|
+
* Check the health of the Walmart scraper service.
|
|
5893
|
+
*
|
|
5894
|
+
* @returns The raw health payload from the scraper service.
|
|
5895
|
+
*/
|
|
5896
|
+
async health() {
|
|
5897
|
+
return this.client.request("/v1/walmart/health");
|
|
5898
|
+
}
|
|
5899
|
+
};
|
|
5900
|
+
|
|
5901
|
+
// src/walmart/client.ts
|
|
5902
|
+
var WalmartClient = class {
|
|
5903
|
+
/** Client for search, category browse, deals and autocomplete */
|
|
5904
|
+
search;
|
|
5905
|
+
/** Client for product detail and reviews */
|
|
5906
|
+
products;
|
|
5907
|
+
/** Client for marketplace seller profile and catalogue */
|
|
5908
|
+
sellers;
|
|
5909
|
+
/** Client for store detail and nearby stores */
|
|
5910
|
+
stores;
|
|
5911
|
+
/** Client for reference data (markets) and service health */
|
|
5912
|
+
reference;
|
|
5913
|
+
/**
|
|
5914
|
+
* Create a new Walmart client.
|
|
5915
|
+
*
|
|
5916
|
+
* @param client - The base HTTP client for making requests.
|
|
5917
|
+
*/
|
|
5918
|
+
constructor(client) {
|
|
5919
|
+
this.search = new SearchClient9(client);
|
|
5920
|
+
this.products = new ProductsClient4(client);
|
|
5921
|
+
this.sellers = new SellersClient3(client);
|
|
5922
|
+
this.stores = new StoresClient(client);
|
|
5923
|
+
this.reference = new ReferenceClient6(client);
|
|
5924
|
+
}
|
|
5925
|
+
};
|
|
5926
|
+
|
|
5927
|
+
// src/youtube/search.ts
|
|
5928
|
+
var SearchClient10 = class {
|
|
5633
5929
|
client;
|
|
5634
5930
|
constructor(client) {
|
|
5635
5931
|
this.client = client;
|
|
@@ -6154,7 +6450,7 @@ var MusicClient2 = class {
|
|
|
6154
6450
|
};
|
|
6155
6451
|
|
|
6156
6452
|
// src/youtube/reference.ts
|
|
6157
|
-
var
|
|
6453
|
+
var ReferenceClient7 = class {
|
|
6158
6454
|
client;
|
|
6159
6455
|
constructor(client) {
|
|
6160
6456
|
this.client = client;
|
|
@@ -6222,7 +6518,7 @@ var YoutubeClient = class {
|
|
|
6222
6518
|
* @param client - The base HTTP client for making requests.
|
|
6223
6519
|
*/
|
|
6224
6520
|
constructor(client) {
|
|
6225
|
-
this.search = new
|
|
6521
|
+
this.search = new SearchClient10(client);
|
|
6226
6522
|
this.videos = new VideosClient3(client);
|
|
6227
6523
|
this.channels = new ChannelsClient(client);
|
|
6228
6524
|
this.playlists = new PlaylistsClient(client);
|
|
@@ -6230,12 +6526,12 @@ var YoutubeClient = class {
|
|
|
6230
6526
|
this.shorts = new ShortsClient2(client);
|
|
6231
6527
|
this.trending = new TrendingClient2(client);
|
|
6232
6528
|
this.music = new MusicClient2(client);
|
|
6233
|
-
this.reference = new
|
|
6529
|
+
this.reference = new ReferenceClient7(client);
|
|
6234
6530
|
}
|
|
6235
6531
|
};
|
|
6236
6532
|
|
|
6237
6533
|
// src/realtor/search.ts
|
|
6238
|
-
var
|
|
6534
|
+
var SearchClient11 = class {
|
|
6239
6535
|
client;
|
|
6240
6536
|
constructor(client) {
|
|
6241
6537
|
this.client = client;
|
|
@@ -6309,7 +6605,7 @@ var PropertiesClient = class {
|
|
|
6309
6605
|
};
|
|
6310
6606
|
|
|
6311
6607
|
// src/realtor/reference.ts
|
|
6312
|
-
var
|
|
6608
|
+
var ReferenceClient8 = class {
|
|
6313
6609
|
client;
|
|
6314
6610
|
constructor(client) {
|
|
6315
6611
|
this.client = client;
|
|
@@ -6338,14 +6634,14 @@ var RealtorClient = class {
|
|
|
6338
6634
|
* @param client - The base HTTP client for making requests.
|
|
6339
6635
|
*/
|
|
6340
6636
|
constructor(client) {
|
|
6341
|
-
this.search = new
|
|
6637
|
+
this.search = new SearchClient11(client);
|
|
6342
6638
|
this.properties = new PropertiesClient(client);
|
|
6343
|
-
this.reference = new
|
|
6639
|
+
this.reference = new ReferenceClient8(client);
|
|
6344
6640
|
}
|
|
6345
6641
|
};
|
|
6346
6642
|
|
|
6347
6643
|
// src/leboncoin/search.ts
|
|
6348
|
-
var
|
|
6644
|
+
var SearchClient12 = class {
|
|
6349
6645
|
client;
|
|
6350
6646
|
constructor(client) {
|
|
6351
6647
|
this.client = client;
|
|
@@ -6414,7 +6710,7 @@ var AdsClient2 = class {
|
|
|
6414
6710
|
};
|
|
6415
6711
|
|
|
6416
6712
|
// src/leboncoin/sellers.ts
|
|
6417
|
-
var
|
|
6713
|
+
var SellersClient4 = class {
|
|
6418
6714
|
client;
|
|
6419
6715
|
constructor(client) {
|
|
6420
6716
|
this.client = client;
|
|
@@ -6447,7 +6743,7 @@ var SellersClient3 = class {
|
|
|
6447
6743
|
};
|
|
6448
6744
|
|
|
6449
6745
|
// src/leboncoin/reference.ts
|
|
6450
|
-
var
|
|
6746
|
+
var ReferenceClient9 = class {
|
|
6451
6747
|
client;
|
|
6452
6748
|
constructor(client) {
|
|
6453
6749
|
this.client = client;
|
|
@@ -6518,15 +6814,15 @@ var LeboncoinClient = class {
|
|
|
6518
6814
|
* @param client - The base HTTP client for making requests.
|
|
6519
6815
|
*/
|
|
6520
6816
|
constructor(client) {
|
|
6521
|
-
this.search = new
|
|
6817
|
+
this.search = new SearchClient12(client);
|
|
6522
6818
|
this.ads = new AdsClient2(client);
|
|
6523
|
-
this.sellers = new
|
|
6524
|
-
this.reference = new
|
|
6819
|
+
this.sellers = new SellersClient4(client);
|
|
6820
|
+
this.reference = new ReferenceClient9(client);
|
|
6525
6821
|
}
|
|
6526
6822
|
};
|
|
6527
6823
|
|
|
6528
6824
|
// src/zillow/search.ts
|
|
6529
|
-
var
|
|
6825
|
+
var SearchClient13 = class {
|
|
6530
6826
|
client;
|
|
6531
6827
|
constructor(client) {
|
|
6532
6828
|
this.client = client;
|
|
@@ -6630,7 +6926,7 @@ var AgentClient = class {
|
|
|
6630
6926
|
};
|
|
6631
6927
|
|
|
6632
6928
|
// src/zillow/reference.ts
|
|
6633
|
-
var
|
|
6929
|
+
var ReferenceClient10 = class {
|
|
6634
6930
|
client;
|
|
6635
6931
|
constructor(client) {
|
|
6636
6932
|
this.client = client;
|
|
@@ -6661,10 +6957,10 @@ var ZillowClient = class {
|
|
|
6661
6957
|
* @param client - The base HTTP client for making requests.
|
|
6662
6958
|
*/
|
|
6663
6959
|
constructor(client) {
|
|
6664
|
-
this.search = new
|
|
6960
|
+
this.search = new SearchClient13(client);
|
|
6665
6961
|
this.properties = new PropertiesClient2(client);
|
|
6666
6962
|
this.agent = new AgentClient(client);
|
|
6667
|
-
this.reference = new
|
|
6963
|
+
this.reference = new ReferenceClient10(client);
|
|
6668
6964
|
}
|
|
6669
6965
|
};
|
|
6670
6966
|
|
|
@@ -6799,7 +7095,7 @@ var ImmobiliareClient = class {
|
|
|
6799
7095
|
};
|
|
6800
7096
|
|
|
6801
7097
|
// src/loopnet/search.ts
|
|
6802
|
-
var
|
|
7098
|
+
var SearchClient14 = class {
|
|
6803
7099
|
client;
|
|
6804
7100
|
constructor(client) {
|
|
6805
7101
|
this.client = client;
|
|
@@ -6880,7 +7176,7 @@ var BrokersClient = class {
|
|
|
6880
7176
|
};
|
|
6881
7177
|
|
|
6882
7178
|
// src/loopnet/reference.ts
|
|
6883
|
-
var
|
|
7179
|
+
var ReferenceClient11 = class {
|
|
6884
7180
|
client;
|
|
6885
7181
|
constructor(client) {
|
|
6886
7182
|
this.client = client;
|
|
@@ -6923,10 +7219,10 @@ var LoopNetClient = class {
|
|
|
6923
7219
|
* @param client - The base HTTP client for making requests.
|
|
6924
7220
|
*/
|
|
6925
7221
|
constructor(client) {
|
|
6926
|
-
this.search = new
|
|
7222
|
+
this.search = new SearchClient14(client);
|
|
6927
7223
|
this.listings = new ListingsClient2(client);
|
|
6928
7224
|
this.brokers = new BrokersClient(client);
|
|
6929
|
-
this.reference = new
|
|
7225
|
+
this.reference = new ReferenceClient11(client);
|
|
6930
7226
|
}
|
|
6931
7227
|
};
|
|
6932
7228
|
|
|
@@ -7287,7 +7583,7 @@ var BrandClient = class {
|
|
|
7287
7583
|
};
|
|
7288
7584
|
|
|
7289
7585
|
// src/chatgpt/reference.ts
|
|
7290
|
-
var
|
|
7586
|
+
var ReferenceClient12 = class {
|
|
7291
7587
|
client;
|
|
7292
7588
|
constructor(client) {
|
|
7293
7589
|
this.client = client;
|
|
@@ -7333,7 +7629,7 @@ var ChatGPTClient = class {
|
|
|
7333
7629
|
constructor(client) {
|
|
7334
7630
|
this.ask = new AskClient(client);
|
|
7335
7631
|
this.brand = new BrandClient(client);
|
|
7336
|
-
this.reference = new
|
|
7632
|
+
this.reference = new ReferenceClient12(client);
|
|
7337
7633
|
}
|
|
7338
7634
|
};
|
|
7339
7635
|
|
|
@@ -7364,6 +7660,8 @@ var ScrapeBadger = class {
|
|
|
7364
7660
|
tiktok;
|
|
7365
7661
|
/** eBay scraper API client — 12 endpoints across 18 markets */
|
|
7366
7662
|
ebay;
|
|
7663
|
+
/** Walmart scraper API client — 11 endpoints (walmart.com, US-only) */
|
|
7664
|
+
walmart;
|
|
7367
7665
|
/** YouTube scraper API client — 39 endpoints */
|
|
7368
7666
|
youtube;
|
|
7369
7667
|
/** Realtor scraper API client — 4 endpoints across 2 markets (us, ca) */
|
|
@@ -7428,6 +7726,7 @@ var ScrapeBadger = class {
|
|
|
7428
7726
|
this.shopee = new ShopeeClient(this.baseClient);
|
|
7429
7727
|
this.tiktok = new TikTokClient(this.baseClient);
|
|
7430
7728
|
this.ebay = new EbayClient(this.baseClient);
|
|
7729
|
+
this.walmart = new WalmartClient(this.baseClient);
|
|
7431
7730
|
this.youtube = new YoutubeClient(this.baseClient);
|
|
7432
7731
|
this.realtor = new RealtorClient(this.baseClient);
|
|
7433
7732
|
this.leboncoin = new LeboncoinClient(this.baseClient);
|
|
@@ -7452,7 +7751,7 @@ exports.AuthenticationError = AuthenticationError;
|
|
|
7452
7751
|
exports.ChatGPTAskClient = AskClient;
|
|
7453
7752
|
exports.ChatGPTBrandClient = BrandClient;
|
|
7454
7753
|
exports.ChatGPTClient = ChatGPTClient;
|
|
7455
|
-
exports.ChatGPTReferenceClient =
|
|
7754
|
+
exports.ChatGPTReferenceClient = ReferenceClient12;
|
|
7456
7755
|
exports.CommunitiesClient = CommunitiesClient;
|
|
7457
7756
|
exports.ConflictError = ConflictError;
|
|
7458
7757
|
exports.DepopClient = DepopClient;
|
|
@@ -7493,22 +7792,22 @@ exports.InstagramUsersClient = UsersClient4;
|
|
|
7493
7792
|
exports.InsufficientCreditsError = InsufficientCreditsError;
|
|
7494
7793
|
exports.LeboncoinAdsClient = AdsClient2;
|
|
7495
7794
|
exports.LeboncoinClient = LeboncoinClient;
|
|
7496
|
-
exports.LeboncoinReferenceClient =
|
|
7497
|
-
exports.LeboncoinSearchClient =
|
|
7498
|
-
exports.LeboncoinSellersClient =
|
|
7795
|
+
exports.LeboncoinReferenceClient = ReferenceClient9;
|
|
7796
|
+
exports.LeboncoinSearchClient = SearchClient12;
|
|
7797
|
+
exports.LeboncoinSellersClient = SellersClient4;
|
|
7499
7798
|
exports.LinkedInClient = LinkedInClient;
|
|
7500
7799
|
exports.ListsClient = ListsClient;
|
|
7501
7800
|
exports.LoopNetBrokersClient = BrokersClient;
|
|
7502
7801
|
exports.LoopNetClient = LoopNetClient;
|
|
7503
7802
|
exports.LoopNetListingsClient = ListingsClient2;
|
|
7504
|
-
exports.LoopNetReferenceClient =
|
|
7505
|
-
exports.LoopNetSearchClient =
|
|
7803
|
+
exports.LoopNetReferenceClient = ReferenceClient11;
|
|
7804
|
+
exports.LoopNetSearchClient = SearchClient14;
|
|
7506
7805
|
exports.NotFoundError = NotFoundError;
|
|
7507
7806
|
exports.RateLimitError = RateLimitError;
|
|
7508
7807
|
exports.RealtorClient = RealtorClient;
|
|
7509
7808
|
exports.RealtorPropertiesClient = PropertiesClient;
|
|
7510
|
-
exports.RealtorReferenceClient =
|
|
7511
|
-
exports.RealtorSearchClient =
|
|
7809
|
+
exports.RealtorReferenceClient = ReferenceClient8;
|
|
7810
|
+
exports.RealtorSearchClient = SearchClient11;
|
|
7512
7811
|
exports.RedditClient = RedditClient;
|
|
7513
7812
|
exports.RedditPostsClient = PostsClient;
|
|
7514
7813
|
exports.RedditSearchClient = SearchClient3;
|
|
@@ -7545,6 +7844,12 @@ exports.VintedItemsClient = ItemsClient;
|
|
|
7545
7844
|
exports.VintedReferenceClient = ReferenceClient;
|
|
7546
7845
|
exports.VintedSearchClient = SearchClient;
|
|
7547
7846
|
exports.VintedUsersClient = UsersClient2;
|
|
7847
|
+
exports.WalmartClient = WalmartClient;
|
|
7848
|
+
exports.WalmartProductsClient = ProductsClient4;
|
|
7849
|
+
exports.WalmartReferenceClient = ReferenceClient6;
|
|
7850
|
+
exports.WalmartSearchClient = SearchClient9;
|
|
7851
|
+
exports.WalmartSellersClient = SellersClient3;
|
|
7852
|
+
exports.WalmartStoresClient = StoresClient;
|
|
7548
7853
|
exports.WebClient = WebClient;
|
|
7549
7854
|
exports.WebSocketStreamError = WebSocketStreamError;
|
|
7550
7855
|
exports.YoutubeChannelsClient = ChannelsClient;
|
|
@@ -7552,16 +7857,16 @@ exports.YoutubeClient = YoutubeClient;
|
|
|
7552
7857
|
exports.YoutubeCommunityClient = CommunityClient;
|
|
7553
7858
|
exports.YoutubeMusicClient = MusicClient2;
|
|
7554
7859
|
exports.YoutubePlaylistsClient = PlaylistsClient;
|
|
7555
|
-
exports.YoutubeReferenceClient =
|
|
7556
|
-
exports.YoutubeSearchClient =
|
|
7860
|
+
exports.YoutubeReferenceClient = ReferenceClient7;
|
|
7861
|
+
exports.YoutubeSearchClient = SearchClient10;
|
|
7557
7862
|
exports.YoutubeShortsClient = ShortsClient2;
|
|
7558
7863
|
exports.YoutubeTrendingClient = TrendingClient2;
|
|
7559
7864
|
exports.YoutubeVideosClient = VideosClient3;
|
|
7560
7865
|
exports.ZillowAgentClient = AgentClient;
|
|
7561
7866
|
exports.ZillowClient = ZillowClient;
|
|
7562
7867
|
exports.ZillowPropertiesClient = PropertiesClient2;
|
|
7563
|
-
exports.ZillowReferenceClient =
|
|
7564
|
-
exports.ZillowSearchClient =
|
|
7868
|
+
exports.ZillowReferenceClient = ReferenceClient10;
|
|
7869
|
+
exports.ZillowSearchClient = SearchClient13;
|
|
7565
7870
|
exports.collectAll = collectAll;
|
|
7566
7871
|
exports.verifyWebhookSignature = verifyWebhookSignature;
|
|
7567
7872
|
//# sourceMappingURL=index.js.map
|