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.d.cts
CHANGED
|
@@ -4009,7 +4009,10 @@ declare class UsersClient$1 {
|
|
|
4009
4009
|
constructor(client: BaseClient);
|
|
4010
4010
|
/** Get a user's full profile. */
|
|
4011
4011
|
get(username: string): Promise<User>;
|
|
4012
|
-
/**
|
|
4012
|
+
/**
|
|
4013
|
+
* Get "About this account" metadata for a user.
|
|
4014
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4015
|
+
*/
|
|
4013
4016
|
about(username: string): Promise<UserAbout>;
|
|
4014
4017
|
/** Get accounts related/suggested for a user. */
|
|
4015
4018
|
related(username: string): Promise<Paginated<UserShort>>;
|
|
@@ -4018,24 +4021,38 @@ declare class UsersClient$1 {
|
|
|
4018
4021
|
amount?: number;
|
|
4019
4022
|
cursor?: string;
|
|
4020
4023
|
}): Promise<Paginated<Media>>;
|
|
4021
|
-
/**
|
|
4024
|
+
/**
|
|
4025
|
+
* Get a user's video posts (IGTV/feed videos).
|
|
4026
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4027
|
+
*/
|
|
4022
4028
|
videos(username: string, options?: {
|
|
4023
4029
|
amount?: number;
|
|
4024
4030
|
cursor?: string;
|
|
4025
4031
|
}): Promise<Paginated<Media>>;
|
|
4026
|
-
/**
|
|
4032
|
+
/**
|
|
4033
|
+
* Get a user's reels.
|
|
4034
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4035
|
+
*/
|
|
4027
4036
|
reels(username: string, options?: {
|
|
4028
4037
|
amount?: number;
|
|
4029
4038
|
cursor?: string;
|
|
4030
4039
|
}): Promise<Paginated<Media>>;
|
|
4031
|
-
/**
|
|
4040
|
+
/**
|
|
4041
|
+
* Get media a user is tagged in.
|
|
4042
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4043
|
+
*/
|
|
4032
4044
|
tagged(username: string, options?: {
|
|
4033
4045
|
amount?: number;
|
|
4034
4046
|
cursor?: string;
|
|
4035
4047
|
}): Promise<Paginated<Media>>;
|
|
4036
|
-
/**
|
|
4048
|
+
/**
|
|
4049
|
+
* Get a user's pinned posts.
|
|
4050
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4051
|
+
*/
|
|
4037
4052
|
pinned(username: string): Promise<Paginated<Media>>;
|
|
4038
4053
|
/**
|
|
4054
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4055
|
+
*
|
|
4039
4056
|
* Get a user's followers.
|
|
4040
4057
|
*
|
|
4041
4058
|
* @param username - Instagram username.
|
|
@@ -4048,19 +4065,31 @@ declare class UsersClient$1 {
|
|
|
4048
4065
|
cursor?: string;
|
|
4049
4066
|
order?: string;
|
|
4050
4067
|
}): Promise<Paginated<UserShort>>;
|
|
4051
|
-
/**
|
|
4068
|
+
/**
|
|
4069
|
+
* Get the accounts a user follows.
|
|
4070
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4071
|
+
*/
|
|
4052
4072
|
following(username: string, options?: {
|
|
4053
4073
|
amount?: number;
|
|
4054
4074
|
cursor?: string;
|
|
4055
4075
|
}): Promise<Paginated<UserShort>>;
|
|
4056
|
-
/**
|
|
4076
|
+
/**
|
|
4077
|
+
* Search within a user's followers by name/username.
|
|
4078
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4079
|
+
*/
|
|
4057
4080
|
searchFollowers(username: string, query: string, options?: {
|
|
4058
4081
|
amount?: number;
|
|
4059
4082
|
cursor?: string;
|
|
4060
4083
|
}): Promise<Paginated<UserShort>>;
|
|
4061
|
-
/**
|
|
4084
|
+
/**
|
|
4085
|
+
* Get a user's currently-live stories.
|
|
4086
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4087
|
+
*/
|
|
4062
4088
|
stories(username: string): Promise<Paginated<Media>>;
|
|
4063
|
-
/**
|
|
4089
|
+
/**
|
|
4090
|
+
* Get a user's story highlights.
|
|
4091
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4092
|
+
*/
|
|
4064
4093
|
highlights(username: string): Promise<Paginated<Highlight>>;
|
|
4065
4094
|
private media;
|
|
4066
4095
|
}
|
|
@@ -4104,9 +4133,15 @@ declare class MediaClient {
|
|
|
4104
4133
|
amount?: number;
|
|
4105
4134
|
cursor?: string;
|
|
4106
4135
|
}): Promise<Paginated<Comment$1>>;
|
|
4107
|
-
/**
|
|
4136
|
+
/**
|
|
4137
|
+
* Get the users who liked a media.
|
|
4138
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4139
|
+
*/
|
|
4108
4140
|
likers(code: string): Promise<Paginated<UserShort>>;
|
|
4109
|
-
/**
|
|
4141
|
+
/**
|
|
4142
|
+
* Get replies to a comment.
|
|
4143
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4144
|
+
*/
|
|
4110
4145
|
replies(code: string, commentId: string, options?: {
|
|
4111
4146
|
amount?: number;
|
|
4112
4147
|
cursor?: string;
|
|
@@ -4140,19 +4175,34 @@ declare class MediaClient {
|
|
|
4140
4175
|
declare class SearchClient$9 {
|
|
4141
4176
|
private readonly client;
|
|
4142
4177
|
constructor(client: BaseClient);
|
|
4143
|
-
/**
|
|
4178
|
+
/**
|
|
4179
|
+
* Search accounts by name/username.
|
|
4180
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4181
|
+
*/
|
|
4144
4182
|
users(query: string): Promise<Paginated<UserShort>>;
|
|
4145
4183
|
/** Search hashtags. */
|
|
4146
4184
|
hashtags(query: string): Promise<Paginated<Hashtag>>;
|
|
4147
|
-
/**
|
|
4185
|
+
/**
|
|
4186
|
+
* Search places/locations.
|
|
4187
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4188
|
+
*/
|
|
4148
4189
|
places(query: string): Promise<Paginated<Location$2>>;
|
|
4149
|
-
/**
|
|
4190
|
+
/**
|
|
4191
|
+
* Search reels.
|
|
4192
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4193
|
+
*/
|
|
4150
4194
|
reels(query: string): Promise<Paginated<Media>>;
|
|
4151
|
-
/**
|
|
4195
|
+
/**
|
|
4196
|
+
* Search music/audio tracks.
|
|
4197
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4198
|
+
*/
|
|
4152
4199
|
music(query: string): Promise<Paginated<Audio>>;
|
|
4153
4200
|
/** Get blended "top" results (users, hashtags, and places). */
|
|
4154
4201
|
top(query: string): Promise<SearchTopResponse>;
|
|
4155
|
-
/**
|
|
4202
|
+
/**
|
|
4203
|
+
* Get typeahead/autocomplete suggestions (mixed entity types).
|
|
4204
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4205
|
+
*/
|
|
4156
4206
|
autocomplete(query: string): Promise<SearchTopResponse>;
|
|
4157
4207
|
}
|
|
4158
4208
|
|
|
@@ -4169,7 +4219,10 @@ declare class HashtagsClient$1 {
|
|
|
4169
4219
|
constructor(client: BaseClient);
|
|
4170
4220
|
/** Get a hashtag's info (media count, cover). */
|
|
4171
4221
|
get(tag: string): Promise<Hashtag>;
|
|
4172
|
-
/**
|
|
4222
|
+
/**
|
|
4223
|
+
* Get the top/popular media for a hashtag.
|
|
4224
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4225
|
+
*/
|
|
4173
4226
|
top(tag: string, options?: {
|
|
4174
4227
|
amount?: number;
|
|
4175
4228
|
cursor?: string;
|
|
@@ -4179,7 +4232,10 @@ declare class HashtagsClient$1 {
|
|
|
4179
4232
|
amount?: number;
|
|
4180
4233
|
cursor?: string;
|
|
4181
4234
|
}): Promise<Paginated<Media>>;
|
|
4182
|
-
/**
|
|
4235
|
+
/**
|
|
4236
|
+
* Get reels for a hashtag.
|
|
4237
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4238
|
+
*/
|
|
4183
4239
|
reels(tag: string, options?: {
|
|
4184
4240
|
amount?: number;
|
|
4185
4241
|
cursor?: string;
|
|
@@ -4189,33 +4245,54 @@ declare class HashtagsClient$1 {
|
|
|
4189
4245
|
declare class LocationsClient {
|
|
4190
4246
|
private readonly client;
|
|
4191
4247
|
constructor(client: BaseClient);
|
|
4192
|
-
/**
|
|
4248
|
+
/**
|
|
4249
|
+
* Get a location's info.
|
|
4250
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4251
|
+
*/
|
|
4193
4252
|
get(pk: string): Promise<Location$2>;
|
|
4194
|
-
/**
|
|
4253
|
+
/**
|
|
4254
|
+
* Get the top/popular media for a location.
|
|
4255
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4256
|
+
*/
|
|
4195
4257
|
top(pk: string, options?: {
|
|
4196
4258
|
amount?: number;
|
|
4197
4259
|
cursor?: string;
|
|
4198
4260
|
}): Promise<Paginated<Media>>;
|
|
4199
|
-
/**
|
|
4261
|
+
/**
|
|
4262
|
+
* Get the most recent media for a location.
|
|
4263
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4264
|
+
*/
|
|
4200
4265
|
recent(pk: string, options?: {
|
|
4201
4266
|
amount?: number;
|
|
4202
4267
|
cursor?: string;
|
|
4203
4268
|
}): Promise<Paginated<Media>>;
|
|
4204
|
-
/**
|
|
4269
|
+
/**
|
|
4270
|
+
* Search locations by name.
|
|
4271
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4272
|
+
*/
|
|
4205
4273
|
search(query: string): Promise<Paginated<Location$2>>;
|
|
4206
4274
|
}
|
|
4207
4275
|
/** Client for Instagram audio/music endpoints. */
|
|
4208
4276
|
declare class AudioClient {
|
|
4209
4277
|
private readonly client;
|
|
4210
4278
|
constructor(client: BaseClient);
|
|
4211
|
-
/**
|
|
4279
|
+
/**
|
|
4280
|
+
* Get an audio track's info.
|
|
4281
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4282
|
+
*/
|
|
4212
4283
|
get(audioId: string): Promise<Audio>;
|
|
4213
|
-
/**
|
|
4284
|
+
/**
|
|
4285
|
+
* Get media that use an audio track.
|
|
4286
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4287
|
+
*/
|
|
4214
4288
|
media(audioId: string, options?: {
|
|
4215
4289
|
amount?: number;
|
|
4216
4290
|
cursor?: string;
|
|
4217
4291
|
}): Promise<Paginated<Media>>;
|
|
4218
|
-
/**
|
|
4292
|
+
/**
|
|
4293
|
+
* Get currently-trending audio tracks.
|
|
4294
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4295
|
+
*/
|
|
4219
4296
|
trending(): Promise<Paginated<Audio>>;
|
|
4220
4297
|
}
|
|
4221
4298
|
|
package/dist/index.d.ts
CHANGED
|
@@ -4009,7 +4009,10 @@ declare class UsersClient$1 {
|
|
|
4009
4009
|
constructor(client: BaseClient);
|
|
4010
4010
|
/** Get a user's full profile. */
|
|
4011
4011
|
get(username: string): Promise<User>;
|
|
4012
|
-
/**
|
|
4012
|
+
/**
|
|
4013
|
+
* Get "About this account" metadata for a user.
|
|
4014
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4015
|
+
*/
|
|
4013
4016
|
about(username: string): Promise<UserAbout>;
|
|
4014
4017
|
/** Get accounts related/suggested for a user. */
|
|
4015
4018
|
related(username: string): Promise<Paginated<UserShort>>;
|
|
@@ -4018,24 +4021,38 @@ declare class UsersClient$1 {
|
|
|
4018
4021
|
amount?: number;
|
|
4019
4022
|
cursor?: string;
|
|
4020
4023
|
}): Promise<Paginated<Media>>;
|
|
4021
|
-
/**
|
|
4024
|
+
/**
|
|
4025
|
+
* Get a user's video posts (IGTV/feed videos).
|
|
4026
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4027
|
+
*/
|
|
4022
4028
|
videos(username: string, options?: {
|
|
4023
4029
|
amount?: number;
|
|
4024
4030
|
cursor?: string;
|
|
4025
4031
|
}): Promise<Paginated<Media>>;
|
|
4026
|
-
/**
|
|
4032
|
+
/**
|
|
4033
|
+
* Get a user's reels.
|
|
4034
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4035
|
+
*/
|
|
4027
4036
|
reels(username: string, options?: {
|
|
4028
4037
|
amount?: number;
|
|
4029
4038
|
cursor?: string;
|
|
4030
4039
|
}): Promise<Paginated<Media>>;
|
|
4031
|
-
/**
|
|
4040
|
+
/**
|
|
4041
|
+
* Get media a user is tagged in.
|
|
4042
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4043
|
+
*/
|
|
4032
4044
|
tagged(username: string, options?: {
|
|
4033
4045
|
amount?: number;
|
|
4034
4046
|
cursor?: string;
|
|
4035
4047
|
}): Promise<Paginated<Media>>;
|
|
4036
|
-
/**
|
|
4048
|
+
/**
|
|
4049
|
+
* Get a user's pinned posts.
|
|
4050
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4051
|
+
*/
|
|
4037
4052
|
pinned(username: string): Promise<Paginated<Media>>;
|
|
4038
4053
|
/**
|
|
4054
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4055
|
+
*
|
|
4039
4056
|
* Get a user's followers.
|
|
4040
4057
|
*
|
|
4041
4058
|
* @param username - Instagram username.
|
|
@@ -4048,19 +4065,31 @@ declare class UsersClient$1 {
|
|
|
4048
4065
|
cursor?: string;
|
|
4049
4066
|
order?: string;
|
|
4050
4067
|
}): Promise<Paginated<UserShort>>;
|
|
4051
|
-
/**
|
|
4068
|
+
/**
|
|
4069
|
+
* Get the accounts a user follows.
|
|
4070
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4071
|
+
*/
|
|
4052
4072
|
following(username: string, options?: {
|
|
4053
4073
|
amount?: number;
|
|
4054
4074
|
cursor?: string;
|
|
4055
4075
|
}): Promise<Paginated<UserShort>>;
|
|
4056
|
-
/**
|
|
4076
|
+
/**
|
|
4077
|
+
* Search within a user's followers by name/username.
|
|
4078
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4079
|
+
*/
|
|
4057
4080
|
searchFollowers(username: string, query: string, options?: {
|
|
4058
4081
|
amount?: number;
|
|
4059
4082
|
cursor?: string;
|
|
4060
4083
|
}): Promise<Paginated<UserShort>>;
|
|
4061
|
-
/**
|
|
4084
|
+
/**
|
|
4085
|
+
* Get a user's currently-live stories.
|
|
4086
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4087
|
+
*/
|
|
4062
4088
|
stories(username: string): Promise<Paginated<Media>>;
|
|
4063
|
-
/**
|
|
4089
|
+
/**
|
|
4090
|
+
* Get a user's story highlights.
|
|
4091
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4092
|
+
*/
|
|
4064
4093
|
highlights(username: string): Promise<Paginated<Highlight>>;
|
|
4065
4094
|
private media;
|
|
4066
4095
|
}
|
|
@@ -4104,9 +4133,15 @@ declare class MediaClient {
|
|
|
4104
4133
|
amount?: number;
|
|
4105
4134
|
cursor?: string;
|
|
4106
4135
|
}): Promise<Paginated<Comment$1>>;
|
|
4107
|
-
/**
|
|
4136
|
+
/**
|
|
4137
|
+
* Get the users who liked a media.
|
|
4138
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4139
|
+
*/
|
|
4108
4140
|
likers(code: string): Promise<Paginated<UserShort>>;
|
|
4109
|
-
/**
|
|
4141
|
+
/**
|
|
4142
|
+
* Get replies to a comment.
|
|
4143
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4144
|
+
*/
|
|
4110
4145
|
replies(code: string, commentId: string, options?: {
|
|
4111
4146
|
amount?: number;
|
|
4112
4147
|
cursor?: string;
|
|
@@ -4140,19 +4175,34 @@ declare class MediaClient {
|
|
|
4140
4175
|
declare class SearchClient$9 {
|
|
4141
4176
|
private readonly client;
|
|
4142
4177
|
constructor(client: BaseClient);
|
|
4143
|
-
/**
|
|
4178
|
+
/**
|
|
4179
|
+
* Search accounts by name/username.
|
|
4180
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4181
|
+
*/
|
|
4144
4182
|
users(query: string): Promise<Paginated<UserShort>>;
|
|
4145
4183
|
/** Search hashtags. */
|
|
4146
4184
|
hashtags(query: string): Promise<Paginated<Hashtag>>;
|
|
4147
|
-
/**
|
|
4185
|
+
/**
|
|
4186
|
+
* Search places/locations.
|
|
4187
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4188
|
+
*/
|
|
4148
4189
|
places(query: string): Promise<Paginated<Location$2>>;
|
|
4149
|
-
/**
|
|
4190
|
+
/**
|
|
4191
|
+
* Search reels.
|
|
4192
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4193
|
+
*/
|
|
4150
4194
|
reels(query: string): Promise<Paginated<Media>>;
|
|
4151
|
-
/**
|
|
4195
|
+
/**
|
|
4196
|
+
* Search music/audio tracks.
|
|
4197
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4198
|
+
*/
|
|
4152
4199
|
music(query: string): Promise<Paginated<Audio>>;
|
|
4153
4200
|
/** Get blended "top" results (users, hashtags, and places). */
|
|
4154
4201
|
top(query: string): Promise<SearchTopResponse>;
|
|
4155
|
-
/**
|
|
4202
|
+
/**
|
|
4203
|
+
* Get typeahead/autocomplete suggestions (mixed entity types).
|
|
4204
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4205
|
+
*/
|
|
4156
4206
|
autocomplete(query: string): Promise<SearchTopResponse>;
|
|
4157
4207
|
}
|
|
4158
4208
|
|
|
@@ -4169,7 +4219,10 @@ declare class HashtagsClient$1 {
|
|
|
4169
4219
|
constructor(client: BaseClient);
|
|
4170
4220
|
/** Get a hashtag's info (media count, cover). */
|
|
4171
4221
|
get(tag: string): Promise<Hashtag>;
|
|
4172
|
-
/**
|
|
4222
|
+
/**
|
|
4223
|
+
* Get the top/popular media for a hashtag.
|
|
4224
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4225
|
+
*/
|
|
4173
4226
|
top(tag: string, options?: {
|
|
4174
4227
|
amount?: number;
|
|
4175
4228
|
cursor?: string;
|
|
@@ -4179,7 +4232,10 @@ declare class HashtagsClient$1 {
|
|
|
4179
4232
|
amount?: number;
|
|
4180
4233
|
cursor?: string;
|
|
4181
4234
|
}): Promise<Paginated<Media>>;
|
|
4182
|
-
/**
|
|
4235
|
+
/**
|
|
4236
|
+
* Get reels for a hashtag.
|
|
4237
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4238
|
+
*/
|
|
4183
4239
|
reels(tag: string, options?: {
|
|
4184
4240
|
amount?: number;
|
|
4185
4241
|
cursor?: string;
|
|
@@ -4189,33 +4245,54 @@ declare class HashtagsClient$1 {
|
|
|
4189
4245
|
declare class LocationsClient {
|
|
4190
4246
|
private readonly client;
|
|
4191
4247
|
constructor(client: BaseClient);
|
|
4192
|
-
/**
|
|
4248
|
+
/**
|
|
4249
|
+
* Get a location's info.
|
|
4250
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4251
|
+
*/
|
|
4193
4252
|
get(pk: string): Promise<Location$2>;
|
|
4194
|
-
/**
|
|
4253
|
+
/**
|
|
4254
|
+
* Get the top/popular media for a location.
|
|
4255
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4256
|
+
*/
|
|
4195
4257
|
top(pk: string, options?: {
|
|
4196
4258
|
amount?: number;
|
|
4197
4259
|
cursor?: string;
|
|
4198
4260
|
}): Promise<Paginated<Media>>;
|
|
4199
|
-
/**
|
|
4261
|
+
/**
|
|
4262
|
+
* Get the most recent media for a location.
|
|
4263
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4264
|
+
*/
|
|
4200
4265
|
recent(pk: string, options?: {
|
|
4201
4266
|
amount?: number;
|
|
4202
4267
|
cursor?: string;
|
|
4203
4268
|
}): Promise<Paginated<Media>>;
|
|
4204
|
-
/**
|
|
4269
|
+
/**
|
|
4270
|
+
* Search locations by name.
|
|
4271
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4272
|
+
*/
|
|
4205
4273
|
search(query: string): Promise<Paginated<Location$2>>;
|
|
4206
4274
|
}
|
|
4207
4275
|
/** Client for Instagram audio/music endpoints. */
|
|
4208
4276
|
declare class AudioClient {
|
|
4209
4277
|
private readonly client;
|
|
4210
4278
|
constructor(client: BaseClient);
|
|
4211
|
-
/**
|
|
4279
|
+
/**
|
|
4280
|
+
* Get an audio track's info.
|
|
4281
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4282
|
+
*/
|
|
4212
4283
|
get(audioId: string): Promise<Audio>;
|
|
4213
|
-
/**
|
|
4284
|
+
/**
|
|
4285
|
+
* Get media that use an audio track.
|
|
4286
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4287
|
+
*/
|
|
4214
4288
|
media(audioId: string, options?: {
|
|
4215
4289
|
amount?: number;
|
|
4216
4290
|
cursor?: string;
|
|
4217
4291
|
}): Promise<Paginated<Media>>;
|
|
4218
|
-
/**
|
|
4292
|
+
/**
|
|
4293
|
+
* Get currently-trending audio tracks.
|
|
4294
|
+
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4295
|
+
*/
|
|
4219
4296
|
trending(): Promise<Paginated<Audio>>;
|
|
4220
4297
|
}
|
|
4221
4298
|
|