@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.cjs
CHANGED
|
@@ -1724,7 +1724,7 @@ var BingNamespace = class {
|
|
|
1724
1724
|
*
|
|
1725
1725
|
* 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.
|
|
1726
1726
|
*
|
|
1727
|
-
* Price: $0.
|
|
1727
|
+
* Price: $0.00085 per request.
|
|
1728
1728
|
*
|
|
1729
1729
|
* @example
|
|
1730
1730
|
* const res = await client.bing.copilot({ prompt: "what is the capital of australia and why" });
|
|
@@ -3787,7 +3787,7 @@ var GoogleNamespace = class {
|
|
|
3787
3787
|
*
|
|
3788
3788
|
* 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.
|
|
3789
3789
|
*
|
|
3790
|
-
* Price: $0.
|
|
3790
|
+
* Price: $0.0005 per request.
|
|
3791
3791
|
*
|
|
3792
3792
|
* @example
|
|
3793
3793
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -5510,7 +5510,7 @@ var MapsNamespace = class {
|
|
|
5510
5510
|
*
|
|
5511
5511
|
* Fetch up to 100 Google Maps reviews for a place by place ID, sorted the way you need, in one normalized response.
|
|
5512
5512
|
*
|
|
5513
|
-
* Price: $0 per request plus $0.
|
|
5513
|
+
* Price: $0.00015 per request plus $0.00002 per result (maximum $0.00215).
|
|
5514
5514
|
*
|
|
5515
5515
|
* @example
|
|
5516
5516
|
* const res = await client.maps.reviews({ placeId: "ChIJN1t_tDeuEmsRUsoyG83frY4", limit: 3 });
|
|
@@ -8534,7 +8534,7 @@ var TwitterNamespace = class {
|
|
|
8534
8534
|
*
|
|
8535
8535
|
* Get a public X long-form article from its wrapper post URL, including its author, engagement, cover image, and structured content blocks.
|
|
8536
8536
|
*
|
|
8537
|
-
* Price: $0.
|
|
8537
|
+
* Price: $0.00054 per request.
|
|
8538
8538
|
*
|
|
8539
8539
|
* @example
|
|
8540
8540
|
* const res = await client.twitter.article({ url: "https://x.com/Decentralisedco/status/1905545699552375179" });
|
|
@@ -8673,7 +8673,7 @@ var TwitterNamespace = class {
|
|
|
8673
8673
|
*
|
|
8674
8674
|
* 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.
|
|
8675
8675
|
*
|
|
8676
|
-
* Price: $0.
|
|
8676
|
+
* Price: $0.00054 per request.
|
|
8677
8677
|
*
|
|
8678
8678
|
* @example
|
|
8679
8679
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -8760,7 +8760,7 @@ var TwitterNamespace = class {
|
|
|
8760
8760
|
*
|
|
8761
8761
|
* 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.
|
|
8762
8762
|
*
|
|
8763
|
-
* Price: $0.
|
|
8763
|
+
* Price: $0.00269 per request.
|
|
8764
8764
|
*
|
|
8765
8765
|
* @example
|
|
8766
8766
|
* const res = await client.twitter.thread({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|