@getanyapi/sdk 0.143.8 → 0.143.10
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 +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +8 -8
- 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 });
|
|
@@ -3095,7 +3095,7 @@ declare class AmazonNamespace {
|
|
|
3095
3095
|
*
|
|
3096
3096
|
* Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
|
|
3097
3097
|
*
|
|
3098
|
-
* Price: $0.
|
|
3098
|
+
* Price: $0.00075 per request.
|
|
3099
3099
|
*
|
|
3100
3100
|
* @example
|
|
3101
3101
|
* const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", 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-11-
|
|
7764
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-30", checkOut: "2026-12-02", 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-11-
|
|
26506
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-30", checkOut: "2026-12-02", 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-11-
|
|
26517
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-30", checkOut: "2026-12-02", country: "us", query: "hotels near times square new york" });
|
|
26518
26518
|
*/
|
|
26519
26519
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
26520
26520
|
}
|
|
@@ -32036,7 +32036,7 @@ declare class InstagramNamespace {
|
|
|
32036
32036
|
*
|
|
32037
32037
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
32038
32038
|
*
|
|
32039
|
-
* Price: $0.
|
|
32039
|
+
* Price: $0.00175 per request.
|
|
32040
32040
|
*
|
|
32041
32041
|
* @example
|
|
32042
32042
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -39496,7 +39496,7 @@ declare class LinkedinNamespace {
|
|
|
39496
39496
|
*
|
|
39497
39497
|
* Fetch a single LinkedIn post or article by URL (title, text, author, like and comment counts, publish date).
|
|
39498
39498
|
*
|
|
39499
|
-
* Price: $0.
|
|
39499
|
+
* Price: $0.0008 per request.
|
|
39500
39500
|
*
|
|
39501
39501
|
* @example
|
|
39502
39502
|
* const res = await client.linkedin.post({ url: "https://www.linkedin.com/posts/stripe_last-week-agent-traffic-surpassed-human-activity-7470882737390940160-2Nxs" });
|
|
@@ -68609,7 +68609,7 @@ declare class TiktokShopNamespace {
|
|
|
68609
68609
|
*
|
|
68610
68610
|
* Fetch TikTok Shop product details (title, price, sales, seller, and ratings) from a product URL.
|
|
68611
68611
|
*
|
|
68612
|
-
* Price: $0.
|
|
68612
|
+
* Price: $0.00095 per request.
|
|
68613
68613
|
*
|
|
68614
68614
|
* @example
|
|
68615
68615
|
* const res = await client.tiktokShop.product({ url: "https://www.tiktok.com/shop/pdp/goli-ashwagandha-gummies-with-vitamin-d-ksm-66-vegan-non-gmo/1729587769570529799" });
|
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 });
|
|
@@ -3095,7 +3095,7 @@ declare class AmazonNamespace {
|
|
|
3095
3095
|
*
|
|
3096
3096
|
* Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
|
|
3097
3097
|
*
|
|
3098
|
-
* Price: $0.
|
|
3098
|
+
* Price: $0.00075 per request.
|
|
3099
3099
|
*
|
|
3100
3100
|
* @example
|
|
3101
3101
|
* const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", 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-11-
|
|
7764
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-30", checkOut: "2026-12-02", 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-11-
|
|
26506
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-30", checkOut: "2026-12-02", 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-11-
|
|
26517
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-30", checkOut: "2026-12-02", country: "us", query: "hotels near times square new york" });
|
|
26518
26518
|
*/
|
|
26519
26519
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
26520
26520
|
}
|
|
@@ -32036,7 +32036,7 @@ declare class InstagramNamespace {
|
|
|
32036
32036
|
*
|
|
32037
32037
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
32038
32038
|
*
|
|
32039
|
-
* Price: $0.
|
|
32039
|
+
* Price: $0.00175 per request.
|
|
32040
32040
|
*
|
|
32041
32041
|
* @example
|
|
32042
32042
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -39496,7 +39496,7 @@ declare class LinkedinNamespace {
|
|
|
39496
39496
|
*
|
|
39497
39497
|
* Fetch a single LinkedIn post or article by URL (title, text, author, like and comment counts, publish date).
|
|
39498
39498
|
*
|
|
39499
|
-
* Price: $0.
|
|
39499
|
+
* Price: $0.0008 per request.
|
|
39500
39500
|
*
|
|
39501
39501
|
* @example
|
|
39502
39502
|
* const res = await client.linkedin.post({ url: "https://www.linkedin.com/posts/stripe_last-week-agent-traffic-surpassed-human-activity-7470882737390940160-2Nxs" });
|
|
@@ -68609,7 +68609,7 @@ declare class TiktokShopNamespace {
|
|
|
68609
68609
|
*
|
|
68610
68610
|
* Fetch TikTok Shop product details (title, price, sales, seller, and ratings) from a product URL.
|
|
68611
68611
|
*
|
|
68612
|
-
* Price: $0.
|
|
68612
|
+
* Price: $0.00095 per request.
|
|
68613
68613
|
*
|
|
68614
68614
|
* @example
|
|
68615
68615
|
* const res = await client.tiktokShop.product({ url: "https://www.tiktok.com/shop/pdp/goli-ashwagandha-gummies-with-vitamin-d-ksm-66-vegan-non-gmo/1729587769570529799" });
|
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 });
|
|
@@ -1284,7 +1284,7 @@ var AmazonNamespace = class {
|
|
|
1284
1284
|
*
|
|
1285
1285
|
* Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
|
|
1286
1286
|
*
|
|
1287
|
-
* Price: $0.
|
|
1287
|
+
* Price: $0.00075 per request.
|
|
1288
1288
|
*
|
|
1289
1289
|
* @example
|
|
1290
1290
|
* const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", 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-11-
|
|
1674
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-30", checkOut: "2026-12-02", 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-11-
|
|
3829
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-30", checkOut: "2026-12-02", 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-11-
|
|
3842
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-30", checkOut: "2026-12-02", 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);
|
|
@@ -4510,7 +4510,7 @@ var InstagramNamespace = class {
|
|
|
4510
4510
|
*
|
|
4511
4511
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
4512
4512
|
*
|
|
4513
|
-
* Price: $0.
|
|
4513
|
+
* Price: $0.00175 per request.
|
|
4514
4514
|
*
|
|
4515
4515
|
* @example
|
|
4516
4516
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -5007,7 +5007,7 @@ var LinkedinNamespace = class {
|
|
|
5007
5007
|
*
|
|
5008
5008
|
* Fetch a single LinkedIn post or article by URL (title, text, author, like and comment counts, publish date).
|
|
5009
5009
|
*
|
|
5010
|
-
* Price: $0.
|
|
5010
|
+
* Price: $0.0008 per request.
|
|
5011
5011
|
*
|
|
5012
5012
|
* @example
|
|
5013
5013
|
* const res = await client.linkedin.post({ url: "https://www.linkedin.com/posts/stripe_last-week-agent-traffic-surpassed-human-activity-7470882737390940160-2Nxs" });
|
|
@@ -8161,7 +8161,7 @@ var TiktokShopNamespace = class {
|
|
|
8161
8161
|
*
|
|
8162
8162
|
* Fetch TikTok Shop product details (title, price, sales, seller, and ratings) from a product URL.
|
|
8163
8163
|
*
|
|
8164
|
-
* Price: $0.
|
|
8164
|
+
* Price: $0.00095 per request.
|
|
8165
8165
|
*
|
|
8166
8166
|
* @example
|
|
8167
8167
|
* const res = await client.tiktokShop.product({ url: "https://www.tiktok.com/shop/pdp/goli-ashwagandha-gummies-with-vitamin-d-ksm-66-vegan-non-gmo/1729587769570529799" });
|