@getanyapi/sdk 0.82.0 → 0.83.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 +49 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +54 -5
- package/dist/index.d.ts +54 -5
- package/dist/index.js +49 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1473,6 +1473,22 @@ var AppstoreNamespace = class {
|
|
|
1473
1473
|
reviews(input, options) {
|
|
1474
1474
|
return this._core.run("appstore.reviews", input, options);
|
|
1475
1475
|
}
|
|
1476
|
+
/**
|
|
1477
|
+
* Iterate every result of App Store Reviews across pages.
|
|
1478
|
+
*
|
|
1479
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
1480
|
+
* result pages instead (each carries its own costUsd).
|
|
1481
|
+
*/
|
|
1482
|
+
iterReviews(input, options) {
|
|
1483
|
+
return paginate(
|
|
1484
|
+
this._core,
|
|
1485
|
+
"appstore.reviews",
|
|
1486
|
+
input,
|
|
1487
|
+
"items",
|
|
1488
|
+
false,
|
|
1489
|
+
options
|
|
1490
|
+
);
|
|
1491
|
+
}
|
|
1476
1492
|
};
|
|
1477
1493
|
|
|
1478
1494
|
// src/generated/platforms/bluesky.ts
|
|
@@ -3264,7 +3280,7 @@ var GoogleNamespace = class {
|
|
|
3264
3280
|
*
|
|
3265
3281
|
* 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 cheaper past roughly 20 results.
|
|
3266
3282
|
*
|
|
3267
|
-
* Price: $0.
|
|
3283
|
+
* Price: $0.0005 per request.
|
|
3268
3284
|
*
|
|
3269
3285
|
* @example
|
|
3270
3286
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -6677,6 +6693,22 @@ var TiktokNamespace = class {
|
|
|
6677
6693
|
hashtagVideos(input, options) {
|
|
6678
6694
|
return this._core.run("tiktok.hashtag_videos", input, options);
|
|
6679
6695
|
}
|
|
6696
|
+
/**
|
|
6697
|
+
* Iterate every result of TikTok Hashtag Videos across pages.
|
|
6698
|
+
*
|
|
6699
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
6700
|
+
* result pages instead (each carries its own costUsd).
|
|
6701
|
+
*/
|
|
6702
|
+
iterHashtagVideos(input, options) {
|
|
6703
|
+
return paginate(
|
|
6704
|
+
this._core,
|
|
6705
|
+
"tiktok.hashtag_videos",
|
|
6706
|
+
input,
|
|
6707
|
+
"items",
|
|
6708
|
+
false,
|
|
6709
|
+
options
|
|
6710
|
+
);
|
|
6711
|
+
}
|
|
6680
6712
|
/**
|
|
6681
6713
|
* TikTok Live
|
|
6682
6714
|
*
|
|
@@ -7571,6 +7603,22 @@ var TwitterNamespace = class {
|
|
|
7571
7603
|
replies(input, options) {
|
|
7572
7604
|
return this._core.run("twitter.replies", input, options);
|
|
7573
7605
|
}
|
|
7606
|
+
/**
|
|
7607
|
+
* Iterate every result of X / Twitter Post Replies across pages.
|
|
7608
|
+
*
|
|
7609
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
7610
|
+
* result pages instead (each carries its own costUsd).
|
|
7611
|
+
*/
|
|
7612
|
+
iterReplies(input, options) {
|
|
7613
|
+
return paginate(
|
|
7614
|
+
this._core,
|
|
7615
|
+
"twitter.replies",
|
|
7616
|
+
input,
|
|
7617
|
+
"items",
|
|
7618
|
+
false,
|
|
7619
|
+
options
|
|
7620
|
+
);
|
|
7621
|
+
}
|
|
7574
7622
|
/**
|
|
7575
7623
|
* X / Twitter Search
|
|
7576
7624
|
*
|