scrapebadger 0.64.0 → 0.64.1
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 +33 -128
- package/dist/index.d.ts +33 -128
- package/dist/index.js +34 -129
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +34 -129
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -4677,15 +4677,9 @@ declare class UsersClient$1 {
|
|
|
4677
4677
|
constructor(client: BaseClient);
|
|
4678
4678
|
/** Get a user's full profile. */
|
|
4679
4679
|
get(username: string): Promise<User>;
|
|
4680
|
-
/**
|
|
4681
|
-
* Get "About this account" metadata for a user.
|
|
4682
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4683
|
-
*/
|
|
4680
|
+
/** Get "About this account" metadata for a user. */
|
|
4684
4681
|
about(username: string): Promise<UserAbout>;
|
|
4685
|
-
/**
|
|
4686
|
-
* Get accounts related/suggested for a user.
|
|
4687
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4688
|
-
*/
|
|
4682
|
+
/** Get accounts related/suggested for a user. */
|
|
4689
4683
|
related(username: string): Promise<Paginated<UserShort>>;
|
|
4690
4684
|
/** Get a user's timeline posts. */
|
|
4691
4685
|
posts(username: string, options?: {
|
|
@@ -4693,37 +4687,26 @@ declare class UsersClient$1 {
|
|
|
4693
4687
|
cursor?: string;
|
|
4694
4688
|
}): Promise<Paginated<Media>>;
|
|
4695
4689
|
/**
|
|
4696
|
-
* Get a user's video posts
|
|
4697
|
-
*
|
|
4690
|
+
* Get a user's video posts from their feed. A page may hold slightly more than
|
|
4691
|
+
* `amount` items; pass `next_cursor` back as `cursor` to continue the feed.
|
|
4698
4692
|
*/
|
|
4699
4693
|
videos(username: string, options?: {
|
|
4700
4694
|
amount?: number;
|
|
4701
4695
|
cursor?: string;
|
|
4702
4696
|
}): Promise<Paginated<Media>>;
|
|
4703
|
-
/**
|
|
4704
|
-
* Get a user's reels.
|
|
4705
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4706
|
-
*/
|
|
4697
|
+
/** Get a user's reels. */
|
|
4707
4698
|
reels(username: string, options?: {
|
|
4708
4699
|
amount?: number;
|
|
4709
4700
|
cursor?: string;
|
|
4710
4701
|
}): Promise<Paginated<Media>>;
|
|
4711
|
-
/**
|
|
4712
|
-
* Get media a user is tagged in.
|
|
4713
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4714
|
-
*/
|
|
4702
|
+
/** Get media a user is tagged in. */
|
|
4715
4703
|
tagged(username: string, options?: {
|
|
4716
4704
|
amount?: number;
|
|
4717
4705
|
cursor?: string;
|
|
4718
4706
|
}): Promise<Paginated<Media>>;
|
|
4719
|
-
/**
|
|
4720
|
-
* Get a user's pinned posts.
|
|
4721
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4722
|
-
*/
|
|
4707
|
+
/** Get a user's pinned posts. */
|
|
4723
4708
|
pinned(username: string): Promise<Paginated<Media>>;
|
|
4724
4709
|
/**
|
|
4725
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4726
|
-
*
|
|
4727
4710
|
* Get a user's followers.
|
|
4728
4711
|
*
|
|
4729
4712
|
* @param username - Instagram username.
|
|
@@ -4736,31 +4719,19 @@ declare class UsersClient$1 {
|
|
|
4736
4719
|
cursor?: string;
|
|
4737
4720
|
order?: string;
|
|
4738
4721
|
}): Promise<Paginated<UserShort>>;
|
|
4739
|
-
/**
|
|
4740
|
-
* Get the accounts a user follows.
|
|
4741
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4742
|
-
*/
|
|
4722
|
+
/** Get the accounts a user follows. */
|
|
4743
4723
|
following(username: string, options?: {
|
|
4744
4724
|
amount?: number;
|
|
4745
4725
|
cursor?: string;
|
|
4746
4726
|
}): Promise<Paginated<UserShort>>;
|
|
4747
|
-
/**
|
|
4748
|
-
* Search within a user's followers by name/username.
|
|
4749
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4750
|
-
*/
|
|
4727
|
+
/** Search within a user's followers by name/username. */
|
|
4751
4728
|
searchFollowers(username: string, query: string, options?: {
|
|
4752
4729
|
amount?: number;
|
|
4753
4730
|
cursor?: string;
|
|
4754
4731
|
}): Promise<Paginated<UserShort>>;
|
|
4755
|
-
/**
|
|
4756
|
-
* Get a user's currently-live stories.
|
|
4757
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4758
|
-
*/
|
|
4732
|
+
/** Get a user's currently-live stories. */
|
|
4759
4733
|
stories(username: string): Promise<Paginated<Media>>;
|
|
4760
|
-
/**
|
|
4761
|
-
* Get a user's story highlights.
|
|
4762
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4763
|
-
*/
|
|
4734
|
+
/** Get a user's story highlights. */
|
|
4764
4735
|
highlights(username: string): Promise<Paginated<Highlight>>;
|
|
4765
4736
|
private media;
|
|
4766
4737
|
}
|
|
@@ -4797,33 +4768,21 @@ declare class MediaClient$3 {
|
|
|
4797
4768
|
* @param code - The media shortcode (from the `/p/<code>/` URL).
|
|
4798
4769
|
*/
|
|
4799
4770
|
get(code: string): Promise<Media>;
|
|
4800
|
-
/**
|
|
4801
|
-
* Get oEmbed metadata for a media permalink.
|
|
4802
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4803
|
-
*/
|
|
4771
|
+
/** Get oEmbed metadata for a media permalink. */
|
|
4804
4772
|
oembed(code: string): Promise<Oembed>;
|
|
4805
4773
|
/** Get top-level comments on a media. */
|
|
4806
4774
|
comments(code: string, options?: {
|
|
4807
4775
|
amount?: number;
|
|
4808
4776
|
cursor?: string;
|
|
4809
4777
|
}): Promise<Paginated<Comment$1>>;
|
|
4810
|
-
/**
|
|
4811
|
-
* Get the users who liked a media.
|
|
4812
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4813
|
-
*/
|
|
4778
|
+
/** Get the users who liked a media. */
|
|
4814
4779
|
likers(code: string): Promise<Paginated<UserShort>>;
|
|
4815
|
-
/**
|
|
4816
|
-
* Get replies to a comment.
|
|
4817
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4818
|
-
*/
|
|
4780
|
+
/** Get replies to a comment. */
|
|
4819
4781
|
replies(code: string, commentId: string, options?: {
|
|
4820
4782
|
amount?: number;
|
|
4821
4783
|
cursor?: string;
|
|
4822
4784
|
}): Promise<Paginated<Comment$1>>;
|
|
4823
|
-
/**
|
|
4824
|
-
* Get the users who liked a comment.
|
|
4825
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4826
|
-
*/
|
|
4785
|
+
/** Get the users who liked a comment. */
|
|
4827
4786
|
commentLikers(code: string, commentId: string): Promise<Paginated<UserShort>>;
|
|
4828
4787
|
}
|
|
4829
4788
|
|
|
@@ -4852,40 +4811,19 @@ declare class MediaClient$3 {
|
|
|
4852
4811
|
declare class SearchClient$f {
|
|
4853
4812
|
private readonly client;
|
|
4854
4813
|
constructor(client: BaseClient);
|
|
4855
|
-
/**
|
|
4856
|
-
* Search accounts by name/username.
|
|
4857
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4858
|
-
*/
|
|
4814
|
+
/** Search accounts by name/username. */
|
|
4859
4815
|
users(query: string): Promise<Paginated<UserShort>>;
|
|
4860
|
-
/**
|
|
4861
|
-
* Search hashtags.
|
|
4862
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4863
|
-
*/
|
|
4816
|
+
/** Search hashtags. */
|
|
4864
4817
|
hashtags(query: string): Promise<Paginated<Hashtag>>;
|
|
4865
|
-
/**
|
|
4866
|
-
* Search places/locations.
|
|
4867
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4868
|
-
*/
|
|
4818
|
+
/** Search places/locations (global ranking). */
|
|
4869
4819
|
places(query: string): Promise<Paginated<Location$2>>;
|
|
4870
|
-
/**
|
|
4871
|
-
* Search reels.
|
|
4872
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4873
|
-
*/
|
|
4820
|
+
/** Search reels. */
|
|
4874
4821
|
reels(query: string): Promise<Paginated<Media>>;
|
|
4875
|
-
/**
|
|
4876
|
-
* Search music/audio tracks.
|
|
4877
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4878
|
-
*/
|
|
4822
|
+
/** Search music/audio tracks. */
|
|
4879
4823
|
music(query: string): Promise<Paginated<Audio>>;
|
|
4880
|
-
/**
|
|
4881
|
-
* Get blended "top" results (users, hashtags, and places).
|
|
4882
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4883
|
-
*/
|
|
4824
|
+
/** Get blended "top" results (users, hashtags, and places). */
|
|
4884
4825
|
top(query: string): Promise<SearchTopResponse>;
|
|
4885
|
-
/**
|
|
4886
|
-
* Get typeahead/autocomplete suggestions (mixed entity types).
|
|
4887
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4888
|
-
*/
|
|
4826
|
+
/** Get typeahead/autocomplete suggestions (mixed entity types). */
|
|
4889
4827
|
autocomplete(query: string): Promise<SearchTopResponse>;
|
|
4890
4828
|
}
|
|
4891
4829
|
|
|
@@ -4900,31 +4838,19 @@ declare class SearchClient$f {
|
|
|
4900
4838
|
declare class HashtagsClient$1 {
|
|
4901
4839
|
private readonly client;
|
|
4902
4840
|
constructor(client: BaseClient);
|
|
4903
|
-
/**
|
|
4904
|
-
* Get a hashtag's info (media count, cover).
|
|
4905
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4906
|
-
*/
|
|
4841
|
+
/** Get a hashtag's info (media count, cover). */
|
|
4907
4842
|
get(tag: string): Promise<Hashtag>;
|
|
4908
|
-
/**
|
|
4909
|
-
* Get the top/popular media for a hashtag.
|
|
4910
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4911
|
-
*/
|
|
4843
|
+
/** Get the top/popular media for a hashtag. */
|
|
4912
4844
|
top(tag: string, options?: {
|
|
4913
4845
|
amount?: number;
|
|
4914
4846
|
cursor?: string;
|
|
4915
4847
|
}): Promise<Paginated<Media>>;
|
|
4916
|
-
/**
|
|
4917
|
-
* Get the most recent media for a hashtag.
|
|
4918
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4919
|
-
*/
|
|
4848
|
+
/** Get the most recent media for a hashtag. */
|
|
4920
4849
|
recent(tag: string, options?: {
|
|
4921
4850
|
amount?: number;
|
|
4922
4851
|
cursor?: string;
|
|
4923
4852
|
}): Promise<Paginated<Media>>;
|
|
4924
|
-
/**
|
|
4925
|
-
* Get reels for a hashtag.
|
|
4926
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4927
|
-
*/
|
|
4853
|
+
/** Get reels for a hashtag. */
|
|
4928
4854
|
reels(tag: string, options?: {
|
|
4929
4855
|
amount?: number;
|
|
4930
4856
|
cursor?: string;
|
|
@@ -4934,54 +4860,33 @@ declare class HashtagsClient$1 {
|
|
|
4934
4860
|
declare class LocationsClient {
|
|
4935
4861
|
private readonly client;
|
|
4936
4862
|
constructor(client: BaseClient);
|
|
4937
|
-
/**
|
|
4938
|
-
* Get a location's info.
|
|
4939
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4940
|
-
*/
|
|
4863
|
+
/** Get a location's info. */
|
|
4941
4864
|
get(pk: string): Promise<Location$2>;
|
|
4942
|
-
/**
|
|
4943
|
-
* Get the top/popular media for a location.
|
|
4944
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4945
|
-
*/
|
|
4865
|
+
/** Get the top/popular media for a location. */
|
|
4946
4866
|
top(pk: string, options?: {
|
|
4947
4867
|
amount?: number;
|
|
4948
4868
|
cursor?: string;
|
|
4949
4869
|
}): Promise<Paginated<Media>>;
|
|
4950
|
-
/**
|
|
4951
|
-
* Get the most recent media for a location.
|
|
4952
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4953
|
-
*/
|
|
4870
|
+
/** Get the most recent media for a location. */
|
|
4954
4871
|
recent(pk: string, options?: {
|
|
4955
4872
|
amount?: number;
|
|
4956
4873
|
cursor?: string;
|
|
4957
4874
|
}): Promise<Paginated<Media>>;
|
|
4958
|
-
/**
|
|
4959
|
-
* Search locations by name.
|
|
4960
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4961
|
-
*/
|
|
4875
|
+
/** Search locations by name. */
|
|
4962
4876
|
search(query: string): Promise<Paginated<Location$2>>;
|
|
4963
4877
|
}
|
|
4964
4878
|
/** Client for Instagram audio/music endpoints. */
|
|
4965
4879
|
declare class AudioClient {
|
|
4966
4880
|
private readonly client;
|
|
4967
4881
|
constructor(client: BaseClient);
|
|
4968
|
-
/**
|
|
4969
|
-
* Get an audio track's info.
|
|
4970
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4971
|
-
*/
|
|
4882
|
+
/** Get an audio track's info. */
|
|
4972
4883
|
get(audioId: string): Promise<Audio>;
|
|
4973
|
-
/**
|
|
4974
|
-
* Get media that use an audio track.
|
|
4975
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4976
|
-
*/
|
|
4884
|
+
/** Get media that use an audio track. */
|
|
4977
4885
|
media(audioId: string, options?: {
|
|
4978
4886
|
amount?: number;
|
|
4979
4887
|
cursor?: string;
|
|
4980
4888
|
}): Promise<Paginated<Media>>;
|
|
4981
|
-
/**
|
|
4982
|
-
* Get currently-trending audio tracks.
|
|
4983
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4984
|
-
*/
|
|
4889
|
+
/** Get currently-trending audio tracks. */
|
|
4985
4890
|
trending(): Promise<Paginated<Audio>>;
|
|
4986
4891
|
}
|
|
4987
4892
|
|
package/dist/index.d.ts
CHANGED
|
@@ -4677,15 +4677,9 @@ declare class UsersClient$1 {
|
|
|
4677
4677
|
constructor(client: BaseClient);
|
|
4678
4678
|
/** Get a user's full profile. */
|
|
4679
4679
|
get(username: string): Promise<User>;
|
|
4680
|
-
/**
|
|
4681
|
-
* Get "About this account" metadata for a user.
|
|
4682
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4683
|
-
*/
|
|
4680
|
+
/** Get "About this account" metadata for a user. */
|
|
4684
4681
|
about(username: string): Promise<UserAbout>;
|
|
4685
|
-
/**
|
|
4686
|
-
* Get accounts related/suggested for a user.
|
|
4687
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4688
|
-
*/
|
|
4682
|
+
/** Get accounts related/suggested for a user. */
|
|
4689
4683
|
related(username: string): Promise<Paginated<UserShort>>;
|
|
4690
4684
|
/** Get a user's timeline posts. */
|
|
4691
4685
|
posts(username: string, options?: {
|
|
@@ -4693,37 +4687,26 @@ declare class UsersClient$1 {
|
|
|
4693
4687
|
cursor?: string;
|
|
4694
4688
|
}): Promise<Paginated<Media>>;
|
|
4695
4689
|
/**
|
|
4696
|
-
* Get a user's video posts
|
|
4697
|
-
*
|
|
4690
|
+
* Get a user's video posts from their feed. A page may hold slightly more than
|
|
4691
|
+
* `amount` items; pass `next_cursor` back as `cursor` to continue the feed.
|
|
4698
4692
|
*/
|
|
4699
4693
|
videos(username: string, options?: {
|
|
4700
4694
|
amount?: number;
|
|
4701
4695
|
cursor?: string;
|
|
4702
4696
|
}): Promise<Paginated<Media>>;
|
|
4703
|
-
/**
|
|
4704
|
-
* Get a user's reels.
|
|
4705
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4706
|
-
*/
|
|
4697
|
+
/** Get a user's reels. */
|
|
4707
4698
|
reels(username: string, options?: {
|
|
4708
4699
|
amount?: number;
|
|
4709
4700
|
cursor?: string;
|
|
4710
4701
|
}): Promise<Paginated<Media>>;
|
|
4711
|
-
/**
|
|
4712
|
-
* Get media a user is tagged in.
|
|
4713
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4714
|
-
*/
|
|
4702
|
+
/** Get media a user is tagged in. */
|
|
4715
4703
|
tagged(username: string, options?: {
|
|
4716
4704
|
amount?: number;
|
|
4717
4705
|
cursor?: string;
|
|
4718
4706
|
}): Promise<Paginated<Media>>;
|
|
4719
|
-
/**
|
|
4720
|
-
* Get a user's pinned posts.
|
|
4721
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4722
|
-
*/
|
|
4707
|
+
/** Get a user's pinned posts. */
|
|
4723
4708
|
pinned(username: string): Promise<Paginated<Media>>;
|
|
4724
4709
|
/**
|
|
4725
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4726
|
-
*
|
|
4727
4710
|
* Get a user's followers.
|
|
4728
4711
|
*
|
|
4729
4712
|
* @param username - Instagram username.
|
|
@@ -4736,31 +4719,19 @@ declare class UsersClient$1 {
|
|
|
4736
4719
|
cursor?: string;
|
|
4737
4720
|
order?: string;
|
|
4738
4721
|
}): Promise<Paginated<UserShort>>;
|
|
4739
|
-
/**
|
|
4740
|
-
* Get the accounts a user follows.
|
|
4741
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4742
|
-
*/
|
|
4722
|
+
/** Get the accounts a user follows. */
|
|
4743
4723
|
following(username: string, options?: {
|
|
4744
4724
|
amount?: number;
|
|
4745
4725
|
cursor?: string;
|
|
4746
4726
|
}): Promise<Paginated<UserShort>>;
|
|
4747
|
-
/**
|
|
4748
|
-
* Search within a user's followers by name/username.
|
|
4749
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4750
|
-
*/
|
|
4727
|
+
/** Search within a user's followers by name/username. */
|
|
4751
4728
|
searchFollowers(username: string, query: string, options?: {
|
|
4752
4729
|
amount?: number;
|
|
4753
4730
|
cursor?: string;
|
|
4754
4731
|
}): Promise<Paginated<UserShort>>;
|
|
4755
|
-
/**
|
|
4756
|
-
* Get a user's currently-live stories.
|
|
4757
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4758
|
-
*/
|
|
4732
|
+
/** Get a user's currently-live stories. */
|
|
4759
4733
|
stories(username: string): Promise<Paginated<Media>>;
|
|
4760
|
-
/**
|
|
4761
|
-
* Get a user's story highlights.
|
|
4762
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4763
|
-
*/
|
|
4734
|
+
/** Get a user's story highlights. */
|
|
4764
4735
|
highlights(username: string): Promise<Paginated<Highlight>>;
|
|
4765
4736
|
private media;
|
|
4766
4737
|
}
|
|
@@ -4797,33 +4768,21 @@ declare class MediaClient$3 {
|
|
|
4797
4768
|
* @param code - The media shortcode (from the `/p/<code>/` URL).
|
|
4798
4769
|
*/
|
|
4799
4770
|
get(code: string): Promise<Media>;
|
|
4800
|
-
/**
|
|
4801
|
-
* Get oEmbed metadata for a media permalink.
|
|
4802
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4803
|
-
*/
|
|
4771
|
+
/** Get oEmbed metadata for a media permalink. */
|
|
4804
4772
|
oembed(code: string): Promise<Oembed>;
|
|
4805
4773
|
/** Get top-level comments on a media. */
|
|
4806
4774
|
comments(code: string, options?: {
|
|
4807
4775
|
amount?: number;
|
|
4808
4776
|
cursor?: string;
|
|
4809
4777
|
}): Promise<Paginated<Comment$1>>;
|
|
4810
|
-
/**
|
|
4811
|
-
* Get the users who liked a media.
|
|
4812
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4813
|
-
*/
|
|
4778
|
+
/** Get the users who liked a media. */
|
|
4814
4779
|
likers(code: string): Promise<Paginated<UserShort>>;
|
|
4815
|
-
/**
|
|
4816
|
-
* Get replies to a comment.
|
|
4817
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4818
|
-
*/
|
|
4780
|
+
/** Get replies to a comment. */
|
|
4819
4781
|
replies(code: string, commentId: string, options?: {
|
|
4820
4782
|
amount?: number;
|
|
4821
4783
|
cursor?: string;
|
|
4822
4784
|
}): Promise<Paginated<Comment$1>>;
|
|
4823
|
-
/**
|
|
4824
|
-
* Get the users who liked a comment.
|
|
4825
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4826
|
-
*/
|
|
4785
|
+
/** Get the users who liked a comment. */
|
|
4827
4786
|
commentLikers(code: string, commentId: string): Promise<Paginated<UserShort>>;
|
|
4828
4787
|
}
|
|
4829
4788
|
|
|
@@ -4852,40 +4811,19 @@ declare class MediaClient$3 {
|
|
|
4852
4811
|
declare class SearchClient$f {
|
|
4853
4812
|
private readonly client;
|
|
4854
4813
|
constructor(client: BaseClient);
|
|
4855
|
-
/**
|
|
4856
|
-
* Search accounts by name/username.
|
|
4857
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4858
|
-
*/
|
|
4814
|
+
/** Search accounts by name/username. */
|
|
4859
4815
|
users(query: string): Promise<Paginated<UserShort>>;
|
|
4860
|
-
/**
|
|
4861
|
-
* Search hashtags.
|
|
4862
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4863
|
-
*/
|
|
4816
|
+
/** Search hashtags. */
|
|
4864
4817
|
hashtags(query: string): Promise<Paginated<Hashtag>>;
|
|
4865
|
-
/**
|
|
4866
|
-
* Search places/locations.
|
|
4867
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4868
|
-
*/
|
|
4818
|
+
/** Search places/locations (global ranking). */
|
|
4869
4819
|
places(query: string): Promise<Paginated<Location$2>>;
|
|
4870
|
-
/**
|
|
4871
|
-
* Search reels.
|
|
4872
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4873
|
-
*/
|
|
4820
|
+
/** Search reels. */
|
|
4874
4821
|
reels(query: string): Promise<Paginated<Media>>;
|
|
4875
|
-
/**
|
|
4876
|
-
* Search music/audio tracks.
|
|
4877
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4878
|
-
*/
|
|
4822
|
+
/** Search music/audio tracks. */
|
|
4879
4823
|
music(query: string): Promise<Paginated<Audio>>;
|
|
4880
|
-
/**
|
|
4881
|
-
* Get blended "top" results (users, hashtags, and places).
|
|
4882
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4883
|
-
*/
|
|
4824
|
+
/** Get blended "top" results (users, hashtags, and places). */
|
|
4884
4825
|
top(query: string): Promise<SearchTopResponse>;
|
|
4885
|
-
/**
|
|
4886
|
-
* Get typeahead/autocomplete suggestions (mixed entity types).
|
|
4887
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4888
|
-
*/
|
|
4826
|
+
/** Get typeahead/autocomplete suggestions (mixed entity types). */
|
|
4889
4827
|
autocomplete(query: string): Promise<SearchTopResponse>;
|
|
4890
4828
|
}
|
|
4891
4829
|
|
|
@@ -4900,31 +4838,19 @@ declare class SearchClient$f {
|
|
|
4900
4838
|
declare class HashtagsClient$1 {
|
|
4901
4839
|
private readonly client;
|
|
4902
4840
|
constructor(client: BaseClient);
|
|
4903
|
-
/**
|
|
4904
|
-
* Get a hashtag's info (media count, cover).
|
|
4905
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4906
|
-
*/
|
|
4841
|
+
/** Get a hashtag's info (media count, cover). */
|
|
4907
4842
|
get(tag: string): Promise<Hashtag>;
|
|
4908
|
-
/**
|
|
4909
|
-
* Get the top/popular media for a hashtag.
|
|
4910
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4911
|
-
*/
|
|
4843
|
+
/** Get the top/popular media for a hashtag. */
|
|
4912
4844
|
top(tag: string, options?: {
|
|
4913
4845
|
amount?: number;
|
|
4914
4846
|
cursor?: string;
|
|
4915
4847
|
}): Promise<Paginated<Media>>;
|
|
4916
|
-
/**
|
|
4917
|
-
* Get the most recent media for a hashtag.
|
|
4918
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4919
|
-
*/
|
|
4848
|
+
/** Get the most recent media for a hashtag. */
|
|
4920
4849
|
recent(tag: string, options?: {
|
|
4921
4850
|
amount?: number;
|
|
4922
4851
|
cursor?: string;
|
|
4923
4852
|
}): Promise<Paginated<Media>>;
|
|
4924
|
-
/**
|
|
4925
|
-
* Get reels for a hashtag.
|
|
4926
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4927
|
-
*/
|
|
4853
|
+
/** Get reels for a hashtag. */
|
|
4928
4854
|
reels(tag: string, options?: {
|
|
4929
4855
|
amount?: number;
|
|
4930
4856
|
cursor?: string;
|
|
@@ -4934,54 +4860,33 @@ declare class HashtagsClient$1 {
|
|
|
4934
4860
|
declare class LocationsClient {
|
|
4935
4861
|
private readonly client;
|
|
4936
4862
|
constructor(client: BaseClient);
|
|
4937
|
-
/**
|
|
4938
|
-
* Get a location's info.
|
|
4939
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4940
|
-
*/
|
|
4863
|
+
/** Get a location's info. */
|
|
4941
4864
|
get(pk: string): Promise<Location$2>;
|
|
4942
|
-
/**
|
|
4943
|
-
* Get the top/popular media for a location.
|
|
4944
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4945
|
-
*/
|
|
4865
|
+
/** Get the top/popular media for a location. */
|
|
4946
4866
|
top(pk: string, options?: {
|
|
4947
4867
|
amount?: number;
|
|
4948
4868
|
cursor?: string;
|
|
4949
4869
|
}): Promise<Paginated<Media>>;
|
|
4950
|
-
/**
|
|
4951
|
-
* Get the most recent media for a location.
|
|
4952
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4953
|
-
*/
|
|
4870
|
+
/** Get the most recent media for a location. */
|
|
4954
4871
|
recent(pk: string, options?: {
|
|
4955
4872
|
amount?: number;
|
|
4956
4873
|
cursor?: string;
|
|
4957
4874
|
}): Promise<Paginated<Media>>;
|
|
4958
|
-
/**
|
|
4959
|
-
* Search locations by name.
|
|
4960
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4961
|
-
*/
|
|
4875
|
+
/** Search locations by name. */
|
|
4962
4876
|
search(query: string): Promise<Paginated<Location$2>>;
|
|
4963
4877
|
}
|
|
4964
4878
|
/** Client for Instagram audio/music endpoints. */
|
|
4965
4879
|
declare class AudioClient {
|
|
4966
4880
|
private readonly client;
|
|
4967
4881
|
constructor(client: BaseClient);
|
|
4968
|
-
/**
|
|
4969
|
-
* Get an audio track's info.
|
|
4970
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4971
|
-
*/
|
|
4882
|
+
/** Get an audio track's info. */
|
|
4972
4883
|
get(audioId: string): Promise<Audio>;
|
|
4973
|
-
/**
|
|
4974
|
-
* Get media that use an audio track.
|
|
4975
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4976
|
-
*/
|
|
4884
|
+
/** Get media that use an audio track. */
|
|
4977
4885
|
media(audioId: string, options?: {
|
|
4978
4886
|
amount?: number;
|
|
4979
4887
|
cursor?: string;
|
|
4980
4888
|
}): Promise<Paginated<Media>>;
|
|
4981
|
-
/**
|
|
4982
|
-
* Get currently-trending audio tracks.
|
|
4983
|
-
* @deprecated Temporarily unavailable — authenticated data is temporarily offline.
|
|
4984
|
-
*/
|
|
4889
|
+
/** Get currently-trending audio tracks. */
|
|
4985
4890
|
trending(): Promise<Paginated<Audio>>;
|
|
4986
4891
|
}
|
|
4987
4892
|
|