@getanyapi/sdk 0.142.4 → 0.143.0
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 +15 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +20 -16
- package/dist/index.d.ts +20 -16
- package/dist/index.js +15 -15
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1296,7 +1296,7 @@ var AliexpressNamespace = class {
|
|
|
1296
1296
|
*
|
|
1297
1297
|
* Look up one AliExpress product by id and get its price, original price, rating, reviews count, images, options, variants with stock, specifications, store, ship-from country and delivery estimate in one normalized response.
|
|
1298
1298
|
*
|
|
1299
|
-
* Price: $0.
|
|
1299
|
+
* Price: $0.0009 per request.
|
|
1300
1300
|
*
|
|
1301
1301
|
* @example
|
|
1302
1302
|
* const res = await client.aliexpress.product({ productId: "3256807039224587" });
|
|
@@ -1643,7 +1643,7 @@ var AsosNamespace = class {
|
|
|
1643
1643
|
*
|
|
1644
1644
|
* Fetch an ASOS product by URL from any of its 11 country stores and get title, price, brand, colour, description, images, and per-size stock in one normalized response.
|
|
1645
1645
|
*
|
|
1646
|
-
* Price: $0.
|
|
1646
|
+
* Price: $0.0009 per request.
|
|
1647
1647
|
*
|
|
1648
1648
|
* @example
|
|
1649
1649
|
* const res = await client.asos.product({ url: "https://www.asos.com/pullbear/pullbear-casual-trainers-in-white/prd/211299341" });
|
|
@@ -1703,7 +1703,7 @@ var BestbuyNamespace = class {
|
|
|
1703
1703
|
*
|
|
1704
1704
|
* Search BestBuy.com by keyword with optional sort, price-range, and page filters and get title, price, rating, and brand for each product in one normalized response.
|
|
1705
1705
|
*
|
|
1706
|
-
* Price: $0.
|
|
1706
|
+
* Price: $0.0009 per request.
|
|
1707
1707
|
*
|
|
1708
1708
|
* @example
|
|
1709
1709
|
* const res = await client.bestbuy.search({ query: "airpods" });
|
|
@@ -1808,7 +1808,7 @@ var BookingNamespace = class {
|
|
|
1808
1808
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1809
1809
|
*
|
|
1810
1810
|
* @example
|
|
1811
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
1811
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-29", checkOut: "2026-12-01", limit: 3 });
|
|
1812
1812
|
*/
|
|
1813
1813
|
search(input, options) {
|
|
1814
1814
|
return this._core.run("booking.search", input, options);
|
|
@@ -2604,7 +2604,7 @@ var EtsyNamespace = class {
|
|
|
2604
2604
|
*
|
|
2605
2605
|
* Look up one Etsy listing by id and get its price, images, description, rating, reviews count, shop, category, variations, stock, ship-from country, favorites and materials in one normalized response.
|
|
2606
2606
|
*
|
|
2607
|
-
* Price: $0.
|
|
2607
|
+
* Price: $0.0009 per request.
|
|
2608
2608
|
*
|
|
2609
2609
|
* @example
|
|
2610
2610
|
* const res = await client.etsy.product({ listingId: "1810545592" });
|
|
@@ -2617,7 +2617,7 @@ var EtsyNamespace = class {
|
|
|
2617
2617
|
*
|
|
2618
2618
|
* Search Etsy listings by keyword, the same results an Etsy search or /market page shows, with optional sort, price range and page, and get title, price, original price, image, shop, rating and ad flag for each listing in one normalized response.
|
|
2619
2619
|
*
|
|
2620
|
-
* Price: $0.
|
|
2620
|
+
* Price: $0.0009 per request.
|
|
2621
2621
|
*
|
|
2622
2622
|
* @example
|
|
2623
2623
|
* const res = await client.etsy.search({ query: "cover letter template" });
|
|
@@ -2630,7 +2630,7 @@ var EtsyNamespace = class {
|
|
|
2630
2630
|
*
|
|
2631
2631
|
* Look up one Etsy shop by name and get its id, location, sales, active listings, rating, reviews count, followers, description, logo and banner in one normalized response.
|
|
2632
2632
|
*
|
|
2633
|
-
* Price: $0.
|
|
2633
|
+
* Price: $0.0009 per request.
|
|
2634
2634
|
*
|
|
2635
2635
|
* @example
|
|
2636
2636
|
* const res = await client.etsy.shop({ shopName: "StudioStelleHD" });
|
|
@@ -2643,7 +2643,7 @@ var EtsyNamespace = class {
|
|
|
2643
2643
|
*
|
|
2644
2644
|
* List one Etsy shop's active listings by shop name, a page at a time, and get title, price, original price and image for each listing in one normalized response.
|
|
2645
2645
|
*
|
|
2646
|
-
* Price: $0.
|
|
2646
|
+
* Price: $0.0009 per request.
|
|
2647
2647
|
*
|
|
2648
2648
|
* @example
|
|
2649
2649
|
* const res = await client.etsy.shopListings({ shopName: "StudioStelleHD" });
|
|
@@ -3774,7 +3774,7 @@ var GoogleNamespace = class {
|
|
|
3774
3774
|
*
|
|
3775
3775
|
* Search Google Scholar for academic papers with title, authors, citation count, and PDF link.
|
|
3776
3776
|
*
|
|
3777
|
-
* Price: $0.
|
|
3777
|
+
* Price: $0.00085 per request.
|
|
3778
3778
|
*
|
|
3779
3779
|
* @example
|
|
3780
3780
|
* const res = await client.google.scholar({ query: "attention is all you need" });
|
|
@@ -3963,7 +3963,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3963
3963
|
* Price: $0.0015 per request.
|
|
3964
3964
|
*
|
|
3965
3965
|
* @example
|
|
3966
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
3966
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-29", checkOut: "2026-12-01", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3967
3967
|
*/
|
|
3968
3968
|
details(input, options) {
|
|
3969
3969
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3976,7 +3976,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3976
3976
|
* Price: $0.0015 per request.
|
|
3977
3977
|
*
|
|
3978
3978
|
* @example
|
|
3979
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
3979
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-29", checkOut: "2026-12-01", country: "us", query: "hotels near times square new york" });
|
|
3980
3980
|
*/
|
|
3981
3981
|
search(input, options) {
|
|
3982
3982
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -5293,7 +5293,7 @@ var LinkedinNamespace = class {
|
|
|
5293
5293
|
*
|
|
5294
5294
|
* Lightweight profile: name, avatar, location, followers, public id, current company, and a basic experience/education list (company + dates; job titles, the current-role flag and the connections label only where the source and the profile show them; no descriptions or skills; past companies may be redacted). For full experience detail, skills, certifications, and verified flags use linkedin.profile.
|
|
5295
5295
|
*
|
|
5296
|
-
* Price: $0.
|
|
5296
|
+
* Price: $0.0008 per request.
|
|
5297
5297
|
*
|
|
5298
5298
|
* @example
|
|
5299
5299
|
* const res = await client.linkedin.profileThin({ url: "https://www.linkedin.com/in/williamhgates" });
|
|
@@ -5510,7 +5510,7 @@ var MapsNamespace = class {
|
|
|
5510
5510
|
*
|
|
5511
5511
|
* Fetch up to 100 Google Maps reviews for a place by place ID, sorted the way you need, in one normalized response.
|
|
5512
5512
|
*
|
|
5513
|
-
* Price: $0.
|
|
5513
|
+
* Price: $0.00015 per request plus $0.00002 per result (maximum $0.00215).
|
|
5514
5514
|
*
|
|
5515
5515
|
* @example
|
|
5516
5516
|
* const res = await client.maps.reviews({ placeId: "ChIJN1t_tDeuEmsRUsoyG83frY4", limit: 3 });
|
|
@@ -6352,7 +6352,7 @@ var RedditNamespace = class {
|
|
|
6352
6352
|
*
|
|
6353
6353
|
* List a Reddit user's comments by username, sorted by new, top, hot, or controversial, with the parent post title and subreddit on every item and cursor pagination. Comment text may be truncated to a roughly 300-character preview, and this endpoint carries no per-comment permalink; use reddit.post_comments for full comment bodies and comment URLs on a given post.
|
|
6354
6354
|
*
|
|
6355
|
-
* Price: $0.
|
|
6355
|
+
* Price: $0.0006 per request.
|
|
6356
6356
|
*
|
|
6357
6357
|
* @example
|
|
6358
6358
|
* const res = await client.reddit.userComments({ username: "spez" });
|
|
@@ -7563,7 +7563,7 @@ var TiktokNamespace = class {
|
|
|
7563
7563
|
*
|
|
7564
7564
|
* Search TikTok's public Ads Library by keyword or advertiser (advertiser, title, audience band, run dates, library link, and video).
|
|
7565
7565
|
*
|
|
7566
|
-
* Price: $0.
|
|
7566
|
+
* Price: $0.0008 per request.
|
|
7567
7567
|
*
|
|
7568
7568
|
* @example
|
|
7569
7569
|
* const res = await client.tiktok.adLibrarySearch({ query: "spotify" });
|