@getanyapi/sdk 0.154.1 → 0.154.3
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 +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3256,7 +3256,7 @@ var GeminiNamespace = class {
|
|
|
3256
3256
|
*
|
|
3257
3257
|
* Ask Gemini a web-grounded question and receive an answer with source citations.
|
|
3258
3258
|
*
|
|
3259
|
-
* Price: $0.
|
|
3259
|
+
* Price: $0.0025 per request.
|
|
3260
3260
|
*
|
|
3261
3261
|
* @example
|
|
3262
3262
|
* const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -3623,7 +3623,7 @@ var GoogleNamespace = class {
|
|
|
3623
3623
|
*
|
|
3624
3624
|
* 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.
|
|
3625
3625
|
*
|
|
3626
|
-
* Price: $0.
|
|
3626
|
+
* Price: $0.0015 per request.
|
|
3627
3627
|
*
|
|
3628
3628
|
* @example
|
|
3629
3629
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -3795,7 +3795,7 @@ var GoogleNamespace = class {
|
|
|
3795
3795
|
*
|
|
3796
3796
|
* 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.
|
|
3797
3797
|
*
|
|
3798
|
-
* Price: $0.
|
|
3798
|
+
* Price: $0.0004 per request.
|
|
3799
3799
|
*
|
|
3800
3800
|
* @example
|
|
3801
3801
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -4015,7 +4015,7 @@ var GoogleHotelsNamespace = class {
|
|
|
4015
4015
|
*
|
|
4016
4016
|
* 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.
|
|
4017
4017
|
*
|
|
4018
|
-
* Price: $0.
|
|
4018
|
+
* Price: $0.0015 per request.
|
|
4019
4019
|
*
|
|
4020
4020
|
* @example
|
|
4021
4021
|
* const res = await client.googleHotels.search({ checkIn: "2026-12-16", checkOut: "2026-12-18", country: "us", query: "hotels near times square new york" });
|
|
@@ -8782,7 +8782,7 @@ var TrustpilotNamespace = class {
|
|
|
8782
8782
|
*
|
|
8783
8783
|
* Pull Trustpilot reviews for any company by brand name: star ratings, review text, dates, and reviewer details as clean JSON.
|
|
8784
8784
|
*
|
|
8785
|
-
* Price: $0.
|
|
8785
|
+
* Price: $0.0008 per request.
|
|
8786
8786
|
*
|
|
8787
8787
|
* @example
|
|
8788
8788
|
* const res = await client.trustpilot.reviews({ company: "stripe.com", limit: 3 });
|