@getanyapi/sdk 0.141.3 → 0.141.4
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 +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -7320,7 +7320,7 @@ declare class BingNamespace {
|
|
|
7320
7320
|
*
|
|
7321
7321
|
* Ask Microsoft Copilot (the AI answer in Bing) a question and get its web-grounded answer with the sources it cites as clean JSON - for tracking how Copilot answers and which sites it cites.
|
|
7322
7322
|
*
|
|
7323
|
-
* Price: $0.
|
|
7323
|
+
* Price: $0.00085 per request.
|
|
7324
7324
|
*
|
|
7325
7325
|
* @example
|
|
7326
7326
|
* const res = await client.bing.copilot({ prompt: "what is the capital of australia and why" });
|
|
@@ -25565,7 +25565,7 @@ declare class GoogleNamespace {
|
|
|
25565
25565
|
*
|
|
25566
25566
|
* 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.
|
|
25567
25567
|
*
|
|
25568
|
-
* Price: $0.
|
|
25568
|
+
* Price: $0.0005 per request.
|
|
25569
25569
|
*
|
|
25570
25570
|
* @example
|
|
25571
25571
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -40752,7 +40752,7 @@ declare class MapsNamespace {
|
|
|
40752
40752
|
*
|
|
40753
40753
|
* Fetch up to 100 Google Maps reviews for a place by place ID, sorted the way you need, in one normalized response.
|
|
40754
40754
|
*
|
|
40755
|
-
* Price: $0 per request plus $0.
|
|
40755
|
+
* Price: $0.00015 per request plus $0.00002 per result (maximum $0.00215).
|
|
40756
40756
|
*
|
|
40757
40757
|
* @example
|
|
40758
40758
|
* const res = await client.maps.reviews({ placeId: "ChIJN1t_tDeuEmsRUsoyG83frY4", limit: 3 });
|
|
@@ -71289,7 +71289,7 @@ declare class TwitterNamespace {
|
|
|
71289
71289
|
*
|
|
71290
71290
|
* Get a public X long-form article from its wrapper post URL, including its author, engagement, cover image, and structured content blocks.
|
|
71291
71291
|
*
|
|
71292
|
-
* Price: $0.
|
|
71292
|
+
* Price: $0.00054 per request.
|
|
71293
71293
|
*
|
|
71294
71294
|
* @example
|
|
71295
71295
|
* const res = await client.twitter.article({ url: "https://x.com/Decentralisedco/status/1905545699552375179" });
|
|
@@ -71387,7 +71387,7 @@ declare class TwitterNamespace {
|
|
|
71387
71387
|
*
|
|
71388
71388
|
* 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.
|
|
71389
71389
|
*
|
|
71390
|
-
* Price: $0.
|
|
71390
|
+
* Price: $0.00054 per request.
|
|
71391
71391
|
*
|
|
71392
71392
|
* @example
|
|
71393
71393
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -71441,7 +71441,7 @@ declare class TwitterNamespace {
|
|
|
71441
71441
|
*
|
|
71442
71442
|
* Resolve the linear self-thread containing an X (Twitter) post, from its root through the author's linked continuations. This excludes replies from other users.
|
|
71443
71443
|
*
|
|
71444
|
-
* Price: $0.
|
|
71444
|
+
* Price: $0.00269 per request.
|
|
71445
71445
|
*
|
|
71446
71446
|
* @example
|
|
71447
71447
|
* const res = await client.twitter.thread({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|
package/dist/index.d.ts
CHANGED
|
@@ -7320,7 +7320,7 @@ declare class BingNamespace {
|
|
|
7320
7320
|
*
|
|
7321
7321
|
* Ask Microsoft Copilot (the AI answer in Bing) a question and get its web-grounded answer with the sources it cites as clean JSON - for tracking how Copilot answers and which sites it cites.
|
|
7322
7322
|
*
|
|
7323
|
-
* Price: $0.
|
|
7323
|
+
* Price: $0.00085 per request.
|
|
7324
7324
|
*
|
|
7325
7325
|
* @example
|
|
7326
7326
|
* const res = await client.bing.copilot({ prompt: "what is the capital of australia and why" });
|
|
@@ -25565,7 +25565,7 @@ declare class GoogleNamespace {
|
|
|
25565
25565
|
*
|
|
25566
25566
|
* 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.
|
|
25567
25567
|
*
|
|
25568
|
-
* Price: $0.
|
|
25568
|
+
* Price: $0.0005 per request.
|
|
25569
25569
|
*
|
|
25570
25570
|
* @example
|
|
25571
25571
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -40752,7 +40752,7 @@ declare class MapsNamespace {
|
|
|
40752
40752
|
*
|
|
40753
40753
|
* Fetch up to 100 Google Maps reviews for a place by place ID, sorted the way you need, in one normalized response.
|
|
40754
40754
|
*
|
|
40755
|
-
* Price: $0 per request plus $0.
|
|
40755
|
+
* Price: $0.00015 per request plus $0.00002 per result (maximum $0.00215).
|
|
40756
40756
|
*
|
|
40757
40757
|
* @example
|
|
40758
40758
|
* const res = await client.maps.reviews({ placeId: "ChIJN1t_tDeuEmsRUsoyG83frY4", limit: 3 });
|
|
@@ -71289,7 +71289,7 @@ declare class TwitterNamespace {
|
|
|
71289
71289
|
*
|
|
71290
71290
|
* Get a public X long-form article from its wrapper post URL, including its author, engagement, cover image, and structured content blocks.
|
|
71291
71291
|
*
|
|
71292
|
-
* Price: $0.
|
|
71292
|
+
* Price: $0.00054 per request.
|
|
71293
71293
|
*
|
|
71294
71294
|
* @example
|
|
71295
71295
|
* const res = await client.twitter.article({ url: "https://x.com/Decentralisedco/status/1905545699552375179" });
|
|
@@ -71387,7 +71387,7 @@ declare class TwitterNamespace {
|
|
|
71387
71387
|
*
|
|
71388
71388
|
* 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.
|
|
71389
71389
|
*
|
|
71390
|
-
* Price: $0.
|
|
71390
|
+
* Price: $0.00054 per request.
|
|
71391
71391
|
*
|
|
71392
71392
|
* @example
|
|
71393
71393
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -71441,7 +71441,7 @@ declare class TwitterNamespace {
|
|
|
71441
71441
|
*
|
|
71442
71442
|
* Resolve the linear self-thread containing an X (Twitter) post, from its root through the author's linked continuations. This excludes replies from other users.
|
|
71443
71443
|
*
|
|
71444
|
-
* Price: $0.
|
|
71444
|
+
* Price: $0.00269 per request.
|
|
71445
71445
|
*
|
|
71446
71446
|
* @example
|
|
71447
71447
|
* const res = await client.twitter.thread({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|
package/dist/index.js
CHANGED
|
@@ -1587,7 +1587,7 @@ var BingNamespace = class {
|
|
|
1587
1587
|
*
|
|
1588
1588
|
* Ask Microsoft Copilot (the AI answer in Bing) a question and get its web-grounded answer with the sources it cites as clean JSON - for tracking how Copilot answers and which sites it cites.
|
|
1589
1589
|
*
|
|
1590
|
-
* Price: $0.
|
|
1590
|
+
* Price: $0.00085 per request.
|
|
1591
1591
|
*
|
|
1592
1592
|
* @example
|
|
1593
1593
|
* const res = await client.bing.copilot({ prompt: "what is the capital of australia and why" });
|
|
@@ -3650,7 +3650,7 @@ var GoogleNamespace = class {
|
|
|
3650
3650
|
*
|
|
3651
3651
|
* 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.
|
|
3652
3652
|
*
|
|
3653
|
-
* Price: $0.
|
|
3653
|
+
* Price: $0.0005 per request.
|
|
3654
3654
|
*
|
|
3655
3655
|
* @example
|
|
3656
3656
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -5373,7 +5373,7 @@ var MapsNamespace = class {
|
|
|
5373
5373
|
*
|
|
5374
5374
|
* Fetch up to 100 Google Maps reviews for a place by place ID, sorted the way you need, in one normalized response.
|
|
5375
5375
|
*
|
|
5376
|
-
* Price: $0 per request plus $0.
|
|
5376
|
+
* Price: $0.00015 per request plus $0.00002 per result (maximum $0.00215).
|
|
5377
5377
|
*
|
|
5378
5378
|
* @example
|
|
5379
5379
|
* const res = await client.maps.reviews({ placeId: "ChIJN1t_tDeuEmsRUsoyG83frY4", limit: 3 });
|
|
@@ -8397,7 +8397,7 @@ var TwitterNamespace = class {
|
|
|
8397
8397
|
*
|
|
8398
8398
|
* Get a public X long-form article from its wrapper post URL, including its author, engagement, cover image, and structured content blocks.
|
|
8399
8399
|
*
|
|
8400
|
-
* Price: $0.
|
|
8400
|
+
* Price: $0.00054 per request.
|
|
8401
8401
|
*
|
|
8402
8402
|
* @example
|
|
8403
8403
|
* const res = await client.twitter.article({ url: "https://x.com/Decentralisedco/status/1905545699552375179" });
|
|
@@ -8536,7 +8536,7 @@ var TwitterNamespace = class {
|
|
|
8536
8536
|
*
|
|
8537
8537
|
* 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.
|
|
8538
8538
|
*
|
|
8539
|
-
* Price: $0.
|
|
8539
|
+
* Price: $0.00054 per request.
|
|
8540
8540
|
*
|
|
8541
8541
|
* @example
|
|
8542
8542
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -8623,7 +8623,7 @@ var TwitterNamespace = class {
|
|
|
8623
8623
|
*
|
|
8624
8624
|
* Resolve the linear self-thread containing an X (Twitter) post, from its root through the author's linked continuations. This excludes replies from other users.
|
|
8625
8625
|
*
|
|
8626
|
-
* Price: $0.
|
|
8626
|
+
* Price: $0.00269 per request.
|
|
8627
8627
|
*
|
|
8628
8628
|
* @example
|
|
8629
8629
|
* const res = await client.twitter.thread({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|