@getanyapi/sdk 0.13.3 → 0.14.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.cjs +74 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +173 -1
- package/dist/index.d.ts +173 -1
- package/dist/index.js +74 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2643,6 +2643,35 @@ var InstagramNamespace = class {
|
|
|
2643
2643
|
basicProfile(input, options) {
|
|
2644
2644
|
return this._core.run("instagram.basic_profile", input, options);
|
|
2645
2645
|
}
|
|
2646
|
+
/**
|
|
2647
|
+
* Instagram Comment Replies
|
|
2648
|
+
*
|
|
2649
|
+
* List the replies to an Instagram comment with cursor pagination (text, author, likes).
|
|
2650
|
+
*
|
|
2651
|
+
* Price: $0.002 per request.
|
|
2652
|
+
*
|
|
2653
|
+
* @example
|
|
2654
|
+
* const res = await client.instagram.commentReplies({ commentId: "18126632131325044", url: "https://www.instagram.com/p/C8rKmYvsrck/" });
|
|
2655
|
+
*/
|
|
2656
|
+
commentReplies(input, options) {
|
|
2657
|
+
return this._core.run("instagram.comment_replies", input, options);
|
|
2658
|
+
}
|
|
2659
|
+
/**
|
|
2660
|
+
* Iterate every result of Instagram Comment Replies across pages.
|
|
2661
|
+
*
|
|
2662
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
2663
|
+
* result pages instead (each carries its own costUsd).
|
|
2664
|
+
*/
|
|
2665
|
+
iterCommentReplies(input, options) {
|
|
2666
|
+
return paginate(
|
|
2667
|
+
this._core,
|
|
2668
|
+
"instagram.comment_replies",
|
|
2669
|
+
input,
|
|
2670
|
+
"comments",
|
|
2671
|
+
false,
|
|
2672
|
+
options
|
|
2673
|
+
);
|
|
2674
|
+
}
|
|
2646
2675
|
/**
|
|
2647
2676
|
* Instagram Profile Embed
|
|
2648
2677
|
*
|
|
@@ -2779,6 +2808,22 @@ var InstagramNamespace = class {
|
|
|
2779
2808
|
postComments(input, options) {
|
|
2780
2809
|
return this._core.run("instagram.post_comments", input, options);
|
|
2781
2810
|
}
|
|
2811
|
+
/**
|
|
2812
|
+
* Iterate every result of Instagram Post Comments across pages.
|
|
2813
|
+
*
|
|
2814
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
2815
|
+
* result pages instead (each carries its own costUsd).
|
|
2816
|
+
*/
|
|
2817
|
+
iterPostComments(input, options) {
|
|
2818
|
+
return paginate(
|
|
2819
|
+
this._core,
|
|
2820
|
+
"instagram.post_comments",
|
|
2821
|
+
input,
|
|
2822
|
+
"comments",
|
|
2823
|
+
false,
|
|
2824
|
+
options
|
|
2825
|
+
);
|
|
2826
|
+
}
|
|
2782
2827
|
/**
|
|
2783
2828
|
* Instagram Profile
|
|
2784
2829
|
*
|
|
@@ -2899,6 +2944,35 @@ var InstagramNamespace = class {
|
|
|
2899
2944
|
storiesThin(input, options) {
|
|
2900
2945
|
return this._core.run("instagram.stories_thin", input, options);
|
|
2901
2946
|
}
|
|
2947
|
+
/**
|
|
2948
|
+
* Instagram Tagged Posts
|
|
2949
|
+
*
|
|
2950
|
+
* List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).
|
|
2951
|
+
*
|
|
2952
|
+
* Price: $0.0024 per request.
|
|
2953
|
+
*
|
|
2954
|
+
* @example
|
|
2955
|
+
* const res = await client.instagram.taggedPosts({ handle: "nasa" });
|
|
2956
|
+
*/
|
|
2957
|
+
taggedPosts(input, options) {
|
|
2958
|
+
return this._core.run("instagram.tagged_posts", input, options);
|
|
2959
|
+
}
|
|
2960
|
+
/**
|
|
2961
|
+
* Iterate every result of Instagram Tagged Posts across pages.
|
|
2962
|
+
*
|
|
2963
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
2964
|
+
* result pages instead (each carries its own costUsd).
|
|
2965
|
+
*/
|
|
2966
|
+
iterTaggedPosts(input, options) {
|
|
2967
|
+
return paginate(
|
|
2968
|
+
this._core,
|
|
2969
|
+
"instagram.tagged_posts",
|
|
2970
|
+
input,
|
|
2971
|
+
"posts",
|
|
2972
|
+
false,
|
|
2973
|
+
options
|
|
2974
|
+
);
|
|
2975
|
+
}
|
|
2902
2976
|
/**
|
|
2903
2977
|
* Instagram Trending Reels
|
|
2904
2978
|
*
|