@getanyapi/sdk 0.162.10 → 0.162.12
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 +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -20539,7 +20539,7 @@ declare class GeminiNamespace {
|
|
|
20539
20539
|
*
|
|
20540
20540
|
* Ask Gemini a web-grounded question and receive an answer with source citations.
|
|
20541
20541
|
*
|
|
20542
|
-
* Price: $0.
|
|
20542
|
+
* Price: $0.0048 per request.
|
|
20543
20543
|
*
|
|
20544
20544
|
* @example
|
|
20545
20545
|
* const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -24126,7 +24126,7 @@ declare class GoogleNamespace {
|
|
|
24126
24126
|
*
|
|
24127
24127
|
* Search Google News by keyword and get fresh articles (headlines, sources, links, and publish times) as clean JSON.
|
|
24128
24128
|
*
|
|
24129
|
-
* Price: $0.
|
|
24129
|
+
* Price: $0.00089 per request.
|
|
24130
24130
|
*
|
|
24131
24131
|
* @example
|
|
24132
24132
|
* const res = await client.google.news({ query: "openai", gl: "us", hl: "en" });
|
|
@@ -24170,7 +24170,7 @@ declare class GoogleNamespace {
|
|
|
24170
24170
|
*
|
|
24171
24171
|
* 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 normally cheaper past roughly 20 results.
|
|
24172
24172
|
*
|
|
24173
|
-
* Price: $0.
|
|
24173
|
+
* Price: $0.0004 per request.
|
|
24174
24174
|
*
|
|
24175
24175
|
* @example
|
|
24176
24176
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
package/dist/index.d.ts
CHANGED
|
@@ -20539,7 +20539,7 @@ declare class GeminiNamespace {
|
|
|
20539
20539
|
*
|
|
20540
20540
|
* Ask Gemini a web-grounded question and receive an answer with source citations.
|
|
20541
20541
|
*
|
|
20542
|
-
* Price: $0.
|
|
20542
|
+
* Price: $0.0048 per request.
|
|
20543
20543
|
*
|
|
20544
20544
|
* @example
|
|
20545
20545
|
* const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -24126,7 +24126,7 @@ declare class GoogleNamespace {
|
|
|
24126
24126
|
*
|
|
24127
24127
|
* Search Google News by keyword and get fresh articles (headlines, sources, links, and publish times) as clean JSON.
|
|
24128
24128
|
*
|
|
24129
|
-
* Price: $0.
|
|
24129
|
+
* Price: $0.00089 per request.
|
|
24130
24130
|
*
|
|
24131
24131
|
* @example
|
|
24132
24132
|
* const res = await client.google.news({ query: "openai", gl: "us", hl: "en" });
|
|
@@ -24170,7 +24170,7 @@ declare class GoogleNamespace {
|
|
|
24170
24170
|
*
|
|
24171
24171
|
* 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 normally cheaper past roughly 20 results.
|
|
24172
24172
|
*
|
|
24173
|
-
* Price: $0.
|
|
24173
|
+
* Price: $0.0004 per request.
|
|
24174
24174
|
*
|
|
24175
24175
|
* @example
|
|
24176
24176
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
package/dist/index.js
CHANGED
|
@@ -3118,7 +3118,7 @@ var GeminiNamespace = class {
|
|
|
3118
3118
|
*
|
|
3119
3119
|
* Ask Gemini a web-grounded question and receive an answer with source citations.
|
|
3120
3120
|
*
|
|
3121
|
-
* Price: $0.
|
|
3121
|
+
* Price: $0.0048 per request.
|
|
3122
3122
|
*
|
|
3123
3123
|
* @example
|
|
3124
3124
|
* const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -3605,7 +3605,7 @@ var GoogleNamespace = class {
|
|
|
3605
3605
|
*
|
|
3606
3606
|
* Search Google News by keyword and get fresh articles (headlines, sources, links, and publish times) as clean JSON.
|
|
3607
3607
|
*
|
|
3608
|
-
* Price: $0.
|
|
3608
|
+
* Price: $0.00089 per request.
|
|
3609
3609
|
*
|
|
3610
3610
|
* @example
|
|
3611
3611
|
* const res = await client.google.news({ query: "openai", gl: "us", hl: "en" });
|
|
@@ -3657,7 +3657,7 @@ var GoogleNamespace = class {
|
|
|
3657
3657
|
*
|
|
3658
3658
|
* 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 normally cheaper past roughly 20 results.
|
|
3659
3659
|
*
|
|
3660
|
-
* Price: $0.
|
|
3660
|
+
* Price: $0.0004 per request.
|
|
3661
3661
|
*
|
|
3662
3662
|
* @example
|
|
3663
3663
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|