@getanyapi/sdk 0.143.11 → 0.143.12
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 +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3084,7 +3084,7 @@ declare class AmazonNamespace {
|
|
|
3084
3084
|
*
|
|
3085
3085
|
* Pull up to 50 customer reviews for any Amazon product by ASIN or URL: rating, title, text, date, and verified-purchase badge.
|
|
3086
3086
|
*
|
|
3087
|
-
* Price: $0.
|
|
3087
|
+
* Price: $0.018 per request.
|
|
3088
3088
|
*
|
|
3089
3089
|
* @example
|
|
3090
3090
|
* const res = await client.amazon.reviews({ product: "B07PXGQC1Q", limit: 3 });
|
|
@@ -7761,7 +7761,7 @@ declare class BookingNamespace {
|
|
|
7761
7761
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
7762
7762
|
*
|
|
7763
7763
|
* @example
|
|
7764
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-
|
|
7764
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-01", checkOut: "2026-12-03", limit: 3 });
|
|
7765
7765
|
*/
|
|
7766
7766
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
7767
7767
|
}
|
|
@@ -26503,7 +26503,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26503
26503
|
* Price: $0.0015 per request.
|
|
26504
26504
|
*
|
|
26505
26505
|
* @example
|
|
26506
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-
|
|
26506
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-01", checkOut: "2026-12-03", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
26507
26507
|
*/
|
|
26508
26508
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
26509
26509
|
/**
|
|
@@ -26514,7 +26514,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26514
26514
|
* Price: $0.0015 per request.
|
|
26515
26515
|
*
|
|
26516
26516
|
* @example
|
|
26517
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-
|
|
26517
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-01", checkOut: "2026-12-03", country: "us", query: "hotels near times square new york" });
|
|
26518
26518
|
*/
|
|
26519
26519
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
26520
26520
|
}
|
|
@@ -67665,7 +67665,7 @@ declare class TiktokNamespace {
|
|
|
67665
67665
|
*
|
|
67666
67666
|
* Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
|
|
67667
67667
|
*
|
|
67668
|
-
* Price: $0.
|
|
67668
|
+
* Price: $0.00045 per request.
|
|
67669
67669
|
*
|
|
67670
67670
|
* @example
|
|
67671
67671
|
* const res = await client.tiktok.video({ url: "https://www.tiktok.com/@mrbeast/video/7654638524729216287?_r=1&u_code=elgjf3ff8cajhk&preview_pb=0&sharer_language=en&_d=elh6737j6kjl71&share_item_id=7654638524729216287&source=h5_m" });
|
package/dist/index.d.ts
CHANGED
|
@@ -3084,7 +3084,7 @@ declare class AmazonNamespace {
|
|
|
3084
3084
|
*
|
|
3085
3085
|
* Pull up to 50 customer reviews for any Amazon product by ASIN or URL: rating, title, text, date, and verified-purchase badge.
|
|
3086
3086
|
*
|
|
3087
|
-
* Price: $0.
|
|
3087
|
+
* Price: $0.018 per request.
|
|
3088
3088
|
*
|
|
3089
3089
|
* @example
|
|
3090
3090
|
* const res = await client.amazon.reviews({ product: "B07PXGQC1Q", limit: 3 });
|
|
@@ -7761,7 +7761,7 @@ declare class BookingNamespace {
|
|
|
7761
7761
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
7762
7762
|
*
|
|
7763
7763
|
* @example
|
|
7764
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-
|
|
7764
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-01", checkOut: "2026-12-03", limit: 3 });
|
|
7765
7765
|
*/
|
|
7766
7766
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
7767
7767
|
}
|
|
@@ -26503,7 +26503,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26503
26503
|
* Price: $0.0015 per request.
|
|
26504
26504
|
*
|
|
26505
26505
|
* @example
|
|
26506
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-
|
|
26506
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-01", checkOut: "2026-12-03", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
26507
26507
|
*/
|
|
26508
26508
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
26509
26509
|
/**
|
|
@@ -26514,7 +26514,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26514
26514
|
* Price: $0.0015 per request.
|
|
26515
26515
|
*
|
|
26516
26516
|
* @example
|
|
26517
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-
|
|
26517
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-01", checkOut: "2026-12-03", country: "us", query: "hotels near times square new york" });
|
|
26518
26518
|
*/
|
|
26519
26519
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
26520
26520
|
}
|
|
@@ -67665,7 +67665,7 @@ declare class TiktokNamespace {
|
|
|
67665
67665
|
*
|
|
67666
67666
|
* Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
|
|
67667
67667
|
*
|
|
67668
|
-
* Price: $0.
|
|
67668
|
+
* Price: $0.00045 per request.
|
|
67669
67669
|
*
|
|
67670
67670
|
* @example
|
|
67671
67671
|
* const res = await client.tiktok.video({ url: "https://www.tiktok.com/@mrbeast/video/7654638524729216287?_r=1&u_code=elgjf3ff8cajhk&preview_pb=0&sharer_language=en&_d=elh6737j6kjl71&share_item_id=7654638524729216287&source=h5_m" });
|
package/dist/index.js
CHANGED
|
@@ -1271,7 +1271,7 @@ var AmazonNamespace = class {
|
|
|
1271
1271
|
*
|
|
1272
1272
|
* Pull up to 50 customer reviews for any Amazon product by ASIN or URL: rating, title, text, date, and verified-purchase badge.
|
|
1273
1273
|
*
|
|
1274
|
-
* Price: $0.
|
|
1274
|
+
* Price: $0.018 per request.
|
|
1275
1275
|
*
|
|
1276
1276
|
* @example
|
|
1277
1277
|
* const res = await client.amazon.reviews({ product: "B07PXGQC1Q", limit: 3 });
|
|
@@ -1671,7 +1671,7 @@ var BookingNamespace = class {
|
|
|
1671
1671
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1672
1672
|
*
|
|
1673
1673
|
* @example
|
|
1674
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-
|
|
1674
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-01", checkOut: "2026-12-03", limit: 3 });
|
|
1675
1675
|
*/
|
|
1676
1676
|
search(input, options) {
|
|
1677
1677
|
return this._core.run("booking.search", input, options);
|
|
@@ -3826,7 +3826,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3826
3826
|
* Price: $0.0015 per request.
|
|
3827
3827
|
*
|
|
3828
3828
|
* @example
|
|
3829
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-
|
|
3829
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-01", checkOut: "2026-12-03", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3830
3830
|
*/
|
|
3831
3831
|
details(input, options) {
|
|
3832
3832
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3839,7 +3839,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3839
3839
|
* Price: $0.0015 per request.
|
|
3840
3840
|
*
|
|
3841
3841
|
* @example
|
|
3842
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-
|
|
3842
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-01", checkOut: "2026-12-03", country: "us", query: "hotels near times square new york" });
|
|
3843
3843
|
*/
|
|
3844
3844
|
search(input, options) {
|
|
3845
3845
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -8046,7 +8046,7 @@ var TiktokNamespace = class {
|
|
|
8046
8046
|
*
|
|
8047
8047
|
* Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
|
|
8048
8048
|
*
|
|
8049
|
-
* Price: $0.
|
|
8049
|
+
* Price: $0.00045 per request.
|
|
8050
8050
|
*
|
|
8051
8051
|
* @example
|
|
8052
8052
|
* const res = await client.tiktok.video({ url: "https://www.tiktok.com/@mrbeast/video/7654638524729216287?_r=1&u_code=elgjf3ff8cajhk&preview_pb=0&sharer_language=en&_d=elh6737j6kjl71&share_item_id=7654638524729216287&source=h5_m" });
|