@getanyapi/sdk 0.40.0 → 0.40.2
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 +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -13483,7 +13483,7 @@ declare class GeminiNamespace {
|
|
|
13483
13483
|
*
|
|
13484
13484
|
* Ask Gemini a web-grounded question and receive an answer with source citations.
|
|
13485
13485
|
*
|
|
13486
|
-
* Price: $0.
|
|
13486
|
+
* Price: $0.0048 per request.
|
|
13487
13487
|
*
|
|
13488
13488
|
* @example
|
|
13489
13489
|
* const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -18770,7 +18770,7 @@ declare class InstagramNamespace {
|
|
|
18770
18770
|
*
|
|
18771
18771
|
* List the comments on an Instagram post or reel by URL with cursor pagination (text, author, likes).
|
|
18772
18772
|
*
|
|
18773
|
-
* Price: $0.
|
|
18773
|
+
* Price: $0.0008 per request.
|
|
18774
18774
|
*
|
|
18775
18775
|
* @example
|
|
18776
18776
|
* const res = await client.instagram.postComments({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
|
|
@@ -18974,7 +18974,7 @@ declare class InstagramNamespace {
|
|
|
18974
18974
|
*
|
|
18975
18975
|
* List an Instagram account's recent posts (likes, comments, captions) by handle with cursor pagination.
|
|
18976
18976
|
*
|
|
18977
|
-
* Price: $0.
|
|
18977
|
+
* Price: $0.00095 per request.
|
|
18978
18978
|
*
|
|
18979
18979
|
* @example
|
|
18980
18980
|
* const res = await client.instagram.userPosts({ handle: "nasa" });
|
|
@@ -18992,7 +18992,7 @@ declare class InstagramNamespace {
|
|
|
18992
18992
|
*
|
|
18993
18993
|
* List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
|
|
18994
18994
|
*
|
|
18995
|
-
* Price: $0.
|
|
18995
|
+
* Price: $0.00095 per request.
|
|
18996
18996
|
*
|
|
18997
18997
|
* @example
|
|
18998
18998
|
* const res = await client.instagram.userReels({ handle: "nasa" });
|
|
@@ -38621,7 +38621,7 @@ declare class TiktokNamespace {
|
|
|
38621
38621
|
*
|
|
38622
38622
|
* Fetch a TikTok creator's public profile (followers, likes, bio, verification) by handle.
|
|
38623
38623
|
*
|
|
38624
|
-
* Price: $0.
|
|
38624
|
+
* Price: $0.0012 per request.
|
|
38625
38625
|
*
|
|
38626
38626
|
* @example
|
|
38627
38627
|
* const res = await client.tiktok.profile({ handle: "zachking" });
|
|
@@ -38817,7 +38817,7 @@ declare class TiktokNamespace {
|
|
|
38817
38817
|
*
|
|
38818
38818
|
* List the comments on a TikTok video by URL with cursor pagination (text, author, likes, reply count).
|
|
38819
38819
|
*
|
|
38820
|
-
* Price: $0.
|
|
38820
|
+
* Price: $0.0012 per request.
|
|
38821
38821
|
*
|
|
38822
38822
|
* @example
|
|
38823
38823
|
* const res = await client.tiktok.videoComments({ url: "https://www.tiktok.com/@zachking/video/7650468599424945422?_r=1&u_code=f0hj7d780760m9&preview_pb=0&sharer_language=en&_d=f0hj7blh067h71&share_item_id=7650468599424945422&source=h5_m" });
|
package/dist/index.d.ts
CHANGED
|
@@ -13483,7 +13483,7 @@ declare class GeminiNamespace {
|
|
|
13483
13483
|
*
|
|
13484
13484
|
* Ask Gemini a web-grounded question and receive an answer with source citations.
|
|
13485
13485
|
*
|
|
13486
|
-
* Price: $0.
|
|
13486
|
+
* Price: $0.0048 per request.
|
|
13487
13487
|
*
|
|
13488
13488
|
* @example
|
|
13489
13489
|
* const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -18770,7 +18770,7 @@ declare class InstagramNamespace {
|
|
|
18770
18770
|
*
|
|
18771
18771
|
* List the comments on an Instagram post or reel by URL with cursor pagination (text, author, likes).
|
|
18772
18772
|
*
|
|
18773
|
-
* Price: $0.
|
|
18773
|
+
* Price: $0.0008 per request.
|
|
18774
18774
|
*
|
|
18775
18775
|
* @example
|
|
18776
18776
|
* const res = await client.instagram.postComments({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
|
|
@@ -18974,7 +18974,7 @@ declare class InstagramNamespace {
|
|
|
18974
18974
|
*
|
|
18975
18975
|
* List an Instagram account's recent posts (likes, comments, captions) by handle with cursor pagination.
|
|
18976
18976
|
*
|
|
18977
|
-
* Price: $0.
|
|
18977
|
+
* Price: $0.00095 per request.
|
|
18978
18978
|
*
|
|
18979
18979
|
* @example
|
|
18980
18980
|
* const res = await client.instagram.userPosts({ handle: "nasa" });
|
|
@@ -18992,7 +18992,7 @@ declare class InstagramNamespace {
|
|
|
18992
18992
|
*
|
|
18993
18993
|
* List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
|
|
18994
18994
|
*
|
|
18995
|
-
* Price: $0.
|
|
18995
|
+
* Price: $0.00095 per request.
|
|
18996
18996
|
*
|
|
18997
18997
|
* @example
|
|
18998
18998
|
* const res = await client.instagram.userReels({ handle: "nasa" });
|
|
@@ -38621,7 +38621,7 @@ declare class TiktokNamespace {
|
|
|
38621
38621
|
*
|
|
38622
38622
|
* Fetch a TikTok creator's public profile (followers, likes, bio, verification) by handle.
|
|
38623
38623
|
*
|
|
38624
|
-
* Price: $0.
|
|
38624
|
+
* Price: $0.0012 per request.
|
|
38625
38625
|
*
|
|
38626
38626
|
* @example
|
|
38627
38627
|
* const res = await client.tiktok.profile({ handle: "zachking" });
|
|
@@ -38817,7 +38817,7 @@ declare class TiktokNamespace {
|
|
|
38817
38817
|
*
|
|
38818
38818
|
* List the comments on a TikTok video by URL with cursor pagination (text, author, likes, reply count).
|
|
38819
38819
|
*
|
|
38820
|
-
* Price: $0.
|
|
38820
|
+
* Price: $0.0012 per request.
|
|
38821
38821
|
*
|
|
38822
38822
|
* @example
|
|
38823
38823
|
* const res = await client.tiktok.videoComments({ url: "https://www.tiktok.com/@zachking/video/7650468599424945422?_r=1&u_code=f0hj7d780760m9&preview_pb=0&sharer_language=en&_d=f0hj7blh067h71&share_item_id=7650468599424945422&source=h5_m" });
|
package/dist/index.js
CHANGED
|
@@ -2649,7 +2649,7 @@ var GeminiNamespace = class {
|
|
|
2649
2649
|
*
|
|
2650
2650
|
* Ask Gemini a web-grounded question and receive an answer with source citations.
|
|
2651
2651
|
*
|
|
2652
|
-
* Price: $0.
|
|
2652
|
+
* Price: $0.0048 per request.
|
|
2653
2653
|
*
|
|
2654
2654
|
* @example
|
|
2655
2655
|
* const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -3556,7 +3556,7 @@ var InstagramNamespace = class {
|
|
|
3556
3556
|
*
|
|
3557
3557
|
* List the comments on an Instagram post or reel by URL with cursor pagination (text, author, likes).
|
|
3558
3558
|
*
|
|
3559
|
-
* Price: $0.
|
|
3559
|
+
* Price: $0.0008 per request.
|
|
3560
3560
|
*
|
|
3561
3561
|
* @example
|
|
3562
3562
|
* const res = await client.instagram.postComments({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
|
|
@@ -3828,7 +3828,7 @@ var InstagramNamespace = class {
|
|
|
3828
3828
|
*
|
|
3829
3829
|
* List an Instagram account's recent posts (likes, comments, captions) by handle with cursor pagination.
|
|
3830
3830
|
*
|
|
3831
|
-
* Price: $0.
|
|
3831
|
+
* Price: $0.00095 per request.
|
|
3832
3832
|
*
|
|
3833
3833
|
* @example
|
|
3834
3834
|
* const res = await client.instagram.userPosts({ handle: "nasa" });
|
|
@@ -3857,7 +3857,7 @@ var InstagramNamespace = class {
|
|
|
3857
3857
|
*
|
|
3858
3858
|
* List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
|
|
3859
3859
|
*
|
|
3860
|
-
* Price: $0.
|
|
3860
|
+
* Price: $0.00095 per request.
|
|
3861
3861
|
*
|
|
3862
3862
|
* @example
|
|
3863
3863
|
* const res = await client.instagram.userReels({ handle: "nasa" });
|
|
@@ -5989,7 +5989,7 @@ var TiktokNamespace = class {
|
|
|
5989
5989
|
*
|
|
5990
5990
|
* Fetch a TikTok creator's public profile (followers, likes, bio, verification) by handle.
|
|
5991
5991
|
*
|
|
5992
|
-
* Price: $0.
|
|
5992
|
+
* Price: $0.0012 per request.
|
|
5993
5993
|
*
|
|
5994
5994
|
* @example
|
|
5995
5995
|
* const res = await client.tiktok.profile({ handle: "zachking" });
|
|
@@ -6267,7 +6267,7 @@ var TiktokNamespace = class {
|
|
|
6267
6267
|
*
|
|
6268
6268
|
* List the comments on a TikTok video by URL with cursor pagination (text, author, likes, reply count).
|
|
6269
6269
|
*
|
|
6270
|
-
* Price: $0.
|
|
6270
|
+
* Price: $0.0012 per request.
|
|
6271
6271
|
*
|
|
6272
6272
|
* @example
|
|
6273
6273
|
* const res = await client.tiktok.videoComments({ url: "https://www.tiktok.com/@zachking/video/7650468599424945422?_r=1&u_code=f0hj7d780760m9&preview_pb=0&sharer_language=en&_d=f0hj7blh067h71&share_item_id=7650468599424945422&source=h5_m" });
|