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.mjs
CHANGED
|
@@ -4098,7 +4098,10 @@ var UsersClient4 = class {
|
|
|
4098
4098
|
async get(username) {
|
|
4099
4099
|
return this.client.request(`/v1/instagram/users/${username}`);
|
|
4100
4100
|
}
|
|
4101
|
-
/**
|
|
4101
|
+
/**
|
|
4102
|
+
* Get "About this account" metadata for a user.
|
|
4103
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4104
|
+
*/
|
|
4102
4105
|
async about(username) {
|
|
4103
4106
|
return this.client.request(
|
|
4104
4107
|
`/v1/instagram/users/${username}/about`
|
|
@@ -4114,25 +4117,39 @@ var UsersClient4 = class {
|
|
|
4114
4117
|
async posts(username, options = {}) {
|
|
4115
4118
|
return this.media(`/v1/instagram/users/${username}/posts`, options);
|
|
4116
4119
|
}
|
|
4117
|
-
/**
|
|
4120
|
+
/**
|
|
4121
|
+
* Get a user's video posts (IGTV/feed videos).
|
|
4122
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4123
|
+
*/
|
|
4118
4124
|
async videos(username, options = {}) {
|
|
4119
4125
|
return this.media(`/v1/instagram/users/${username}/videos`, options);
|
|
4120
4126
|
}
|
|
4121
|
-
/**
|
|
4127
|
+
/**
|
|
4128
|
+
* Get a user's reels.
|
|
4129
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4130
|
+
*/
|
|
4122
4131
|
async reels(username, options = {}) {
|
|
4123
4132
|
return this.media(`/v1/instagram/users/${username}/reels`, options);
|
|
4124
4133
|
}
|
|
4125
|
-
/**
|
|
4134
|
+
/**
|
|
4135
|
+
* Get media a user is tagged in.
|
|
4136
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4137
|
+
*/
|
|
4126
4138
|
async tagged(username, options = {}) {
|
|
4127
4139
|
return this.media(`/v1/instagram/users/${username}/tagged`, options);
|
|
4128
4140
|
}
|
|
4129
|
-
/**
|
|
4141
|
+
/**
|
|
4142
|
+
* Get a user's pinned posts.
|
|
4143
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4144
|
+
*/
|
|
4130
4145
|
async pinned(username) {
|
|
4131
4146
|
return this.client.request(
|
|
4132
4147
|
`/v1/instagram/users/${username}/pinned`
|
|
4133
4148
|
);
|
|
4134
4149
|
}
|
|
4135
4150
|
/**
|
|
4151
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4152
|
+
*
|
|
4136
4153
|
* Get a user's followers.
|
|
4137
4154
|
*
|
|
4138
4155
|
* @param username - Instagram username.
|
|
@@ -4152,14 +4169,20 @@ var UsersClient4 = class {
|
|
|
4152
4169
|
}
|
|
4153
4170
|
);
|
|
4154
4171
|
}
|
|
4155
|
-
/**
|
|
4172
|
+
/**
|
|
4173
|
+
* Get the accounts a user follows.
|
|
4174
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4175
|
+
*/
|
|
4156
4176
|
async following(username, options = {}) {
|
|
4157
4177
|
return this.client.request(
|
|
4158
4178
|
`/v1/instagram/users/${username}/following`,
|
|
4159
4179
|
{ params: { amount: options.amount, cursor: options.cursor } }
|
|
4160
4180
|
);
|
|
4161
4181
|
}
|
|
4162
|
-
/**
|
|
4182
|
+
/**
|
|
4183
|
+
* Search within a user's followers by name/username.
|
|
4184
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4185
|
+
*/
|
|
4163
4186
|
async searchFollowers(username, query, options = {}) {
|
|
4164
4187
|
return this.client.request(
|
|
4165
4188
|
`/v1/instagram/users/${username}/followers/search`,
|
|
@@ -4168,13 +4191,19 @@ var UsersClient4 = class {
|
|
|
4168
4191
|
}
|
|
4169
4192
|
);
|
|
4170
4193
|
}
|
|
4171
|
-
/**
|
|
4194
|
+
/**
|
|
4195
|
+
* Get a user's currently-live stories.
|
|
4196
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4197
|
+
*/
|
|
4172
4198
|
async stories(username) {
|
|
4173
4199
|
return this.client.request(
|
|
4174
4200
|
`/v1/instagram/users/${username}/stories`
|
|
4175
4201
|
);
|
|
4176
4202
|
}
|
|
4177
|
-
/**
|
|
4203
|
+
/**
|
|
4204
|
+
* Get a user's story highlights.
|
|
4205
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4206
|
+
*/
|
|
4178
4207
|
async highlights(username) {
|
|
4179
4208
|
return this.client.request(
|
|
4180
4209
|
`/v1/instagram/users/${username}/highlights`
|
|
@@ -4212,13 +4241,19 @@ var MediaClient = class {
|
|
|
4212
4241
|
{ params: { amount: options.amount, cursor: options.cursor } }
|
|
4213
4242
|
);
|
|
4214
4243
|
}
|
|
4215
|
-
/**
|
|
4244
|
+
/**
|
|
4245
|
+
* Get the users who liked a media.
|
|
4246
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4247
|
+
*/
|
|
4216
4248
|
async likers(code) {
|
|
4217
4249
|
return this.client.request(
|
|
4218
4250
|
`/v1/instagram/media/${code}/likers`
|
|
4219
4251
|
);
|
|
4220
4252
|
}
|
|
4221
|
-
/**
|
|
4253
|
+
/**
|
|
4254
|
+
* Get replies to a comment.
|
|
4255
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4256
|
+
*/
|
|
4222
4257
|
async replies(code, commentId, options = {}) {
|
|
4223
4258
|
return this.client.request(
|
|
4224
4259
|
`/v1/instagram/media/${code}/comments/${commentId}/replies`,
|
|
@@ -4239,7 +4274,10 @@ var SearchClient4 = class {
|
|
|
4239
4274
|
constructor(client) {
|
|
4240
4275
|
this.client = client;
|
|
4241
4276
|
}
|
|
4242
|
-
/**
|
|
4277
|
+
/**
|
|
4278
|
+
* Search accounts by name/username.
|
|
4279
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4280
|
+
*/
|
|
4243
4281
|
async users(query) {
|
|
4244
4282
|
return this.client.request(
|
|
4245
4283
|
"/v1/instagram/search/users",
|
|
@@ -4253,21 +4291,30 @@ var SearchClient4 = class {
|
|
|
4253
4291
|
{ params: { query } }
|
|
4254
4292
|
);
|
|
4255
4293
|
}
|
|
4256
|
-
/**
|
|
4294
|
+
/**
|
|
4295
|
+
* Search places/locations.
|
|
4296
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4297
|
+
*/
|
|
4257
4298
|
async places(query) {
|
|
4258
4299
|
return this.client.request(
|
|
4259
4300
|
"/v1/instagram/search/places",
|
|
4260
4301
|
{ params: { query } }
|
|
4261
4302
|
);
|
|
4262
4303
|
}
|
|
4263
|
-
/**
|
|
4304
|
+
/**
|
|
4305
|
+
* Search reels.
|
|
4306
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4307
|
+
*/
|
|
4264
4308
|
async reels(query) {
|
|
4265
4309
|
return this.client.request(
|
|
4266
4310
|
"/v1/instagram/search/reels",
|
|
4267
4311
|
{ params: { query } }
|
|
4268
4312
|
);
|
|
4269
4313
|
}
|
|
4270
|
-
/**
|
|
4314
|
+
/**
|
|
4315
|
+
* Search music/audio tracks.
|
|
4316
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4317
|
+
*/
|
|
4271
4318
|
async music(query) {
|
|
4272
4319
|
return this.client.request(
|
|
4273
4320
|
"/v1/instagram/search/music",
|
|
@@ -4280,7 +4327,10 @@ var SearchClient4 = class {
|
|
|
4280
4327
|
params: { query }
|
|
4281
4328
|
});
|
|
4282
4329
|
}
|
|
4283
|
-
/**
|
|
4330
|
+
/**
|
|
4331
|
+
* Get typeahead/autocomplete suggestions (mixed entity types).
|
|
4332
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4333
|
+
*/
|
|
4284
4334
|
async autocomplete(query) {
|
|
4285
4335
|
return this.client.request(
|
|
4286
4336
|
"/v1/instagram/search/autocomplete",
|
|
@@ -4304,7 +4354,10 @@ var HashtagsClient = class {
|
|
|
4304
4354
|
async get(tag) {
|
|
4305
4355
|
return this.client.request(`/v1/instagram/hashtags/${tag}`);
|
|
4306
4356
|
}
|
|
4307
|
-
/**
|
|
4357
|
+
/**
|
|
4358
|
+
* Get the top/popular media for a hashtag.
|
|
4359
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4360
|
+
*/
|
|
4308
4361
|
async top(tag, options = {}) {
|
|
4309
4362
|
return mediaFeed(this.client, `/v1/instagram/hashtags/${tag}/top`, options);
|
|
4310
4363
|
}
|
|
@@ -4316,7 +4369,10 @@ var HashtagsClient = class {
|
|
|
4316
4369
|
options
|
|
4317
4370
|
);
|
|
4318
4371
|
}
|
|
4319
|
-
/**
|
|
4372
|
+
/**
|
|
4373
|
+
* Get reels for a hashtag.
|
|
4374
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4375
|
+
*/
|
|
4320
4376
|
async reels(tag, options = {}) {
|
|
4321
4377
|
return mediaFeed(
|
|
4322
4378
|
this.client,
|
|
@@ -4330,15 +4386,24 @@ var LocationsClient = class {
|
|
|
4330
4386
|
constructor(client) {
|
|
4331
4387
|
this.client = client;
|
|
4332
4388
|
}
|
|
4333
|
-
/**
|
|
4389
|
+
/**
|
|
4390
|
+
* Get a location's info.
|
|
4391
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4392
|
+
*/
|
|
4334
4393
|
async get(pk) {
|
|
4335
4394
|
return this.client.request(`/v1/instagram/locations/${pk}`);
|
|
4336
4395
|
}
|
|
4337
|
-
/**
|
|
4396
|
+
/**
|
|
4397
|
+
* Get the top/popular media for a location.
|
|
4398
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4399
|
+
*/
|
|
4338
4400
|
async top(pk, options = {}) {
|
|
4339
4401
|
return mediaFeed(this.client, `/v1/instagram/locations/${pk}/top`, options);
|
|
4340
4402
|
}
|
|
4341
|
-
/**
|
|
4403
|
+
/**
|
|
4404
|
+
* Get the most recent media for a location.
|
|
4405
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4406
|
+
*/
|
|
4342
4407
|
async recent(pk, options = {}) {
|
|
4343
4408
|
return mediaFeed(
|
|
4344
4409
|
this.client,
|
|
@@ -4346,7 +4411,10 @@ var LocationsClient = class {
|
|
|
4346
4411
|
options
|
|
4347
4412
|
);
|
|
4348
4413
|
}
|
|
4349
|
-
/**
|
|
4414
|
+
/**
|
|
4415
|
+
* Search locations by name.
|
|
4416
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4417
|
+
*/
|
|
4350
4418
|
async search(query) {
|
|
4351
4419
|
return this.client.request(
|
|
4352
4420
|
"/v1/instagram/locations/search",
|
|
@@ -4359,11 +4427,17 @@ var AudioClient = class {
|
|
|
4359
4427
|
constructor(client) {
|
|
4360
4428
|
this.client = client;
|
|
4361
4429
|
}
|
|
4362
|
-
/**
|
|
4430
|
+
/**
|
|
4431
|
+
* Get an audio track's info.
|
|
4432
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4433
|
+
*/
|
|
4363
4434
|
async get(audioId) {
|
|
4364
4435
|
return this.client.request(`/v1/instagram/audio/${audioId}`);
|
|
4365
4436
|
}
|
|
4366
|
-
/**
|
|
4437
|
+
/**
|
|
4438
|
+
* Get media that use an audio track.
|
|
4439
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4440
|
+
*/
|
|
4367
4441
|
async media(audioId, options = {}) {
|
|
4368
4442
|
return mediaFeed(
|
|
4369
4443
|
this.client,
|
|
@@ -4371,7 +4445,10 @@ var AudioClient = class {
|
|
|
4371
4445
|
options
|
|
4372
4446
|
);
|
|
4373
4447
|
}
|
|
4374
|
-
/**
|
|
4448
|
+
/**
|
|
4449
|
+
* Get currently-trending audio tracks.
|
|
4450
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4451
|
+
*/
|
|
4375
4452
|
async trending() {
|
|
4376
4453
|
return this.client.request("/v1/instagram/audio/trending");
|
|
4377
4454
|
}
|
|
@@ -5622,8 +5699,227 @@ var EbayClient = class {
|
|
|
5622
5699
|
}
|
|
5623
5700
|
};
|
|
5624
5701
|
|
|
5625
|
-
// src/
|
|
5702
|
+
// src/walmart/search.ts
|
|
5626
5703
|
var SearchClient9 = class {
|
|
5704
|
+
constructor(client) {
|
|
5705
|
+
this.client = client;
|
|
5706
|
+
}
|
|
5707
|
+
/**
|
|
5708
|
+
* Search walmart.com.
|
|
5709
|
+
*
|
|
5710
|
+
* @param query - Search keywords, e.g. `"laptop"`.
|
|
5711
|
+
* @param params - Optional page (1-10), sort, price and facet filters.
|
|
5712
|
+
* @returns A page of ~40-60 organic products.
|
|
5713
|
+
*
|
|
5714
|
+
* @remarks
|
|
5715
|
+
* Results dry up after page 10 regardless of `total_results_reported`; bound
|
|
5716
|
+
* a crawl with `max_page`. Sponsored ad tiles are dropped, sponsored
|
|
5717
|
+
* *products* are returned and flagged `is_sponsored`.
|
|
5718
|
+
*/
|
|
5719
|
+
async search(query, params = {}) {
|
|
5720
|
+
return this.client.request("/v1/walmart/search", {
|
|
5721
|
+
params: {
|
|
5722
|
+
query,
|
|
5723
|
+
page: params.page,
|
|
5724
|
+
sort: params.sort,
|
|
5725
|
+
min_price: params.min_price,
|
|
5726
|
+
max_price: params.max_price,
|
|
5727
|
+
facet: params.facet
|
|
5728
|
+
}
|
|
5729
|
+
});
|
|
5730
|
+
}
|
|
5731
|
+
/**
|
|
5732
|
+
* Browse a Walmart category. Same result shape as {@link search}.
|
|
5733
|
+
*
|
|
5734
|
+
* @param path - Browse path, e.g. `"electronics/3944"`, or a `/cp/...` path.
|
|
5735
|
+
* @param params - Optional page (1-11), price and facet filters.
|
|
5736
|
+
*
|
|
5737
|
+
* @remarks
|
|
5738
|
+
* No `sort`: Walmart's browse pages ignore it (verified). Sort on
|
|
5739
|
+
* {@link search} instead.
|
|
5740
|
+
*/
|
|
5741
|
+
async category(path, params = {}) {
|
|
5742
|
+
return this.client.request("/v1/walmart/category", {
|
|
5743
|
+
params: {
|
|
5744
|
+
path,
|
|
5745
|
+
page: params.page,
|
|
5746
|
+
min_price: params.min_price,
|
|
5747
|
+
max_price: params.max_price,
|
|
5748
|
+
facet: params.facet
|
|
5749
|
+
}
|
|
5750
|
+
});
|
|
5751
|
+
}
|
|
5752
|
+
/**
|
|
5753
|
+
* Walmart's current deals, rollbacks and clearance.
|
|
5754
|
+
*
|
|
5755
|
+
* @param params - Optional page (1-11) and price filters.
|
|
5756
|
+
*/
|
|
5757
|
+
async deals(params = {}) {
|
|
5758
|
+
return this.client.request("/v1/walmart/deals", {
|
|
5759
|
+
params: {
|
|
5760
|
+
page: params.page,
|
|
5761
|
+
min_price: params.min_price,
|
|
5762
|
+
max_price: params.max_price
|
|
5763
|
+
}
|
|
5764
|
+
});
|
|
5765
|
+
}
|
|
5766
|
+
/**
|
|
5767
|
+
* Walmart search-box suggestions — the cheapest call in this API.
|
|
5768
|
+
*
|
|
5769
|
+
* @param query - Partial search term, e.g. `"lapt"`.
|
|
5770
|
+
*/
|
|
5771
|
+
async autocomplete(query) {
|
|
5772
|
+
return this.client.request("/v1/walmart/autocomplete", {
|
|
5773
|
+
params: { query }
|
|
5774
|
+
});
|
|
5775
|
+
}
|
|
5776
|
+
};
|
|
5777
|
+
|
|
5778
|
+
// src/walmart/products.ts
|
|
5779
|
+
var ProductsClient4 = class {
|
|
5780
|
+
constructor(client) {
|
|
5781
|
+
this.client = client;
|
|
5782
|
+
}
|
|
5783
|
+
/**
|
|
5784
|
+
* Get full product detail.
|
|
5785
|
+
*
|
|
5786
|
+
* @param itemId - Walmart `usItemId`, e.g. `"5689919121"`.
|
|
5787
|
+
* @throws NotFoundError - If the item doesn't exist.
|
|
5788
|
+
*
|
|
5789
|
+
* @remarks
|
|
5790
|
+
* Only the numeric id is needed — the SEO slug is decorative and ignored by
|
|
5791
|
+
* Walmart's router. Prices and availability are store-specific; the resolved
|
|
5792
|
+
* store is on `location`.
|
|
5793
|
+
*/
|
|
5794
|
+
async get(itemId) {
|
|
5795
|
+
return this.client.request(`/v1/walmart/products/${itemId}`);
|
|
5796
|
+
}
|
|
5797
|
+
/**
|
|
5798
|
+
* Get paginated customer reviews with the full star histogram.
|
|
5799
|
+
*
|
|
5800
|
+
* @param itemId - Walmart `usItemId`.
|
|
5801
|
+
* @param params - Optional page (1-100) and sort.
|
|
5802
|
+
* @returns Reviews plus the rating breakdown, aspects, and the most-helpful
|
|
5803
|
+
* positive and negative reviews.
|
|
5804
|
+
*
|
|
5805
|
+
* @remarks 10 reviews per page — Walmart's page size, not adjustable.
|
|
5806
|
+
*/
|
|
5807
|
+
async reviews(itemId, params = {}) {
|
|
5808
|
+
return this.client.request(
|
|
5809
|
+
`/v1/walmart/products/${itemId}/reviews`,
|
|
5810
|
+
{ params: { page: params.page, sort: params.sort } }
|
|
5811
|
+
);
|
|
5812
|
+
}
|
|
5813
|
+
};
|
|
5814
|
+
|
|
5815
|
+
// src/walmart/sellers.ts
|
|
5816
|
+
var SellersClient3 = class {
|
|
5817
|
+
constructor(client) {
|
|
5818
|
+
this.client = client;
|
|
5819
|
+
}
|
|
5820
|
+
/**
|
|
5821
|
+
* Get a marketplace seller's profile — contact details, address, rating,
|
|
5822
|
+
* policies.
|
|
5823
|
+
*
|
|
5824
|
+
* @param sellerId - Numeric catalog seller id, e.g. `"101040442"`. This is
|
|
5825
|
+
* the `seller.catalog_seller_id` on a product — NOT the 32-char hex
|
|
5826
|
+
* `seller_id`, which 404s as a storefront URL.
|
|
5827
|
+
*
|
|
5828
|
+
* @remarks
|
|
5829
|
+
* No page parameter and no product list: adding `?page=` makes Walmart's own
|
|
5830
|
+
* SSR throw. Use {@link products} for the catalogue.
|
|
5831
|
+
*/
|
|
5832
|
+
async get(sellerId) {
|
|
5833
|
+
return this.client.request(`/v1/walmart/sellers/${sellerId}`);
|
|
5834
|
+
}
|
|
5835
|
+
/**
|
|
5836
|
+
* List a marketplace seller's catalogue.
|
|
5837
|
+
*
|
|
5838
|
+
* @param sellerId - Numeric catalog seller id.
|
|
5839
|
+
* @param query - Search term scoping the catalogue. REQUIRED — this goes
|
|
5840
|
+
* through search with a `retailer_id` facet, and the facet alone returns
|
|
5841
|
+
* zero results.
|
|
5842
|
+
* @param params - Optional page (1-10) and sort.
|
|
5843
|
+
*/
|
|
5844
|
+
async products(sellerId, query, params = {}) {
|
|
5845
|
+
return this.client.request(
|
|
5846
|
+
`/v1/walmart/sellers/${sellerId}/products`,
|
|
5847
|
+
{ params: { query, page: params.page, sort: params.sort } }
|
|
5848
|
+
);
|
|
5849
|
+
}
|
|
5850
|
+
};
|
|
5851
|
+
|
|
5852
|
+
// src/walmart/stores.ts
|
|
5853
|
+
var StoresClient = class {
|
|
5854
|
+
constructor(client) {
|
|
5855
|
+
this.client = client;
|
|
5856
|
+
}
|
|
5857
|
+
/**
|
|
5858
|
+
* Get store detail plus every store around it.
|
|
5859
|
+
*
|
|
5860
|
+
* @param storeId - Walmart store number, e.g. `"100"`.
|
|
5861
|
+
* @returns The store's address, geo, phone, opening hours and per-department
|
|
5862
|
+
* services (each with its own hours and phone), plus ~30 nearby stores.
|
|
5863
|
+
*/
|
|
5864
|
+
async get(storeId) {
|
|
5865
|
+
return this.client.request(`/v1/walmart/stores/${storeId}`);
|
|
5866
|
+
}
|
|
5867
|
+
};
|
|
5868
|
+
|
|
5869
|
+
// src/walmart/reference.ts
|
|
5870
|
+
var ReferenceClient6 = class {
|
|
5871
|
+
constructor(client) {
|
|
5872
|
+
this.client = client;
|
|
5873
|
+
}
|
|
5874
|
+
/**
|
|
5875
|
+
* Get the supported Walmart markets.
|
|
5876
|
+
*
|
|
5877
|
+
* @remarks
|
|
5878
|
+
* Only walmart.com (US) is supported — walmart.ca and walmart.com.mx run on
|
|
5879
|
+
* different platforms with different payload shapes, so they are not claimed
|
|
5880
|
+
* here rather than shipped broken.
|
|
5881
|
+
*/
|
|
5882
|
+
async markets() {
|
|
5883
|
+
return this.client.request("/v1/walmart/markets");
|
|
5884
|
+
}
|
|
5885
|
+
/**
|
|
5886
|
+
* Check the health of the Walmart scraper service.
|
|
5887
|
+
*
|
|
5888
|
+
* @returns The raw health payload from the scraper service.
|
|
5889
|
+
*/
|
|
5890
|
+
async health() {
|
|
5891
|
+
return this.client.request("/v1/walmart/health");
|
|
5892
|
+
}
|
|
5893
|
+
};
|
|
5894
|
+
|
|
5895
|
+
// src/walmart/client.ts
|
|
5896
|
+
var WalmartClient = class {
|
|
5897
|
+
/** Client for search, category browse, deals and autocomplete */
|
|
5898
|
+
search;
|
|
5899
|
+
/** Client for product detail and reviews */
|
|
5900
|
+
products;
|
|
5901
|
+
/** Client for marketplace seller profile and catalogue */
|
|
5902
|
+
sellers;
|
|
5903
|
+
/** Client for store detail and nearby stores */
|
|
5904
|
+
stores;
|
|
5905
|
+
/** Client for reference data (markets) and service health */
|
|
5906
|
+
reference;
|
|
5907
|
+
/**
|
|
5908
|
+
* Create a new Walmart client.
|
|
5909
|
+
*
|
|
5910
|
+
* @param client - The base HTTP client for making requests.
|
|
5911
|
+
*/
|
|
5912
|
+
constructor(client) {
|
|
5913
|
+
this.search = new SearchClient9(client);
|
|
5914
|
+
this.products = new ProductsClient4(client);
|
|
5915
|
+
this.sellers = new SellersClient3(client);
|
|
5916
|
+
this.stores = new StoresClient(client);
|
|
5917
|
+
this.reference = new ReferenceClient6(client);
|
|
5918
|
+
}
|
|
5919
|
+
};
|
|
5920
|
+
|
|
5921
|
+
// src/youtube/search.ts
|
|
5922
|
+
var SearchClient10 = class {
|
|
5627
5923
|
client;
|
|
5628
5924
|
constructor(client) {
|
|
5629
5925
|
this.client = client;
|
|
@@ -6148,7 +6444,7 @@ var MusicClient2 = class {
|
|
|
6148
6444
|
};
|
|
6149
6445
|
|
|
6150
6446
|
// src/youtube/reference.ts
|
|
6151
|
-
var
|
|
6447
|
+
var ReferenceClient7 = class {
|
|
6152
6448
|
client;
|
|
6153
6449
|
constructor(client) {
|
|
6154
6450
|
this.client = client;
|
|
@@ -6216,7 +6512,7 @@ var YoutubeClient = class {
|
|
|
6216
6512
|
* @param client - The base HTTP client for making requests.
|
|
6217
6513
|
*/
|
|
6218
6514
|
constructor(client) {
|
|
6219
|
-
this.search = new
|
|
6515
|
+
this.search = new SearchClient10(client);
|
|
6220
6516
|
this.videos = new VideosClient3(client);
|
|
6221
6517
|
this.channels = new ChannelsClient(client);
|
|
6222
6518
|
this.playlists = new PlaylistsClient(client);
|
|
@@ -6224,12 +6520,12 @@ var YoutubeClient = class {
|
|
|
6224
6520
|
this.shorts = new ShortsClient2(client);
|
|
6225
6521
|
this.trending = new TrendingClient2(client);
|
|
6226
6522
|
this.music = new MusicClient2(client);
|
|
6227
|
-
this.reference = new
|
|
6523
|
+
this.reference = new ReferenceClient7(client);
|
|
6228
6524
|
}
|
|
6229
6525
|
};
|
|
6230
6526
|
|
|
6231
6527
|
// src/realtor/search.ts
|
|
6232
|
-
var
|
|
6528
|
+
var SearchClient11 = class {
|
|
6233
6529
|
client;
|
|
6234
6530
|
constructor(client) {
|
|
6235
6531
|
this.client = client;
|
|
@@ -6303,7 +6599,7 @@ var PropertiesClient = class {
|
|
|
6303
6599
|
};
|
|
6304
6600
|
|
|
6305
6601
|
// src/realtor/reference.ts
|
|
6306
|
-
var
|
|
6602
|
+
var ReferenceClient8 = class {
|
|
6307
6603
|
client;
|
|
6308
6604
|
constructor(client) {
|
|
6309
6605
|
this.client = client;
|
|
@@ -6332,14 +6628,14 @@ var RealtorClient = class {
|
|
|
6332
6628
|
* @param client - The base HTTP client for making requests.
|
|
6333
6629
|
*/
|
|
6334
6630
|
constructor(client) {
|
|
6335
|
-
this.search = new
|
|
6631
|
+
this.search = new SearchClient11(client);
|
|
6336
6632
|
this.properties = new PropertiesClient(client);
|
|
6337
|
-
this.reference = new
|
|
6633
|
+
this.reference = new ReferenceClient8(client);
|
|
6338
6634
|
}
|
|
6339
6635
|
};
|
|
6340
6636
|
|
|
6341
6637
|
// src/leboncoin/search.ts
|
|
6342
|
-
var
|
|
6638
|
+
var SearchClient12 = class {
|
|
6343
6639
|
client;
|
|
6344
6640
|
constructor(client) {
|
|
6345
6641
|
this.client = client;
|
|
@@ -6408,7 +6704,7 @@ var AdsClient2 = class {
|
|
|
6408
6704
|
};
|
|
6409
6705
|
|
|
6410
6706
|
// src/leboncoin/sellers.ts
|
|
6411
|
-
var
|
|
6707
|
+
var SellersClient4 = class {
|
|
6412
6708
|
client;
|
|
6413
6709
|
constructor(client) {
|
|
6414
6710
|
this.client = client;
|
|
@@ -6441,7 +6737,7 @@ var SellersClient3 = class {
|
|
|
6441
6737
|
};
|
|
6442
6738
|
|
|
6443
6739
|
// src/leboncoin/reference.ts
|
|
6444
|
-
var
|
|
6740
|
+
var ReferenceClient9 = class {
|
|
6445
6741
|
client;
|
|
6446
6742
|
constructor(client) {
|
|
6447
6743
|
this.client = client;
|
|
@@ -6512,15 +6808,15 @@ var LeboncoinClient = class {
|
|
|
6512
6808
|
* @param client - The base HTTP client for making requests.
|
|
6513
6809
|
*/
|
|
6514
6810
|
constructor(client) {
|
|
6515
|
-
this.search = new
|
|
6811
|
+
this.search = new SearchClient12(client);
|
|
6516
6812
|
this.ads = new AdsClient2(client);
|
|
6517
|
-
this.sellers = new
|
|
6518
|
-
this.reference = new
|
|
6813
|
+
this.sellers = new SellersClient4(client);
|
|
6814
|
+
this.reference = new ReferenceClient9(client);
|
|
6519
6815
|
}
|
|
6520
6816
|
};
|
|
6521
6817
|
|
|
6522
6818
|
// src/zillow/search.ts
|
|
6523
|
-
var
|
|
6819
|
+
var SearchClient13 = class {
|
|
6524
6820
|
client;
|
|
6525
6821
|
constructor(client) {
|
|
6526
6822
|
this.client = client;
|
|
@@ -6624,7 +6920,7 @@ var AgentClient = class {
|
|
|
6624
6920
|
};
|
|
6625
6921
|
|
|
6626
6922
|
// src/zillow/reference.ts
|
|
6627
|
-
var
|
|
6923
|
+
var ReferenceClient10 = class {
|
|
6628
6924
|
client;
|
|
6629
6925
|
constructor(client) {
|
|
6630
6926
|
this.client = client;
|
|
@@ -6655,10 +6951,10 @@ var ZillowClient = class {
|
|
|
6655
6951
|
* @param client - The base HTTP client for making requests.
|
|
6656
6952
|
*/
|
|
6657
6953
|
constructor(client) {
|
|
6658
|
-
this.search = new
|
|
6954
|
+
this.search = new SearchClient13(client);
|
|
6659
6955
|
this.properties = new PropertiesClient2(client);
|
|
6660
6956
|
this.agent = new AgentClient(client);
|
|
6661
|
-
this.reference = new
|
|
6957
|
+
this.reference = new ReferenceClient10(client);
|
|
6662
6958
|
}
|
|
6663
6959
|
};
|
|
6664
6960
|
|
|
@@ -6793,7 +7089,7 @@ var ImmobiliareClient = class {
|
|
|
6793
7089
|
};
|
|
6794
7090
|
|
|
6795
7091
|
// src/loopnet/search.ts
|
|
6796
|
-
var
|
|
7092
|
+
var SearchClient14 = class {
|
|
6797
7093
|
client;
|
|
6798
7094
|
constructor(client) {
|
|
6799
7095
|
this.client = client;
|
|
@@ -6874,7 +7170,7 @@ var BrokersClient = class {
|
|
|
6874
7170
|
};
|
|
6875
7171
|
|
|
6876
7172
|
// src/loopnet/reference.ts
|
|
6877
|
-
var
|
|
7173
|
+
var ReferenceClient11 = class {
|
|
6878
7174
|
client;
|
|
6879
7175
|
constructor(client) {
|
|
6880
7176
|
this.client = client;
|
|
@@ -6917,10 +7213,10 @@ var LoopNetClient = class {
|
|
|
6917
7213
|
* @param client - The base HTTP client for making requests.
|
|
6918
7214
|
*/
|
|
6919
7215
|
constructor(client) {
|
|
6920
|
-
this.search = new
|
|
7216
|
+
this.search = new SearchClient14(client);
|
|
6921
7217
|
this.listings = new ListingsClient2(client);
|
|
6922
7218
|
this.brokers = new BrokersClient(client);
|
|
6923
|
-
this.reference = new
|
|
7219
|
+
this.reference = new ReferenceClient11(client);
|
|
6924
7220
|
}
|
|
6925
7221
|
};
|
|
6926
7222
|
|
|
@@ -7281,7 +7577,7 @@ var BrandClient = class {
|
|
|
7281
7577
|
};
|
|
7282
7578
|
|
|
7283
7579
|
// src/chatgpt/reference.ts
|
|
7284
|
-
var
|
|
7580
|
+
var ReferenceClient12 = class {
|
|
7285
7581
|
client;
|
|
7286
7582
|
constructor(client) {
|
|
7287
7583
|
this.client = client;
|
|
@@ -7327,7 +7623,7 @@ var ChatGPTClient = class {
|
|
|
7327
7623
|
constructor(client) {
|
|
7328
7624
|
this.ask = new AskClient(client);
|
|
7329
7625
|
this.brand = new BrandClient(client);
|
|
7330
|
-
this.reference = new
|
|
7626
|
+
this.reference = new ReferenceClient12(client);
|
|
7331
7627
|
}
|
|
7332
7628
|
};
|
|
7333
7629
|
|
|
@@ -7358,6 +7654,8 @@ var ScrapeBadger = class {
|
|
|
7358
7654
|
tiktok;
|
|
7359
7655
|
/** eBay scraper API client — 12 endpoints across 18 markets */
|
|
7360
7656
|
ebay;
|
|
7657
|
+
/** Walmart scraper API client — 11 endpoints (walmart.com, US-only) */
|
|
7658
|
+
walmart;
|
|
7361
7659
|
/** YouTube scraper API client — 39 endpoints */
|
|
7362
7660
|
youtube;
|
|
7363
7661
|
/** Realtor scraper API client — 4 endpoints across 2 markets (us, ca) */
|
|
@@ -7422,6 +7720,7 @@ var ScrapeBadger = class {
|
|
|
7422
7720
|
this.shopee = new ShopeeClient(this.baseClient);
|
|
7423
7721
|
this.tiktok = new TikTokClient(this.baseClient);
|
|
7424
7722
|
this.ebay = new EbayClient(this.baseClient);
|
|
7723
|
+
this.walmart = new WalmartClient(this.baseClient);
|
|
7425
7724
|
this.youtube = new YoutubeClient(this.baseClient);
|
|
7426
7725
|
this.realtor = new RealtorClient(this.baseClient);
|
|
7427
7726
|
this.leboncoin = new LeboncoinClient(this.baseClient);
|
|
@@ -7434,6 +7733,6 @@ var ScrapeBadger = class {
|
|
|
7434
7733
|
}
|
|
7435
7734
|
};
|
|
7436
7735
|
|
|
7437
|
-
export { AccountRestrictedError, AmazonClient, ListingsClient as AmazonListingsClient, ProductsClient2 as AmazonProductsClient, ReferenceClient2 as AmazonReferenceClient, SearchClient5 as AmazonSearchClient, SellersClient as AmazonSellersClient, ApartmentsClient, AuthenticationError, AskClient as ChatGPTAskClient, BrandClient as ChatGPTBrandClient, ChatGPTClient,
|
|
7736
|
+
export { AccountRestrictedError, AmazonClient, ListingsClient as AmazonListingsClient, ProductsClient2 as AmazonProductsClient, ReferenceClient2 as AmazonReferenceClient, SearchClient5 as AmazonSearchClient, SellersClient as AmazonSellersClient, ApartmentsClient, AuthenticationError, AskClient as ChatGPTAskClient, BrandClient as ChatGPTBrandClient, ChatGPTClient, ReferenceClient12 as ChatGPTReferenceClient, CommunitiesClient, ConflictError, DepopClient, CategoriesClient as EbayCategoriesClient, EbayClient, ItemsClient2 as EbayItemsClient, ReferenceClient5 as EbayReferenceClient, SearchClient8 as EbaySearchClient, SellersClient2 as EbaySellersClient, GeoClient, AiModeClient as GoogleAiModeClient, AutocompleteClient as GoogleAutocompleteClient, GoogleClient, FinanceClient as GoogleFinanceClient, FlightsClient as GoogleFlightsClient, HotelsClient as GoogleHotelsClient, ImagesClient as GoogleImagesClient, JobsClient as GoogleJobsClient, LensClient as GoogleLensClient, MapsClient as GoogleMapsClient, NewsClient as GoogleNewsClient, PatentsClient as GooglePatentsClient, ProductsClient as GoogleProductsClient, ScholarClient as GoogleScholarClient, SearchClient2 as GoogleSearchClient, ShoppingClient as GoogleShoppingClient, ShortsClient as GoogleShortsClient, TrendsClient2 as GoogleTrendsClient, VideosClient as GoogleVideosClient, ImmobiliareClient, AudioClient as InstagramAudioClient, InstagramClient, HashtagsClient as InstagramHashtagsClient, LocationsClient as InstagramLocationsClient, MediaClient as InstagramMediaClient, SearchClient4 as InstagramSearchClient, UsersClient4 as InstagramUsersClient, InsufficientCreditsError, AdsClient2 as LeboncoinAdsClient, LeboncoinClient, ReferenceClient9 as LeboncoinReferenceClient, SearchClient12 as LeboncoinSearchClient, SellersClient4 as LeboncoinSellersClient, LinkedInClient, ListsClient, BrokersClient as LoopNetBrokersClient, LoopNetClient, ListingsClient2 as LoopNetListingsClient, ReferenceClient11 as LoopNetReferenceClient, SearchClient14 as LoopNetSearchClient, NotFoundError, RateLimitError, RealtorClient, PropertiesClient as RealtorPropertiesClient, ReferenceClient8 as RealtorReferenceClient, SearchClient11 as RealtorSearchClient, RedditClient, PostsClient as RedditPostsClient, SearchClient3 as RedditSearchClient, SubredditsClient as RedditSubredditsClient, UsersClient3 as RedditUsersClient, RedfinClient, ScrapeBadger, ScrapeBadgerError, ServerError, ShopeeClient, ProductsClient3 as ShopeeProductsClient, ReferenceClient3 as ShopeeReferenceClient, ReviewsClient as ShopeeReviewsClient, SearchClient6 as ShopeeSearchClient, SpacesClient, StreamClient, AdsClient as TikTokAdsClient, TikTokClient, HashtagsClient2 as TikTokHashtagsClient, MusicClient as TikTokMusicClient, ReferenceClient4 as TikTokReferenceClient, SearchClient7 as TikTokSearchClient, TrendingClient as TikTokTrendingClient, UsersClient5 as TikTokUsersClient, VideosClient2 as TikTokVideosClient, TimeoutError, TrendsClient, TweetsClient, TwitterClient, UsersClient, ValidationError, VintedClient, ItemsClient as VintedItemsClient, ReferenceClient as VintedReferenceClient, SearchClient as VintedSearchClient, UsersClient2 as VintedUsersClient, WalmartClient, ProductsClient4 as WalmartProductsClient, ReferenceClient6 as WalmartReferenceClient, SearchClient9 as WalmartSearchClient, SellersClient3 as WalmartSellersClient, StoresClient as WalmartStoresClient, WebClient, WebSocketStreamError, ChannelsClient as YoutubeChannelsClient, YoutubeClient, CommunityClient as YoutubeCommunityClient, MusicClient2 as YoutubeMusicClient, PlaylistsClient as YoutubePlaylistsClient, ReferenceClient7 as YoutubeReferenceClient, SearchClient10 as YoutubeSearchClient, ShortsClient2 as YoutubeShortsClient, TrendingClient2 as YoutubeTrendingClient, VideosClient3 as YoutubeVideosClient, AgentClient as ZillowAgentClient, ZillowClient, PropertiesClient2 as ZillowPropertiesClient, ReferenceClient10 as ZillowReferenceClient, SearchClient13 as ZillowSearchClient, collectAll, verifyWebhookSignature };
|
|
7438
7737
|
//# sourceMappingURL=index.mjs.map
|
|
7439
7738
|
//# sourceMappingURL=index.mjs.map
|