@getanyapi/sdk 0.140.1 → 0.140.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 +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
|
@@ -3261,7 +3261,7 @@ var GeminiNamespace = class {
|
|
|
3261
3261
|
*
|
|
3262
3262
|
* Ask Gemini a web-grounded question and receive an answer with source citations.
|
|
3263
3263
|
*
|
|
3264
|
-
* Price: $0.
|
|
3264
|
+
* Price: $0.0025 per request.
|
|
3265
3265
|
*
|
|
3266
3266
|
* @example
|
|
3267
3267
|
* const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -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.0004 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 });
|
|
@@ -3829,7 +3829,7 @@ var GoogleNamespace = class {
|
|
|
3829
3829
|
*
|
|
3830
3830
|
* Google Trends interest over time for up to 5 search terms compared on one 0-100 scale, where 100 is the peak search interest of any term in the window. Returns one series per term, in the order you sent them, with a value for every time bucket. Choose the country or region with geo (worldwide when omitted) and the window with timeframe (the past 12 months when omitted); both are echoed in the response. Interest over time only, not related queries or regions.
|
|
3831
3831
|
*
|
|
3832
|
-
* Price: $0.
|
|
3832
|
+
* Price: $0.002 per request.
|
|
3833
3833
|
*
|
|
3834
3834
|
* @example
|
|
3835
3835
|
* const res = await client.google.trends({ keywords: ["coffee", "tea"], geo: "US", timeframe: "12m" });
|
|
@@ -7563,7 +7563,7 @@ var TiktokNamespace = class {
|
|
|
7563
7563
|
*
|
|
7564
7564
|
* Search TikTok's public Ads Library by keyword or advertiser (advertiser, title, audience band, run dates, library link, and video).
|
|
7565
7565
|
*
|
|
7566
|
-
* Price: $0.
|
|
7566
|
+
* Price: $0.0012 per request.
|
|
7567
7567
|
*
|
|
7568
7568
|
* @example
|
|
7569
7569
|
* const res = await client.tiktok.adLibrarySearch({ query: "spotify" });
|
|
@@ -7721,7 +7721,7 @@ var TiktokNamespace = class {
|
|
|
7721
7721
|
*
|
|
7722
7722
|
* List recent TikTok videos for a hashtag (creator, caption, views, likes, shares).
|
|
7723
7723
|
*
|
|
7724
|
-
* Price: $0.
|
|
7724
|
+
* Price: $0.0036 per request.
|
|
7725
7725
|
*
|
|
7726
7726
|
* @example
|
|
7727
7727
|
* const res = await client.tiktok.hashtagVideos({ hashtag: "cooking", limit: 3 });
|
|
@@ -8773,7 +8773,7 @@ var TwitterNamespace = class {
|
|
|
8773
8773
|
*
|
|
8774
8774
|
* Get current X (Twitter) trends for worldwide, a country, or a city in X ranking order, including the resolved location.
|
|
8775
8775
|
*
|
|
8776
|
-
* Price: $0.
|
|
8776
|
+
* Price: $0.0001 per request.
|
|
8777
8777
|
*
|
|
8778
8778
|
* @example
|
|
8779
8779
|
* const res = await client.twitter.trends({ limit: 10, location: "US" });
|