@getanyapi/sdk 0.90.2 → 0.90.4
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 +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -20474,7 +20474,7 @@ declare class GoogleNamespace {
|
|
|
20474
20474
|
*
|
|
20475
20475
|
* Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
|
|
20476
20476
|
*
|
|
20477
|
-
* Price: $0.
|
|
20477
|
+
* Price: $0.0048 per request.
|
|
20478
20478
|
*
|
|
20479
20479
|
* @example
|
|
20480
20480
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -20562,7 +20562,7 @@ declare class GoogleNamespace {
|
|
|
20562
20562
|
*
|
|
20563
20563
|
* Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is cheaper past roughly 20 results.
|
|
20564
20564
|
*
|
|
20565
|
-
* Price: $0.
|
|
20565
|
+
* Price: $0.0005 per request.
|
|
20566
20566
|
*
|
|
20567
20567
|
* @example
|
|
20568
20568
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -56224,7 +56224,7 @@ declare class TiktokNamespace {
|
|
|
56224
56224
|
*
|
|
56225
56225
|
* Sample TikTok's For You feed as served to a viewer in one country (caption, views, likes, comments, author). Returns a rotating sample, not a ranked chart.
|
|
56226
56226
|
*
|
|
56227
|
-
* Price: $0.
|
|
56227
|
+
* Price: $0.0012 per request.
|
|
56228
56228
|
*
|
|
56229
56229
|
* @example
|
|
56230
56230
|
* const res = await client.tiktok.trendingFeed({ region: "US" });
|
|
@@ -63791,7 +63791,7 @@ declare class YoutubeNamespace {
|
|
|
63791
63791
|
*
|
|
63792
63792
|
* List the comments on a YouTube video or Short by URL with cursor pagination (text, author, likes, reply count).
|
|
63793
63793
|
*
|
|
63794
|
-
* Price: $0.
|
|
63794
|
+
* Price: $0.0008 per request.
|
|
63795
63795
|
*
|
|
63796
63796
|
* @example
|
|
63797
63797
|
* const res = await client.youtube.videoComments({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
package/dist/index.d.ts
CHANGED
|
@@ -20474,7 +20474,7 @@ declare class GoogleNamespace {
|
|
|
20474
20474
|
*
|
|
20475
20475
|
* Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
|
|
20476
20476
|
*
|
|
20477
|
-
* Price: $0.
|
|
20477
|
+
* Price: $0.0048 per request.
|
|
20478
20478
|
*
|
|
20479
20479
|
* @example
|
|
20480
20480
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -20562,7 +20562,7 @@ declare class GoogleNamespace {
|
|
|
20562
20562
|
*
|
|
20563
20563
|
* Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is cheaper past roughly 20 results.
|
|
20564
20564
|
*
|
|
20565
|
-
* Price: $0.
|
|
20565
|
+
* Price: $0.0005 per request.
|
|
20566
20566
|
*
|
|
20567
20567
|
* @example
|
|
20568
20568
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -56224,7 +56224,7 @@ declare class TiktokNamespace {
|
|
|
56224
56224
|
*
|
|
56225
56225
|
* Sample TikTok's For You feed as served to a viewer in one country (caption, views, likes, comments, author). Returns a rotating sample, not a ranked chart.
|
|
56226
56226
|
*
|
|
56227
|
-
* Price: $0.
|
|
56227
|
+
* Price: $0.0012 per request.
|
|
56228
56228
|
*
|
|
56229
56229
|
* @example
|
|
56230
56230
|
* const res = await client.tiktok.trendingFeed({ region: "US" });
|
|
@@ -63791,7 +63791,7 @@ declare class YoutubeNamespace {
|
|
|
63791
63791
|
*
|
|
63792
63792
|
* List the comments on a YouTube video or Short by URL with cursor pagination (text, author, likes, reply count).
|
|
63793
63793
|
*
|
|
63794
|
-
* Price: $0.
|
|
63794
|
+
* Price: $0.0008 per request.
|
|
63795
63795
|
*
|
|
63796
63796
|
* @example
|
|
63797
63797
|
* const res = await client.youtube.videoComments({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
package/dist/index.js
CHANGED
|
@@ -3055,7 +3055,7 @@ var GoogleNamespace = class {
|
|
|
3055
3055
|
*
|
|
3056
3056
|
* Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
|
|
3057
3057
|
*
|
|
3058
|
-
* Price: $0.
|
|
3058
|
+
* Price: $0.0048 per request.
|
|
3059
3059
|
*
|
|
3060
3060
|
* @example
|
|
3061
3061
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -3159,7 +3159,7 @@ var GoogleNamespace = class {
|
|
|
3159
3159
|
*
|
|
3160
3160
|
* Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is cheaper past roughly 20 results.
|
|
3161
3161
|
*
|
|
3162
|
-
* Price: $0.
|
|
3162
|
+
* Price: $0.0005 per request.
|
|
3163
3163
|
*
|
|
3164
3164
|
* @example
|
|
3165
3165
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -7021,7 +7021,7 @@ var TiktokNamespace = class {
|
|
|
7021
7021
|
*
|
|
7022
7022
|
* Sample TikTok's For You feed as served to a viewer in one country (caption, views, likes, comments, author). Returns a rotating sample, not a ranked chart.
|
|
7023
7023
|
*
|
|
7024
|
-
* Price: $0.
|
|
7024
|
+
* Price: $0.0012 per request.
|
|
7025
7025
|
*
|
|
7026
7026
|
* @example
|
|
7027
7027
|
* const res = await client.tiktok.trendingFeed({ region: "US" });
|
|
@@ -8361,7 +8361,7 @@ var YoutubeNamespace = class {
|
|
|
8361
8361
|
*
|
|
8362
8362
|
* List the comments on a YouTube video or Short by URL with cursor pagination (text, author, likes, reply count).
|
|
8363
8363
|
*
|
|
8364
|
-
* Price: $0.
|
|
8364
|
+
* Price: $0.0008 per request.
|
|
8365
8365
|
*
|
|
8366
8366
|
* @example
|
|
8367
8367
|
* const res = await client.youtube.videoComments({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|