@getanyapi/sdk 0.94.0 → 0.94.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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -20563,7 +20563,7 @@ declare class GoogleNamespace {
|
|
|
20563
20563
|
*
|
|
20564
20564
|
* 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.
|
|
20565
20565
|
*
|
|
20566
|
-
* Price: $0.
|
|
20566
|
+
* Price: $0.0004 per request.
|
|
20567
20567
|
*
|
|
20568
20568
|
* @example
|
|
20569
20569
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -61097,7 +61097,7 @@ interface WebScrapeInput {
|
|
|
61097
61097
|
*/
|
|
61098
61098
|
source?: string[];
|
|
61099
61099
|
/**
|
|
61100
|
-
* The
|
|
61100
|
+
* The full web address of the page to scrape, including its domain, for example https://example.com. The https:// prefix is optional.
|
|
61101
61101
|
* Format: uri.
|
|
61102
61102
|
*/
|
|
61103
61103
|
url: string;
|
|
@@ -64205,7 +64205,7 @@ declare class YoutubeNamespace {
|
|
|
64205
64205
|
*
|
|
64206
64206
|
* Fetch a YouTube video or Short transcript with timed segments and its provenance: whether the words are creator-written captions or machine speech recognition.
|
|
64207
64207
|
*
|
|
64208
|
-
* Price: $0.
|
|
64208
|
+
* Price: $0.003 per request.
|
|
64209
64209
|
*
|
|
64210
64210
|
* @example
|
|
64211
64211
|
* const res = await client.youtube.videoTranscriptFull({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
package/dist/index.d.ts
CHANGED
|
@@ -20563,7 +20563,7 @@ declare class GoogleNamespace {
|
|
|
20563
20563
|
*
|
|
20564
20564
|
* 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.
|
|
20565
20565
|
*
|
|
20566
|
-
* Price: $0.
|
|
20566
|
+
* Price: $0.0004 per request.
|
|
20567
20567
|
*
|
|
20568
20568
|
* @example
|
|
20569
20569
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -61097,7 +61097,7 @@ interface WebScrapeInput {
|
|
|
61097
61097
|
*/
|
|
61098
61098
|
source?: string[];
|
|
61099
61099
|
/**
|
|
61100
|
-
* The
|
|
61100
|
+
* The full web address of the page to scrape, including its domain, for example https://example.com. The https:// prefix is optional.
|
|
61101
61101
|
* Format: uri.
|
|
61102
61102
|
*/
|
|
61103
61103
|
url: string;
|
|
@@ -64205,7 +64205,7 @@ declare class YoutubeNamespace {
|
|
|
64205
64205
|
*
|
|
64206
64206
|
* Fetch a YouTube video or Short transcript with timed segments and its provenance: whether the words are creator-written captions or machine speech recognition.
|
|
64207
64207
|
*
|
|
64208
|
-
* Price: $0.
|
|
64208
|
+
* Price: $0.003 per request.
|
|
64209
64209
|
*
|
|
64210
64210
|
* @example
|
|
64211
64211
|
* const res = await client.youtube.videoTranscriptFull({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
package/dist/index.js
CHANGED
|
@@ -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.0004 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 });
|
|
@@ -8506,7 +8506,7 @@ var YoutubeNamespace = class {
|
|
|
8506
8506
|
*
|
|
8507
8507
|
* Fetch a YouTube video or Short transcript with timed segments and its provenance: whether the words are creator-written captions or machine speech recognition.
|
|
8508
8508
|
*
|
|
8509
|
-
* Price: $0.
|
|
8509
|
+
* Price: $0.003 per request.
|
|
8510
8510
|
*
|
|
8511
8511
|
* @example
|
|
8512
8512
|
* const res = await client.youtube.videoTranscriptFull({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|