@getanyapi/sdk 0.157.9 → 0.158.1
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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -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.0018 per request.
|
|
24028
24028
|
*
|
|
24029
24029
|
* @example
|
|
24030
24030
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -24163,7 +24163,7 @@ declare class GoogleNamespace {
|
|
|
24163
24163
|
*
|
|
24164
24164
|
* 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.
|
|
24165
24165
|
*
|
|
24166
|
-
* Price: $0.
|
|
24166
|
+
* Price: $0.0004 per request.
|
|
24167
24167
|
*
|
|
24168
24168
|
* @example
|
|
24169
24169
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -40259,7 +40259,7 @@ interface MapsReviewsInput {
|
|
|
40259
40259
|
/**
|
|
40260
40260
|
* Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `isLocalGuide` or `placeId`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a review that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
40261
40261
|
*/
|
|
40262
|
-
requireFields?: ("isLocalGuide" | "likes" | "origin" | "ownerResponseAt" | "placeId")[];
|
|
40262
|
+
requireFields?: ("avatarUrl" | "isLocalGuide" | "likes" | "origin" | "ownerResponseAt" | "placeId" | "publishedAgo")[];
|
|
40263
40263
|
/**
|
|
40264
40264
|
* Only return reviews that Google's review search matches for this keyword or phrase. It matches whole words, case-insensitive, so mail does not match email. Omit to return all reviews (e.g. parking).
|
|
40265
40265
|
*/
|
|
@@ -40311,7 +40311,7 @@ interface MapsReviewsItem {
|
|
|
40311
40311
|
*/
|
|
40312
40312
|
ownerResponse?: string;
|
|
40313
40313
|
/**
|
|
40314
|
-
* ISO 8601 timestamp of the owner's reply; empty when there is none.
|
|
40314
|
+
* ISO 8601 timestamp of the owner's reply; empty when there is none. One source knows it only for the first few reviews of a call and omits it on later replies; name it in requireFields to be served by a source that returns it for every reply.
|
|
40315
40315
|
*/
|
|
40316
40316
|
ownerResponseAt?: string;
|
|
40317
40317
|
/**
|
|
@@ -68904,7 +68904,7 @@ declare class TiktokNamespace {
|
|
|
68904
68904
|
*
|
|
68905
68905
|
* Sample TikTok's For You feed as served to a viewer in one country (caption, views, likes, comments, author). Returns a rotating sample, not a ranked chart.
|
|
68906
68906
|
*
|
|
68907
|
-
* Price: $0.
|
|
68907
|
+
* Price: $0.0008 per request.
|
|
68908
68908
|
*
|
|
68909
68909
|
* @example
|
|
68910
68910
|
* const res = await client.tiktok.trendingFeed({ region: "US" });
|
package/dist/index.d.ts
CHANGED
|
@@ -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.0018 per request.
|
|
24028
24028
|
*
|
|
24029
24029
|
* @example
|
|
24030
24030
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -24163,7 +24163,7 @@ declare class GoogleNamespace {
|
|
|
24163
24163
|
*
|
|
24164
24164
|
* 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.
|
|
24165
24165
|
*
|
|
24166
|
-
* Price: $0.
|
|
24166
|
+
* Price: $0.0004 per request.
|
|
24167
24167
|
*
|
|
24168
24168
|
* @example
|
|
24169
24169
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -40259,7 +40259,7 @@ interface MapsReviewsInput {
|
|
|
40259
40259
|
/**
|
|
40260
40260
|
* Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `isLocalGuide` or `placeId`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a review that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
40261
40261
|
*/
|
|
40262
|
-
requireFields?: ("isLocalGuide" | "likes" | "origin" | "ownerResponseAt" | "placeId")[];
|
|
40262
|
+
requireFields?: ("avatarUrl" | "isLocalGuide" | "likes" | "origin" | "ownerResponseAt" | "placeId" | "publishedAgo")[];
|
|
40263
40263
|
/**
|
|
40264
40264
|
* Only return reviews that Google's review search matches for this keyword or phrase. It matches whole words, case-insensitive, so mail does not match email. Omit to return all reviews (e.g. parking).
|
|
40265
40265
|
*/
|
|
@@ -40311,7 +40311,7 @@ interface MapsReviewsItem {
|
|
|
40311
40311
|
*/
|
|
40312
40312
|
ownerResponse?: string;
|
|
40313
40313
|
/**
|
|
40314
|
-
* ISO 8601 timestamp of the owner's reply; empty when there is none.
|
|
40314
|
+
* ISO 8601 timestamp of the owner's reply; empty when there is none. One source knows it only for the first few reviews of a call and omits it on later replies; name it in requireFields to be served by a source that returns it for every reply.
|
|
40315
40315
|
*/
|
|
40316
40316
|
ownerResponseAt?: string;
|
|
40317
40317
|
/**
|
|
@@ -68904,7 +68904,7 @@ declare class TiktokNamespace {
|
|
|
68904
68904
|
*
|
|
68905
68905
|
* Sample TikTok's For You feed as served to a viewer in one country (caption, views, likes, comments, author). Returns a rotating sample, not a ranked chart.
|
|
68906
68906
|
*
|
|
68907
|
-
* Price: $0.
|
|
68907
|
+
* Price: $0.0008 per request.
|
|
68908
68908
|
*
|
|
68909
68909
|
* @example
|
|
68910
68910
|
* const res = await client.tiktok.trendingFeed({ region: "US" });
|
package/dist/index.js
CHANGED
|
@@ -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.0018 per request.
|
|
3489
3489
|
*
|
|
3490
3490
|
* @example
|
|
3491
3491
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -3657,7 +3657,7 @@ var GoogleNamespace = class {
|
|
|
3657
3657
|
*
|
|
3658
3658
|
* 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.
|
|
3659
3659
|
*
|
|
3660
|
-
* Price: $0.
|
|
3660
|
+
* Price: $0.0004 per request.
|
|
3661
3661
|
*
|
|
3662
3662
|
* @example
|
|
3663
3663
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -8322,7 +8322,7 @@ var TiktokNamespace = class {
|
|
|
8322
8322
|
*
|
|
8323
8323
|
* Sample TikTok's For You feed as served to a viewer in one country (caption, views, likes, comments, author). Returns a rotating sample, not a ranked chart.
|
|
8324
8324
|
*
|
|
8325
|
-
* Price: $0.
|
|
8325
|
+
* Price: $0.0008 per request.
|
|
8326
8326
|
*
|
|
8327
8327
|
* @example
|
|
8328
8328
|
* const res = await client.tiktok.trendingFeed({ region: "US" });
|