scrapebadger 0.28.0 → 0.29.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/dist/index.d.cts +102 -25
- package/dist/index.d.ts +102 -25
- package/dist/index.js +102 -25
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +102 -25
- 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
|
}
|