@getanyapi/sdk 0.90.13 → 0.91.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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -6
- package/dist/index.d.ts +21 -6
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3281,7 +3281,7 @@ var GoogleNamespace = class {
|
|
|
3281
3281
|
*
|
|
3282
3282
|
* 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.
|
|
3283
3283
|
*
|
|
3284
|
-
* Price: $0.
|
|
3284
|
+
* Price: $0.0005 per request.
|
|
3285
3285
|
*
|
|
3286
3286
|
* @example
|
|
3287
3287
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -8145,7 +8145,7 @@ var YoutubeNamespace = class {
|
|
|
8145
8145
|
/**
|
|
8146
8146
|
* YouTube Channel
|
|
8147
8147
|
*
|
|
8148
|
-
* Fetch a YouTube channel's stats (subscribers, video count, total views, description) by handle or channel ID.
|
|
8148
|
+
* Fetch a YouTube channel's stats (subscribers, video count, total views, description) and the links on its About page, by handle or channel ID.
|
|
8149
8149
|
*
|
|
8150
8150
|
* Price: $0.0005 per request.
|
|
8151
8151
|
*
|
|
@@ -8470,7 +8470,7 @@ var YoutubeNamespace = class {
|
|
|
8470
8470
|
*
|
|
8471
8471
|
* Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
8472
8472
|
*
|
|
8473
|
-
* Price: $0.
|
|
8473
|
+
* Price: $0.0009 per request.
|
|
8474
8474
|
*
|
|
8475
8475
|
* @example
|
|
8476
8476
|
* const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|