@getanyapi/sdk 0.154.0 → 0.154.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 +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2869,7 +2869,7 @@ var FacebookNamespace = class {
|
|
|
2869
2869
|
*
|
|
2870
2870
|
* Fetch recent posts from any public Facebook group by URL: text, author, reactions, and comment counts.
|
|
2871
2871
|
*
|
|
2872
|
-
* Price: $0.
|
|
2872
|
+
* Price: $0.00072 per request.
|
|
2873
2873
|
*
|
|
2874
2874
|
* @example
|
|
2875
2875
|
* const res = await client.facebook.groupPosts({ url: "https://www.facebook.com/groups/instantpotcommunity/" });
|
|
@@ -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?" });
|
|
@@ -3824,7 +3824,7 @@ var GoogleNamespace = class {
|
|
|
3824
3824
|
*
|
|
3825
3825
|
* Run a Google web search and get up to 100 ranked organic results in one call, with true absolute positions rather than per-page numbering. One charge per call whatever the depth, which normally makes it cheaper than paging google.search past roughly 20 results; when the backup source has to answer, the call costs more, up to $0.024. It reads ten pages of Google to build the list, so a call can take up to about five minutes - use google.search when you want the first page back in a second.
|
|
3826
3826
|
*
|
|
3827
|
-
* Price: $0.
|
|
3827
|
+
* Price: $0.024 per request.
|
|
3828
3828
|
*
|
|
3829
3829
|
* @example
|
|
3830
3830
|
* const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });
|
|
@@ -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 });
|
|
@@ -9005,7 +9005,7 @@ var TwitterNamespace = class {
|
|
|
9005
9005
|
*
|
|
9006
9006
|
* Search X (Twitter) with full advanced-search syntax (operators like from:, since:, until:, min_faves: work inline in the query) and get structured tweets with text, author, engagement, and cursor pagination. Limit is a per-page maximum; native pages contain approximately 20 tweets unless requireSinglePage selects a bulk lane.
|
|
9007
9007
|
*
|
|
9008
|
-
* Price: $0.
|
|
9008
|
+
* Price: $0.00049 per request.
|
|
9009
9009
|
*
|
|
9010
9010
|
* @example
|
|
9011
9011
|
* const res = await client.twitter.search({ query: "openai" });
|