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.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
|
}
|