@getanyapi/sdk 0.119.0 → 0.119.2
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 +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1614,7 +1614,7 @@ var BookingNamespace = class {
|
|
|
1614
1614
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1615
1615
|
*
|
|
1616
1616
|
* @example
|
|
1617
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
1617
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-17", checkOut: "2026-11-19", limit: 3 });
|
|
1618
1618
|
*/
|
|
1619
1619
|
search(input, options) {
|
|
1620
1620
|
return this._core.run("booking.search", input, options);
|
|
@@ -3667,7 +3667,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3667
3667
|
* Price: $0.0015 per request.
|
|
3668
3668
|
*
|
|
3669
3669
|
* @example
|
|
3670
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
3670
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3671
3671
|
*/
|
|
3672
3672
|
details(input, options) {
|
|
3673
3673
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3680,7 +3680,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3680
3680
|
* Price: $0.0015 per request.
|
|
3681
3681
|
*
|
|
3682
3682
|
* @example
|
|
3683
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
3683
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", query: "hotels near times square new york" });
|
|
3684
3684
|
*/
|
|
3685
3685
|
search(input, options) {
|
|
3686
3686
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -4330,7 +4330,7 @@ var InstagramNamespace = class {
|
|
|
4330
4330
|
*
|
|
4331
4331
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
4332
4332
|
*
|
|
4333
|
-
* Price: $0.
|
|
4333
|
+
* Price: $0.0024 per request.
|
|
4334
4334
|
*
|
|
4335
4335
|
* @example
|
|
4336
4336
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -5734,7 +5734,7 @@ var RedditNamespace = class {
|
|
|
5734
5734
|
*
|
|
5735
5735
|
* List the comments on a Reddit post by URL (author, body, score, timestamp, parent comment). Replies carry the parentId of the comment they answer.
|
|
5736
5736
|
*
|
|
5737
|
-
* Price: $0.
|
|
5737
|
+
* Price: $0.0006 per request.
|
|
5738
5738
|
*
|
|
5739
5739
|
* @example
|
|
5740
5740
|
* const res = await client.reddit.postComments({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
|
|
@@ -5831,7 +5831,7 @@ var RedditNamespace = class {
|
|
|
5831
5831
|
*
|
|
5832
5832
|
* Fetch posts from a subreddit listing (hot, new, or top).
|
|
5833
5833
|
*
|
|
5834
|
-
* Price: $0.
|
|
5834
|
+
* Price: $0.00038 per request.
|
|
5835
5835
|
*
|
|
5836
5836
|
* @example
|
|
5837
5837
|
* const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
|
|
@@ -7456,7 +7456,7 @@ var TiktokNamespace = class {
|
|
|
7456
7456
|
*
|
|
7457
7457
|
* 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.
|
|
7458
7458
|
*
|
|
7459
|
-
* Price: $0.
|
|
7459
|
+
* Price: $0.0008 per request.
|
|
7460
7460
|
*
|
|
7461
7461
|
* @example
|
|
7462
7462
|
* const res = await client.tiktok.trendingFeed({ region: "US" });
|