@getanyapi/sdk 0.39.3 → 0.40.0
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -15235,7 +15235,7 @@ declare class GoogleNamespace {
|
|
|
15235
15235
|
*
|
|
15236
15236
|
* 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. Pass the returned nextCursor back as cursor to walk further, or use google.search_100 for up to 100 ranked results in one call, which is cheaper past roughly 20 results.
|
|
15237
15237
|
*
|
|
15238
|
-
* Price: $0.
|
|
15238
|
+
* Price: $0.0009 per request.
|
|
15239
15239
|
*
|
|
15240
15240
|
* @example
|
|
15241
15241
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -37503,6 +37503,7 @@ interface TiktokProfileVideosVideo {
|
|
|
37503
37503
|
*/
|
|
37504
37504
|
image?: string;
|
|
37505
37505
|
likes: number;
|
|
37506
|
+
saves?: number;
|
|
37506
37507
|
/**
|
|
37507
37508
|
* Populated whenever the provider has data for the entity.
|
|
37508
37509
|
*/
|
|
@@ -37624,6 +37625,7 @@ interface TiktokSearchKeywordVideo {
|
|
|
37624
37625
|
id: string;
|
|
37625
37626
|
likes: number;
|
|
37626
37627
|
region: string;
|
|
37628
|
+
saves?: number;
|
|
37627
37629
|
shares: number;
|
|
37628
37630
|
views: number;
|
|
37629
37631
|
[extra: string]: unknown;
|
|
@@ -37682,11 +37684,17 @@ interface TiktokSearchTopItem {
|
|
|
37682
37684
|
caption: string;
|
|
37683
37685
|
comments: number;
|
|
37684
37686
|
contentType: string;
|
|
37687
|
+
/**
|
|
37688
|
+
* UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.
|
|
37689
|
+
* Present whenever the upstream returns this record.
|
|
37690
|
+
*/
|
|
37691
|
+
createdUtc?: number;
|
|
37685
37692
|
/**
|
|
37686
37693
|
* Populated whenever the provider has data for the entity.
|
|
37687
37694
|
*/
|
|
37688
37695
|
id: string;
|
|
37689
37696
|
likes: number;
|
|
37697
|
+
saves?: number;
|
|
37690
37698
|
shares: number;
|
|
37691
37699
|
/**
|
|
37692
37700
|
* Populated whenever the provider has data for the entity.
|
package/dist/index.d.ts
CHANGED
|
@@ -15235,7 +15235,7 @@ declare class GoogleNamespace {
|
|
|
15235
15235
|
*
|
|
15236
15236
|
* 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. Pass the returned nextCursor back as cursor to walk further, or use google.search_100 for up to 100 ranked results in one call, which is cheaper past roughly 20 results.
|
|
15237
15237
|
*
|
|
15238
|
-
* Price: $0.
|
|
15238
|
+
* Price: $0.0009 per request.
|
|
15239
15239
|
*
|
|
15240
15240
|
* @example
|
|
15241
15241
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -37503,6 +37503,7 @@ interface TiktokProfileVideosVideo {
|
|
|
37503
37503
|
*/
|
|
37504
37504
|
image?: string;
|
|
37505
37505
|
likes: number;
|
|
37506
|
+
saves?: number;
|
|
37506
37507
|
/**
|
|
37507
37508
|
* Populated whenever the provider has data for the entity.
|
|
37508
37509
|
*/
|
|
@@ -37624,6 +37625,7 @@ interface TiktokSearchKeywordVideo {
|
|
|
37624
37625
|
id: string;
|
|
37625
37626
|
likes: number;
|
|
37626
37627
|
region: string;
|
|
37628
|
+
saves?: number;
|
|
37627
37629
|
shares: number;
|
|
37628
37630
|
views: number;
|
|
37629
37631
|
[extra: string]: unknown;
|
|
@@ -37682,11 +37684,17 @@ interface TiktokSearchTopItem {
|
|
|
37682
37684
|
caption: string;
|
|
37683
37685
|
comments: number;
|
|
37684
37686
|
contentType: string;
|
|
37687
|
+
/**
|
|
37688
|
+
* UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.
|
|
37689
|
+
* Present whenever the upstream returns this record.
|
|
37690
|
+
*/
|
|
37691
|
+
createdUtc?: number;
|
|
37685
37692
|
/**
|
|
37686
37693
|
* Populated whenever the provider has data for the entity.
|
|
37687
37694
|
*/
|
|
37688
37695
|
id: string;
|
|
37689
37696
|
likes: number;
|
|
37697
|
+
saves?: number;
|
|
37690
37698
|
shares: number;
|
|
37691
37699
|
/**
|
|
37692
37700
|
* Populated whenever the provider has data for the entity.
|
package/dist/index.js
CHANGED
|
@@ -3013,7 +3013,7 @@ var GoogleNamespace = class {
|
|
|
3013
3013
|
*
|
|
3014
3014
|
* 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. Pass the returned nextCursor back as cursor to walk further, or use google.search_100 for up to 100 ranked results in one call, which is cheaper past roughly 20 results.
|
|
3015
3015
|
*
|
|
3016
|
-
* Price: $0.
|
|
3016
|
+
* Price: $0.0009 per request.
|
|
3017
3017
|
*
|
|
3018
3018
|
* @example
|
|
3019
3019
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|