@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.d.cts
CHANGED
|
@@ -19909,7 +19909,7 @@ declare class FacebookNamespace {
|
|
|
19909
19909
|
*
|
|
19910
19910
|
* Fetch recent posts from any public Facebook group by URL: text, author, reactions, and comment counts.
|
|
19911
19911
|
*
|
|
19912
|
-
* Price: $0.
|
|
19912
|
+
* Price: $0.00072 per request.
|
|
19913
19913
|
*
|
|
19914
19914
|
* @example
|
|
19915
19915
|
* const res = await client.facebook.groupPosts({ url: "https://www.facebook.com/groups/instantpotcommunity/" });
|
|
@@ -20532,7 +20532,7 @@ declare class GeminiNamespace {
|
|
|
20532
20532
|
*
|
|
20533
20533
|
* Ask Gemini a web-grounded question and receive an answer with source citations.
|
|
20534
20534
|
*
|
|
20535
|
-
* Price: $0.
|
|
20535
|
+
* Price: $0.0025 per request.
|
|
20536
20536
|
*
|
|
20537
20537
|
* @example
|
|
20538
20538
|
* const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -24024,7 +24024,7 @@ declare class GoogleNamespace {
|
|
|
24024
24024
|
*
|
|
24025
24025
|
* 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.
|
|
24026
24026
|
*
|
|
24027
|
-
* Price: $0.
|
|
24027
|
+
* Price: $0.0015 per request.
|
|
24028
24028
|
*
|
|
24029
24029
|
* @example
|
|
24030
24030
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -24181,7 +24181,7 @@ declare class GoogleNamespace {
|
|
|
24181
24181
|
*
|
|
24182
24182
|
* 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.
|
|
24183
24183
|
*
|
|
24184
|
-
* Price: $0.
|
|
24184
|
+
* Price: $0.024 per request.
|
|
24185
24185
|
*
|
|
24186
24186
|
* @example
|
|
24187
24187
|
* const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });
|
|
@@ -25476,7 +25476,7 @@ declare class GoogleHotelsNamespace {
|
|
|
25476
25476
|
*
|
|
25477
25477
|
* 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.
|
|
25478
25478
|
*
|
|
25479
|
-
* Price: $0.
|
|
25479
|
+
* Price: $0.0015 per request.
|
|
25480
25480
|
*
|
|
25481
25481
|
* @example
|
|
25482
25482
|
* const res = await client.googleHotels.search({ checkIn: "2026-12-16", checkOut: "2026-12-18", country: "us", query: "hotels near times square new york" });
|
|
@@ -70438,7 +70438,7 @@ declare class TrustpilotNamespace {
|
|
|
70438
70438
|
*
|
|
70439
70439
|
* Pull Trustpilot reviews for any company by brand name: star ratings, review text, dates, and reviewer details as clean JSON.
|
|
70440
70440
|
*
|
|
70441
|
-
* Price: $0.
|
|
70441
|
+
* Price: $0.0008 per request.
|
|
70442
70442
|
*
|
|
70443
70443
|
* @example
|
|
70444
70444
|
* const res = await client.trustpilot.reviews({ company: "stripe.com", limit: 3 });
|
|
@@ -72678,7 +72678,7 @@ declare class TwitterNamespace {
|
|
|
72678
72678
|
*
|
|
72679
72679
|
* 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.
|
|
72680
72680
|
*
|
|
72681
|
-
* Price: $0.
|
|
72681
|
+
* Price: $0.00049 per request.
|
|
72682
72682
|
*
|
|
72683
72683
|
* @example
|
|
72684
72684
|
* const res = await client.twitter.search({ query: "openai" });
|
package/dist/index.d.ts
CHANGED
|
@@ -19909,7 +19909,7 @@ declare class FacebookNamespace {
|
|
|
19909
19909
|
*
|
|
19910
19910
|
* Fetch recent posts from any public Facebook group by URL: text, author, reactions, and comment counts.
|
|
19911
19911
|
*
|
|
19912
|
-
* Price: $0.
|
|
19912
|
+
* Price: $0.00072 per request.
|
|
19913
19913
|
*
|
|
19914
19914
|
* @example
|
|
19915
19915
|
* const res = await client.facebook.groupPosts({ url: "https://www.facebook.com/groups/instantpotcommunity/" });
|
|
@@ -20532,7 +20532,7 @@ declare class GeminiNamespace {
|
|
|
20532
20532
|
*
|
|
20533
20533
|
* Ask Gemini a web-grounded question and receive an answer with source citations.
|
|
20534
20534
|
*
|
|
20535
|
-
* Price: $0.
|
|
20535
|
+
* Price: $0.0025 per request.
|
|
20536
20536
|
*
|
|
20537
20537
|
* @example
|
|
20538
20538
|
* const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -24024,7 +24024,7 @@ declare class GoogleNamespace {
|
|
|
24024
24024
|
*
|
|
24025
24025
|
* 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.
|
|
24026
24026
|
*
|
|
24027
|
-
* Price: $0.
|
|
24027
|
+
* Price: $0.0015 per request.
|
|
24028
24028
|
*
|
|
24029
24029
|
* @example
|
|
24030
24030
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -24181,7 +24181,7 @@ declare class GoogleNamespace {
|
|
|
24181
24181
|
*
|
|
24182
24182
|
* 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.
|
|
24183
24183
|
*
|
|
24184
|
-
* Price: $0.
|
|
24184
|
+
* Price: $0.024 per request.
|
|
24185
24185
|
*
|
|
24186
24186
|
* @example
|
|
24187
24187
|
* const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });
|
|
@@ -25476,7 +25476,7 @@ declare class GoogleHotelsNamespace {
|
|
|
25476
25476
|
*
|
|
25477
25477
|
* 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.
|
|
25478
25478
|
*
|
|
25479
|
-
* Price: $0.
|
|
25479
|
+
* Price: $0.0015 per request.
|
|
25480
25480
|
*
|
|
25481
25481
|
* @example
|
|
25482
25482
|
* const res = await client.googleHotels.search({ checkIn: "2026-12-16", checkOut: "2026-12-18", country: "us", query: "hotels near times square new york" });
|
|
@@ -70438,7 +70438,7 @@ declare class TrustpilotNamespace {
|
|
|
70438
70438
|
*
|
|
70439
70439
|
* Pull Trustpilot reviews for any company by brand name: star ratings, review text, dates, and reviewer details as clean JSON.
|
|
70440
70440
|
*
|
|
70441
|
-
* Price: $0.
|
|
70441
|
+
* Price: $0.0008 per request.
|
|
70442
70442
|
*
|
|
70443
70443
|
* @example
|
|
70444
70444
|
* const res = await client.trustpilot.reviews({ company: "stripe.com", limit: 3 });
|
|
@@ -72678,7 +72678,7 @@ declare class TwitterNamespace {
|
|
|
72678
72678
|
*
|
|
72679
72679
|
* 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.
|
|
72680
72680
|
*
|
|
72681
|
-
* Price: $0.
|
|
72681
|
+
* Price: $0.00049 per request.
|
|
72682
72682
|
*
|
|
72683
72683
|
* @example
|
|
72684
72684
|
* const res = await client.twitter.search({ query: "openai" });
|
package/dist/index.js
CHANGED
|
@@ -2731,7 +2731,7 @@ var FacebookNamespace = class {
|
|
|
2731
2731
|
*
|
|
2732
2732
|
* Fetch recent posts from any public Facebook group by URL: text, author, reactions, and comment counts.
|
|
2733
2733
|
*
|
|
2734
|
-
* Price: $0.
|
|
2734
|
+
* Price: $0.00072 per request.
|
|
2735
2735
|
*
|
|
2736
2736
|
* @example
|
|
2737
2737
|
* const res = await client.facebook.groupPosts({ url: "https://www.facebook.com/groups/instantpotcommunity/" });
|
|
@@ -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.0025 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?" });
|
|
@@ -3485,7 +3485,7 @@ var GoogleNamespace = class {
|
|
|
3485
3485
|
*
|
|
3486
3486
|
* 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.
|
|
3487
3487
|
*
|
|
3488
|
-
* Price: $0.
|
|
3488
|
+
* Price: $0.0015 per request.
|
|
3489
3489
|
*
|
|
3490
3490
|
* @example
|
|
3491
3491
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -3686,7 +3686,7 @@ var GoogleNamespace = class {
|
|
|
3686
3686
|
*
|
|
3687
3687
|
* 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.
|
|
3688
3688
|
*
|
|
3689
|
-
* Price: $0.
|
|
3689
|
+
* Price: $0.024 per request.
|
|
3690
3690
|
*
|
|
3691
3691
|
* @example
|
|
3692
3692
|
* const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });
|
|
@@ -3877,7 +3877,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3877
3877
|
*
|
|
3878
3878
|
* 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.
|
|
3879
3879
|
*
|
|
3880
|
-
* Price: $0.
|
|
3880
|
+
* Price: $0.0015 per request.
|
|
3881
3881
|
*
|
|
3882
3882
|
* @example
|
|
3883
3883
|
* const res = await client.googleHotels.search({ checkIn: "2026-12-16", checkOut: "2026-12-18", country: "us", query: "hotels near times square new york" });
|
|
@@ -8644,7 +8644,7 @@ var TrustpilotNamespace = class {
|
|
|
8644
8644
|
*
|
|
8645
8645
|
* Pull Trustpilot reviews for any company by brand name: star ratings, review text, dates, and reviewer details as clean JSON.
|
|
8646
8646
|
*
|
|
8647
|
-
* Price: $0.
|
|
8647
|
+
* Price: $0.0008 per request.
|
|
8648
8648
|
*
|
|
8649
8649
|
* @example
|
|
8650
8650
|
* const res = await client.trustpilot.reviews({ company: "stripe.com", limit: 3 });
|
|
@@ -8867,7 +8867,7 @@ var TwitterNamespace = class {
|
|
|
8867
8867
|
*
|
|
8868
8868
|
* 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.
|
|
8869
8869
|
*
|
|
8870
|
-
* Price: $0.
|
|
8870
|
+
* Price: $0.00049 per request.
|
|
8871
8871
|
*
|
|
8872
8872
|
* @example
|
|
8873
8873
|
* const res = await client.twitter.search({ query: "openai" });
|