@getanyapi/sdk 0.186.9 → 0.186.11
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 +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3329,7 +3329,7 @@ var GeminiNamespace = class {
|
|
|
3329
3329
|
*
|
|
3330
3330
|
* Ask Gemini a web-grounded question and receive an answer with source citations.
|
|
3331
3331
|
*
|
|
3332
|
-
* Price: $0.
|
|
3332
|
+
* Price: $0.0048 per request.
|
|
3333
3333
|
*
|
|
3334
3334
|
* @example
|
|
3335
3335
|
* const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -4088,7 +4088,7 @@ var GoogleHotelsNamespace = class {
|
|
|
4088
4088
|
*
|
|
4089
4089
|
* Search Google Hotels by destination and dates and get hotels with their Google property ID, nightly price, rating, review count, coordinates, star class and photos as normalized JSON.
|
|
4090
4090
|
*
|
|
4091
|
-
* Price: $0.
|
|
4091
|
+
* Price: $0.0015 per request.
|
|
4092
4092
|
*
|
|
4093
4093
|
* @example
|
|
4094
4094
|
* const res = await client.googleHotels.search({ checkIn: "2026-12-23", checkOut: "2026-12-25", country: "us", query: "hotels near times square new york" });
|
|
@@ -7965,7 +7965,7 @@ var TiktokNamespace = class {
|
|
|
7965
7965
|
*
|
|
7966
7966
|
* Search TikTok's public Ads Library by keyword or advertiser (advertiser, title, audience band, run dates, library link, and video).
|
|
7967
7967
|
*
|
|
7968
|
-
* Price: $0.
|
|
7968
|
+
* Price: $0.0012 per request.
|
|
7969
7969
|
*
|
|
7970
7970
|
* @example
|
|
7971
7971
|
* const res = await client.tiktok.adLibrarySearch({ query: "spotify" });
|
|
@@ -9091,7 +9091,7 @@ var TwitterNamespace = class {
|
|
|
9091
9091
|
*
|
|
9092
9092
|
* 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. Every call returns one full native page of about 20 tweets; follow nextCursor for more.
|
|
9093
9093
|
*
|
|
9094
|
-
* Price: $0.
|
|
9094
|
+
* Price: $0.00049 per request.
|
|
9095
9095
|
*
|
|
9096
9096
|
* @example
|
|
9097
9097
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -9794,7 +9794,7 @@ var YoutubeNamespace = class {
|
|
|
9794
9794
|
*
|
|
9795
9795
|
* List a YouTube channel's videos by handle or channel ID with cursor pagination (title, views, length, publish time).
|
|
9796
9796
|
*
|
|
9797
|
-
* Price: $0.
|
|
9797
|
+
* Price: $0.00074 per request.
|
|
9798
9798
|
*
|
|
9799
9799
|
* @example
|
|
9800
9800
|
* const res = await client.youtube.channelVideos({ handle: "@mkbhd" });
|
|
@@ -9878,7 +9878,7 @@ var YoutubeNamespace = class {
|
|
|
9878
9878
|
*
|
|
9879
9879
|
* Search YouTube and get matching videos (title, channel, views, length, publish time) as normalized JSON.
|
|
9880
9880
|
*
|
|
9881
|
-
* Price: $0.
|
|
9881
|
+
* Price: $0.00039 per request.
|
|
9882
9882
|
*
|
|
9883
9883
|
* @example
|
|
9884
9884
|
* const res = await client.youtube.search({ query: "how to cook rice" });
|
|
@@ -9978,7 +9978,7 @@ var YoutubeNamespace = class {
|
|
|
9978
9978
|
*
|
|
9979
9979
|
* Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
9980
9980
|
*
|
|
9981
|
-
* Price: $0.
|
|
9981
|
+
* Price: $0.00064 per request.
|
|
9982
9982
|
*
|
|
9983
9983
|
* @example
|
|
9984
9984
|
* const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
|
@@ -9991,7 +9991,7 @@ var YoutubeNamespace = class {
|
|
|
9991
9991
|
*
|
|
9992
9992
|
* List the comments on a YouTube video or Short by URL with cursor pagination (text, author, likes, reply count).
|
|
9993
9993
|
*
|
|
9994
|
-
* Price: $0.
|
|
9994
|
+
* Price: $0.00074 per request.
|
|
9995
9995
|
*
|
|
9996
9996
|
* @example
|
|
9997
9997
|
* const res = await client.youtube.videoComments({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
|
@@ -10033,7 +10033,7 @@ var YoutubeNamespace = class {
|
|
|
10033
10033
|
*
|
|
10034
10034
|
* Fetch the transcript/captions of a YouTube video or Short by URL or ID.
|
|
10035
10035
|
*
|
|
10036
|
-
* Price: $0.
|
|
10036
|
+
* Price: $0.00085 per request.
|
|
10037
10037
|
*
|
|
10038
10038
|
* @example
|
|
10039
10039
|
* const res = await client.youtube.videoTranscript({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|