@getanyapi/sdk 0.34.1 → 0.34.3
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 +10 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -41537,7 +41537,7 @@ declare class TwitterNamespace {
|
|
|
41537
41537
|
*
|
|
41538
41538
|
* List recent tweets posted in a Twitter/X community by URL.
|
|
41539
41539
|
*
|
|
41540
|
-
* Price: $0.
|
|
41540
|
+
* Price: $0.0005 per request.
|
|
41541
41541
|
*
|
|
41542
41542
|
* @example
|
|
41543
41543
|
* const res = await client.twitter.communityTweets({ url: "https://x.com/i/communities/1926186499399139650" });
|
|
@@ -41584,7 +41584,7 @@ declare class TwitterNamespace {
|
|
|
41584
41584
|
*
|
|
41585
41585
|
* Fetch a Twitter/X account's public profile (followers, tweets, bio, verification) by handle.
|
|
41586
41586
|
*
|
|
41587
|
-
* Price: $0.
|
|
41587
|
+
* Price: $0.0003 per request.
|
|
41588
41588
|
*
|
|
41589
41589
|
* @example
|
|
41590
41590
|
* const res = await client.twitter.profile({ handle: "nasa" });
|
|
@@ -41595,7 +41595,7 @@ declare class TwitterNamespace {
|
|
|
41595
41595
|
*
|
|
41596
41596
|
* Fetch the replies to any X (Twitter) post URL as structured records: author, text, and engagement. An empty result is valid and does not assert whether the target post exists.
|
|
41597
41597
|
*
|
|
41598
|
-
* Price: $0.
|
|
41598
|
+
* Price: $0.0005 per request.
|
|
41599
41599
|
*
|
|
41600
41600
|
* @example
|
|
41601
41601
|
* const res = await client.twitter.replies({ url: "https://x.com/jack/status/20" });
|
|
@@ -41606,7 +41606,7 @@ declare class TwitterNamespace {
|
|
|
41606
41606
|
*
|
|
41607
41607
|
* Search X (Twitter) with full advanced-search syntax (operators like from:, since:, until:, min_faves: work inline in the query) and get structured tweets with text, author, engagement, and cursor pagination. Limit is a per-page maximum; native pages contain approximately 20 tweets unless requireSinglePage selects a bulk lane.
|
|
41608
41608
|
*
|
|
41609
|
-
* Price: $0.
|
|
41609
|
+
* Price: $0.00065 per request.
|
|
41610
41610
|
*
|
|
41611
41611
|
* @example
|
|
41612
41612
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -41682,7 +41682,7 @@ declare class TwitterNamespace {
|
|
|
41682
41682
|
*
|
|
41683
41683
|
* Fetch a single Twitter/X tweet by URL with its full text and engagement counts (likes, retweets, replies, quotes, bookmarks, views).
|
|
41684
41684
|
*
|
|
41685
|
-
* Price: $0.
|
|
41685
|
+
* Price: $0.0003 per request.
|
|
41686
41686
|
*
|
|
41687
41687
|
* @example
|
|
41688
41688
|
* const res = await client.twitter.tweet({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|
|
@@ -41704,7 +41704,7 @@ declare class TwitterNamespace {
|
|
|
41704
41704
|
*
|
|
41705
41705
|
* Get an X (Twitter) account's profile Posts-tab timeline by handle. Results follow profile order: a pinned post may appear first, followed by otherwise reverse-chronological authored posts, reposts, quotes, and self-thread continuations.
|
|
41706
41706
|
*
|
|
41707
|
-
* Price: $0.
|
|
41707
|
+
* Price: $0.0005 per request.
|
|
41708
41708
|
*
|
|
41709
41709
|
* @example
|
|
41710
41710
|
* const res = await client.twitter.userPosts({ handle: "levelsio" });
|
|
@@ -41722,7 +41722,7 @@ declare class TwitterNamespace {
|
|
|
41722
41722
|
*
|
|
41723
41723
|
* Get up to the requested limit of tweets and replies authored by an X (Twitter) account, with engagement, views, language, and cursor pagination where available.
|
|
41724
41724
|
*
|
|
41725
|
-
* Price: $0.
|
|
41725
|
+
* Price: $0.0005 per request.
|
|
41726
41726
|
*
|
|
41727
41727
|
* @example
|
|
41728
41728
|
* const res = await client.twitter.userTweets({ handle: "levelsio", limit: 20 });
|
|
@@ -44213,7 +44213,7 @@ declare class YoutubeNamespace {
|
|
|
44213
44213
|
*
|
|
44214
44214
|
* Search YouTube and get matching videos (title, channel, views, length, publish time) as normalized JSON.
|
|
44215
44215
|
*
|
|
44216
|
-
* Price: $0.
|
|
44216
|
+
* Price: $0.0008 per request.
|
|
44217
44217
|
*
|
|
44218
44218
|
* @example
|
|
44219
44219
|
* const res = await client.youtube.search({ query: "how to cook rice" });
|
|
@@ -44260,7 +44260,7 @@ declare class YoutubeNamespace {
|
|
|
44260
44260
|
*
|
|
44261
44261
|
* Fetch a YouTube video's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
44262
44262
|
*
|
|
44263
|
-
* Price: $0.
|
|
44263
|
+
* Price: $0.00125 per request.
|
|
44264
44264
|
*
|
|
44265
44265
|
* @example
|
|
44266
44266
|
* const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
|
@@ -44300,7 +44300,7 @@ declare class YoutubeNamespace {
|
|
|
44300
44300
|
*
|
|
44301
44301
|
* Fetch the transcript/captions of a YouTube video by URL or ID.
|
|
44302
44302
|
*
|
|
44303
|
-
* Price: $0.
|
|
44303
|
+
* Price: $0.00125 per request.
|
|
44304
44304
|
*
|
|
44305
44305
|
* @example
|
|
44306
44306
|
* const res = await client.youtube.videoTranscript({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
package/dist/index.d.ts
CHANGED
|
@@ -41537,7 +41537,7 @@ declare class TwitterNamespace {
|
|
|
41537
41537
|
*
|
|
41538
41538
|
* List recent tweets posted in a Twitter/X community by URL.
|
|
41539
41539
|
*
|
|
41540
|
-
* Price: $0.
|
|
41540
|
+
* Price: $0.0005 per request.
|
|
41541
41541
|
*
|
|
41542
41542
|
* @example
|
|
41543
41543
|
* const res = await client.twitter.communityTweets({ url: "https://x.com/i/communities/1926186499399139650" });
|
|
@@ -41584,7 +41584,7 @@ declare class TwitterNamespace {
|
|
|
41584
41584
|
*
|
|
41585
41585
|
* Fetch a Twitter/X account's public profile (followers, tweets, bio, verification) by handle.
|
|
41586
41586
|
*
|
|
41587
|
-
* Price: $0.
|
|
41587
|
+
* Price: $0.0003 per request.
|
|
41588
41588
|
*
|
|
41589
41589
|
* @example
|
|
41590
41590
|
* const res = await client.twitter.profile({ handle: "nasa" });
|
|
@@ -41595,7 +41595,7 @@ declare class TwitterNamespace {
|
|
|
41595
41595
|
*
|
|
41596
41596
|
* Fetch the replies to any X (Twitter) post URL as structured records: author, text, and engagement. An empty result is valid and does not assert whether the target post exists.
|
|
41597
41597
|
*
|
|
41598
|
-
* Price: $0.
|
|
41598
|
+
* Price: $0.0005 per request.
|
|
41599
41599
|
*
|
|
41600
41600
|
* @example
|
|
41601
41601
|
* const res = await client.twitter.replies({ url: "https://x.com/jack/status/20" });
|
|
@@ -41606,7 +41606,7 @@ declare class TwitterNamespace {
|
|
|
41606
41606
|
*
|
|
41607
41607
|
* Search X (Twitter) with full advanced-search syntax (operators like from:, since:, until:, min_faves: work inline in the query) and get structured tweets with text, author, engagement, and cursor pagination. Limit is a per-page maximum; native pages contain approximately 20 tweets unless requireSinglePage selects a bulk lane.
|
|
41608
41608
|
*
|
|
41609
|
-
* Price: $0.
|
|
41609
|
+
* Price: $0.00065 per request.
|
|
41610
41610
|
*
|
|
41611
41611
|
* @example
|
|
41612
41612
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -41682,7 +41682,7 @@ declare class TwitterNamespace {
|
|
|
41682
41682
|
*
|
|
41683
41683
|
* Fetch a single Twitter/X tweet by URL with its full text and engagement counts (likes, retweets, replies, quotes, bookmarks, views).
|
|
41684
41684
|
*
|
|
41685
|
-
* Price: $0.
|
|
41685
|
+
* Price: $0.0003 per request.
|
|
41686
41686
|
*
|
|
41687
41687
|
* @example
|
|
41688
41688
|
* const res = await client.twitter.tweet({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|
|
@@ -41704,7 +41704,7 @@ declare class TwitterNamespace {
|
|
|
41704
41704
|
*
|
|
41705
41705
|
* Get an X (Twitter) account's profile Posts-tab timeline by handle. Results follow profile order: a pinned post may appear first, followed by otherwise reverse-chronological authored posts, reposts, quotes, and self-thread continuations.
|
|
41706
41706
|
*
|
|
41707
|
-
* Price: $0.
|
|
41707
|
+
* Price: $0.0005 per request.
|
|
41708
41708
|
*
|
|
41709
41709
|
* @example
|
|
41710
41710
|
* const res = await client.twitter.userPosts({ handle: "levelsio" });
|
|
@@ -41722,7 +41722,7 @@ declare class TwitterNamespace {
|
|
|
41722
41722
|
*
|
|
41723
41723
|
* Get up to the requested limit of tweets and replies authored by an X (Twitter) account, with engagement, views, language, and cursor pagination where available.
|
|
41724
41724
|
*
|
|
41725
|
-
* Price: $0.
|
|
41725
|
+
* Price: $0.0005 per request.
|
|
41726
41726
|
*
|
|
41727
41727
|
* @example
|
|
41728
41728
|
* const res = await client.twitter.userTweets({ handle: "levelsio", limit: 20 });
|
|
@@ -44213,7 +44213,7 @@ declare class YoutubeNamespace {
|
|
|
44213
44213
|
*
|
|
44214
44214
|
* Search YouTube and get matching videos (title, channel, views, length, publish time) as normalized JSON.
|
|
44215
44215
|
*
|
|
44216
|
-
* Price: $0.
|
|
44216
|
+
* Price: $0.0008 per request.
|
|
44217
44217
|
*
|
|
44218
44218
|
* @example
|
|
44219
44219
|
* const res = await client.youtube.search({ query: "how to cook rice" });
|
|
@@ -44260,7 +44260,7 @@ declare class YoutubeNamespace {
|
|
|
44260
44260
|
*
|
|
44261
44261
|
* Fetch a YouTube video's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
44262
44262
|
*
|
|
44263
|
-
* Price: $0.
|
|
44263
|
+
* Price: $0.00125 per request.
|
|
44264
44264
|
*
|
|
44265
44265
|
* @example
|
|
44266
44266
|
* const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
|
@@ -44300,7 +44300,7 @@ declare class YoutubeNamespace {
|
|
|
44300
44300
|
*
|
|
44301
44301
|
* Fetch the transcript/captions of a YouTube video by URL or ID.
|
|
44302
44302
|
*
|
|
44303
|
-
* Price: $0.
|
|
44303
|
+
* Price: $0.00125 per request.
|
|
44304
44304
|
*
|
|
44305
44305
|
* @example
|
|
44306
44306
|
* const res = await client.youtube.videoTranscript({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
package/dist/index.js
CHANGED
|
@@ -6557,7 +6557,7 @@ var TwitterNamespace = class {
|
|
|
6557
6557
|
*
|
|
6558
6558
|
* List recent tweets posted in a Twitter/X community by URL.
|
|
6559
6559
|
*
|
|
6560
|
-
* Price: $0.
|
|
6560
|
+
* Price: $0.0005 per request.
|
|
6561
6561
|
*
|
|
6562
6562
|
* @example
|
|
6563
6563
|
* const res = await client.twitter.communityTweets({ url: "https://x.com/i/communities/1926186499399139650" });
|
|
@@ -6628,7 +6628,7 @@ var TwitterNamespace = class {
|
|
|
6628
6628
|
*
|
|
6629
6629
|
* Fetch a Twitter/X account's public profile (followers, tweets, bio, verification) by handle.
|
|
6630
6630
|
*
|
|
6631
|
-
* Price: $0.
|
|
6631
|
+
* Price: $0.0003 per request.
|
|
6632
6632
|
*
|
|
6633
6633
|
* @example
|
|
6634
6634
|
* const res = await client.twitter.profile({ handle: "nasa" });
|
|
@@ -6641,7 +6641,7 @@ var TwitterNamespace = class {
|
|
|
6641
6641
|
*
|
|
6642
6642
|
* Fetch the replies to any X (Twitter) post URL as structured records: author, text, and engagement. An empty result is valid and does not assert whether the target post exists.
|
|
6643
6643
|
*
|
|
6644
|
-
* Price: $0.
|
|
6644
|
+
* Price: $0.0005 per request.
|
|
6645
6645
|
*
|
|
6646
6646
|
* @example
|
|
6647
6647
|
* const res = await client.twitter.replies({ url: "https://x.com/jack/status/20" });
|
|
@@ -6654,7 +6654,7 @@ var TwitterNamespace = class {
|
|
|
6654
6654
|
*
|
|
6655
6655
|
* Search X (Twitter) with full advanced-search syntax (operators like from:, since:, until:, min_faves: work inline in the query) and get structured tweets with text, author, engagement, and cursor pagination. Limit is a per-page maximum; native pages contain approximately 20 tweets unless requireSinglePage selects a bulk lane.
|
|
6656
6656
|
*
|
|
6657
|
-
* Price: $0.
|
|
6657
|
+
* Price: $0.00065 per request.
|
|
6658
6658
|
*
|
|
6659
6659
|
* @example
|
|
6660
6660
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -6767,7 +6767,7 @@ var TwitterNamespace = class {
|
|
|
6767
6767
|
*
|
|
6768
6768
|
* Fetch a single Twitter/X tweet by URL with its full text and engagement counts (likes, retweets, replies, quotes, bookmarks, views).
|
|
6769
6769
|
*
|
|
6770
|
-
* Price: $0.
|
|
6770
|
+
* Price: $0.0003 per request.
|
|
6771
6771
|
*
|
|
6772
6772
|
* @example
|
|
6773
6773
|
* const res = await client.twitter.tweet({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|
|
@@ -6793,7 +6793,7 @@ var TwitterNamespace = class {
|
|
|
6793
6793
|
*
|
|
6794
6794
|
* Get an X (Twitter) account's profile Posts-tab timeline by handle. Results follow profile order: a pinned post may appear first, followed by otherwise reverse-chronological authored posts, reposts, quotes, and self-thread continuations.
|
|
6795
6795
|
*
|
|
6796
|
-
* Price: $0.
|
|
6796
|
+
* Price: $0.0005 per request.
|
|
6797
6797
|
*
|
|
6798
6798
|
* @example
|
|
6799
6799
|
* const res = await client.twitter.userPosts({ handle: "levelsio" });
|
|
@@ -6822,7 +6822,7 @@ var TwitterNamespace = class {
|
|
|
6822
6822
|
*
|
|
6823
6823
|
* Get up to the requested limit of tweets and replies authored by an X (Twitter) account, with engagement, views, language, and cursor pagination where available.
|
|
6824
6824
|
*
|
|
6825
|
-
* Price: $0.
|
|
6825
|
+
* Price: $0.0005 per request.
|
|
6826
6826
|
*
|
|
6827
6827
|
* @example
|
|
6828
6828
|
* const res = await client.twitter.userTweets({ handle: "levelsio", limit: 20 });
|
|
@@ -7331,7 +7331,7 @@ var YoutubeNamespace = class {
|
|
|
7331
7331
|
*
|
|
7332
7332
|
* Search YouTube and get matching videos (title, channel, views, length, publish time) as normalized JSON.
|
|
7333
7333
|
*
|
|
7334
|
-
* Price: $0.
|
|
7334
|
+
* Price: $0.0008 per request.
|
|
7335
7335
|
*
|
|
7336
7336
|
* @example
|
|
7337
7337
|
* const res = await client.youtube.search({ query: "how to cook rice" });
|
|
@@ -7402,7 +7402,7 @@ var YoutubeNamespace = class {
|
|
|
7402
7402
|
*
|
|
7403
7403
|
* Fetch a YouTube video's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
7404
7404
|
*
|
|
7405
|
-
* Price: $0.
|
|
7405
|
+
* Price: $0.00125 per request.
|
|
7406
7406
|
*
|
|
7407
7407
|
* @example
|
|
7408
7408
|
* const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
|
@@ -7457,7 +7457,7 @@ var YoutubeNamespace = class {
|
|
|
7457
7457
|
*
|
|
7458
7458
|
* Fetch the transcript/captions of a YouTube video by URL or ID.
|
|
7459
7459
|
*
|
|
7460
|
-
* Price: $0.
|
|
7460
|
+
* Price: $0.00125 per request.
|
|
7461
7461
|
*
|
|
7462
7462
|
* @example
|
|
7463
7463
|
* const res = await client.youtube.videoTranscript({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|