@getanyapi/sdk 0.144.2 → 0.145.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 +17 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -6
- package/dist/index.d.ts +25 -6
- package/dist/index.js +17 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -7818,7 +7818,7 @@ var TiktokNamespace = class {
|
|
|
7818
7818
|
*
|
|
7819
7819
|
* Find the public contact email behind a TikTok creator's profile: the address written into the bio plus any published on the site the profile links to, each labelled with where it came from. Returns the creator's profile stats and linked social accounts alongside.
|
|
7820
7820
|
*
|
|
7821
|
-
* Price: $0.
|
|
7821
|
+
* Price: $0.00116 per request plus $0 per result (maximum $0.00116).
|
|
7822
7822
|
*
|
|
7823
7823
|
* @example
|
|
7824
7824
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|
|
@@ -8424,6 +8424,22 @@ var TripadvisorNamespace = class {
|
|
|
8424
8424
|
reviews(input, options) {
|
|
8425
8425
|
return this._core.run("tripadvisor.reviews", input, options);
|
|
8426
8426
|
}
|
|
8427
|
+
/**
|
|
8428
|
+
* Iterate every result of Tripadvisor Reviews across pages.
|
|
8429
|
+
*
|
|
8430
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
8431
|
+
* result pages instead (each carries its own costUsd).
|
|
8432
|
+
*/
|
|
8433
|
+
iterReviews(input, options) {
|
|
8434
|
+
return paginate(
|
|
8435
|
+
this._core,
|
|
8436
|
+
"tripadvisor.reviews",
|
|
8437
|
+
input,
|
|
8438
|
+
"items",
|
|
8439
|
+
false,
|
|
8440
|
+
options
|
|
8441
|
+
);
|
|
8442
|
+
}
|
|
8427
8443
|
/**
|
|
8428
8444
|
* Tripadvisor Search
|
|
8429
8445
|
*
|