@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.d.cts CHANGED
@@ -5780,7 +5780,7 @@ declare class BookingNamespace {
5780
5780
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
5781
5781
  *
5782
5782
  * @example
5783
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-16", checkOut: "2026-11-18", limit: 3 });
5783
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-17", checkOut: "2026-11-19", limit: 3 });
5784
5784
  */
5785
5785
  search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
5786
5786
  }
@@ -23858,7 +23858,7 @@ declare class GoogleHotelsNamespace {
23858
23858
  * Price: $0.0015 per request.
23859
23859
  *
23860
23860
  * @example
23861
- * const res = await client.googleHotels.details({ checkIn: "2026-11-16", checkOut: "2026-11-18", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
23861
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
23862
23862
  */
23863
23863
  details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
23864
23864
  /**
@@ -23869,7 +23869,7 @@ declare class GoogleHotelsNamespace {
23869
23869
  * Price: $0.0015 per request.
23870
23870
  *
23871
23871
  * @example
23872
- * const res = await client.googleHotels.search({ checkIn: "2026-11-16", checkOut: "2026-11-18", country: "us", query: "hotels near times square new york" });
23872
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", query: "hotels near times square new york" });
23873
23873
  */
23874
23874
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
23875
23875
  }
@@ -29268,7 +29268,7 @@ declare class InstagramNamespace {
29268
29268
  *
29269
29269
  * List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
29270
29270
  *
29271
- * Price: $0.00175 per request.
29271
+ * Price: $0.0024 per request.
29272
29272
  *
29273
29273
  * @example
29274
29274
  * const res = await client.instagram.similarProfiles({ handle: "nasa" });
@@ -48156,7 +48156,7 @@ declare class RedditNamespace {
48156
48156
  *
48157
48157
  * List the comments on a Reddit post by URL (author, body, score, timestamp, parent comment). Replies carry the parentId of the comment they answer.
48158
48158
  *
48159
- * Price: $0.0012 per request.
48159
+ * Price: $0.0006 per request.
48160
48160
  *
48161
48161
  * @example
48162
48162
  * const res = await client.reddit.postComments({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
@@ -48225,7 +48225,7 @@ declare class RedditNamespace {
48225
48225
  *
48226
48226
  * Fetch posts from a subreddit listing (hot, new, or top).
48227
48227
  *
48228
- * Price: $0.0008 per request.
48228
+ * Price: $0.00038 per request.
48229
48229
  *
48230
48230
  * @example
48231
48231
  * const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
@@ -60498,7 +60498,7 @@ declare class TiktokNamespace {
60498
60498
  *
60499
60499
  * 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.
60500
60500
  *
60501
- * Price: $0.0012 per request.
60501
+ * Price: $0.0008 per request.
60502
60502
  *
60503
60503
  * @example
60504
60504
  * const res = await client.tiktok.trendingFeed({ region: "US" });
package/dist/index.d.ts CHANGED
@@ -5780,7 +5780,7 @@ declare class BookingNamespace {
5780
5780
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
5781
5781
  *
5782
5782
  * @example
5783
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-16", checkOut: "2026-11-18", limit: 3 });
5783
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-17", checkOut: "2026-11-19", limit: 3 });
5784
5784
  */
5785
5785
  search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
5786
5786
  }
@@ -23858,7 +23858,7 @@ declare class GoogleHotelsNamespace {
23858
23858
  * Price: $0.0015 per request.
23859
23859
  *
23860
23860
  * @example
23861
- * const res = await client.googleHotels.details({ checkIn: "2026-11-16", checkOut: "2026-11-18", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
23861
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
23862
23862
  */
23863
23863
  details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
23864
23864
  /**
@@ -23869,7 +23869,7 @@ declare class GoogleHotelsNamespace {
23869
23869
  * Price: $0.0015 per request.
23870
23870
  *
23871
23871
  * @example
23872
- * const res = await client.googleHotels.search({ checkIn: "2026-11-16", checkOut: "2026-11-18", country: "us", query: "hotels near times square new york" });
23872
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", query: "hotels near times square new york" });
23873
23873
  */
23874
23874
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
23875
23875
  }
@@ -29268,7 +29268,7 @@ declare class InstagramNamespace {
29268
29268
  *
29269
29269
  * List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
29270
29270
  *
29271
- * Price: $0.00175 per request.
29271
+ * Price: $0.0024 per request.
29272
29272
  *
29273
29273
  * @example
29274
29274
  * const res = await client.instagram.similarProfiles({ handle: "nasa" });
@@ -48156,7 +48156,7 @@ declare class RedditNamespace {
48156
48156
  *
48157
48157
  * List the comments on a Reddit post by URL (author, body, score, timestamp, parent comment). Replies carry the parentId of the comment they answer.
48158
48158
  *
48159
- * Price: $0.0012 per request.
48159
+ * Price: $0.0006 per request.
48160
48160
  *
48161
48161
  * @example
48162
48162
  * const res = await client.reddit.postComments({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
@@ -48225,7 +48225,7 @@ declare class RedditNamespace {
48225
48225
  *
48226
48226
  * Fetch posts from a subreddit listing (hot, new, or top).
48227
48227
  *
48228
- * Price: $0.0008 per request.
48228
+ * Price: $0.00038 per request.
48229
48229
  *
48230
48230
  * @example
48231
48231
  * const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
@@ -60498,7 +60498,7 @@ declare class TiktokNamespace {
60498
60498
  *
60499
60499
  * 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.
60500
60500
  *
60501
- * Price: $0.0012 per request.
60501
+ * Price: $0.0008 per request.
60502
60502
  *
60503
60503
  * @example
60504
60504
  * const res = await client.tiktok.trendingFeed({ region: "US" });
package/dist/index.js CHANGED
@@ -1491,7 +1491,7 @@ var BookingNamespace = class {
1491
1491
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
1492
1492
  *
1493
1493
  * @example
1494
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-16", checkOut: "2026-11-18", limit: 3 });
1494
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-17", checkOut: "2026-11-19", limit: 3 });
1495
1495
  */
1496
1496
  search(input, options) {
1497
1497
  return this._core.run("booking.search", input, options);
@@ -3544,7 +3544,7 @@ var GoogleHotelsNamespace = class {
3544
3544
  * Price: $0.0015 per request.
3545
3545
  *
3546
3546
  * @example
3547
- * const res = await client.googleHotels.details({ checkIn: "2026-11-16", checkOut: "2026-11-18", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3547
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3548
3548
  */
3549
3549
  details(input, options) {
3550
3550
  return this._core.run("google_hotels.details", input, options);
@@ -3557,7 +3557,7 @@ var GoogleHotelsNamespace = class {
3557
3557
  * Price: $0.0015 per request.
3558
3558
  *
3559
3559
  * @example
3560
- * const res = await client.googleHotels.search({ checkIn: "2026-11-16", checkOut: "2026-11-18", country: "us", query: "hotels near times square new york" });
3560
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", query: "hotels near times square new york" });
3561
3561
  */
3562
3562
  search(input, options) {
3563
3563
  return this._core.run("google_hotels.search", input, options);
@@ -4207,7 +4207,7 @@ var InstagramNamespace = class {
4207
4207
  *
4208
4208
  * List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
4209
4209
  *
4210
- * Price: $0.00175 per request.
4210
+ * Price: $0.0024 per request.
4211
4211
  *
4212
4212
  * @example
4213
4213
  * const res = await client.instagram.similarProfiles({ handle: "nasa" });
@@ -5611,7 +5611,7 @@ var RedditNamespace = class {
5611
5611
  *
5612
5612
  * List the comments on a Reddit post by URL (author, body, score, timestamp, parent comment). Replies carry the parentId of the comment they answer.
5613
5613
  *
5614
- * Price: $0.0012 per request.
5614
+ * Price: $0.0006 per request.
5615
5615
  *
5616
5616
  * @example
5617
5617
  * const res = await client.reddit.postComments({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
@@ -5708,7 +5708,7 @@ var RedditNamespace = class {
5708
5708
  *
5709
5709
  * Fetch posts from a subreddit listing (hot, new, or top).
5710
5710
  *
5711
- * Price: $0.0008 per request.
5711
+ * Price: $0.00038 per request.
5712
5712
  *
5713
5713
  * @example
5714
5714
  * const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
@@ -7333,7 +7333,7 @@ var TiktokNamespace = class {
7333
7333
  *
7334
7334
  * 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.
7335
7335
  *
7336
- * Price: $0.0012 per request.
7336
+ * Price: $0.0008 per request.
7337
7337
  *
7338
7338
  * @example
7339
7339
  * const res = await client.tiktok.trendingFeed({ region: "US" });