@getanyapi/sdk 0.144.2 → 0.146.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 +18 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +27 -8
- package/dist/index.d.ts +27 -8
- package/dist/index.js +18 -2
- 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
|
*
|
|
@@ -9187,7 +9203,7 @@ var YoutubeNamespace = class {
|
|
|
9187
9203
|
*
|
|
9188
9204
|
* Fetch a YouTube channel's stats (subscribers, video count, total views, description) and the links on its About page, by handle or channel ID.
|
|
9189
9205
|
*
|
|
9190
|
-
* Price: $0.
|
|
9206
|
+
* Price: $0.0005 per request.
|
|
9191
9207
|
*
|
|
9192
9208
|
* @example
|
|
9193
9209
|
* const res = await client.youtube.channel({ handle: "@mkbhd" });
|