@getanyapi/sdk 0.122.0 → 0.123.1

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 CHANGED
@@ -28,8 +28,10 @@ __export(index_exports, {
28
28
  AnyAPIError: () => AnyAPIError,
29
29
  ApolloNamespace: () => ApolloNamespace,
30
30
  AppstoreNamespace: () => AppstoreNamespace,
31
+ AsosNamespace: () => AsosNamespace,
31
32
  AuthenticationError: () => AuthenticationError,
32
33
  BadRequestError: () => BadRequestError,
34
+ BestbuyNamespace: () => BestbuyNamespace,
33
35
  BingNamespace: () => BingNamespace,
34
36
  BlueskyNamespace: () => BlueskyNamespace,
35
37
  BookingNamespace: () => BookingNamespace,
@@ -62,6 +64,7 @@ __export(index_exports, {
62
64
  GoogleNamespace: () => GoogleNamespace,
63
65
  GoogleShoppingNamespace: () => GoogleShoppingNamespace,
64
66
  HackernewsNamespace: () => HackernewsNamespace,
67
+ IkeaNamespace: () => IkeaNamespace,
65
68
  IndeedNamespace: () => IndeedNamespace,
66
69
  InstagramNamespace: () => InstagramNamespace,
67
70
  InsufficientBalanceError: () => InsufficientBalanceError,
@@ -91,14 +94,17 @@ __export(index_exports, {
91
94
  RednoteNamespace: () => RednoteNamespace,
92
95
  RequestPendingError: () => RequestPendingError,
93
96
  ResultNotFoundError: () => ResultNotFoundError,
97
+ SamsclubNamespace: () => SamsclubNamespace,
94
98
  SecNamespace: () => SecNamespace,
95
99
  SemrushNamespace: () => SemrushNamespace,
96
100
  SeoNamespace: () => SeoNamespace,
97
101
  SimilarwebNamespace: () => SimilarwebNamespace,
102
+ SlickdealsNamespace: () => SlickdealsNamespace,
98
103
  SnapchatNamespace: () => SnapchatNamespace,
99
104
  SocialNamespace: () => SocialNamespace,
100
105
  SpotifyNamespace: () => SpotifyNamespace,
101
106
  SubstackNamespace: () => SubstackNamespace,
107
+ TargetNamespace: () => TargetNamespace,
102
108
  TechnographicsNamespace: () => TechnographicsNamespace,
103
109
  TelegramNamespace: () => TelegramNamespace,
104
110
  ThreadsNamespace: () => ThreadsNamespace,
@@ -1524,6 +1530,87 @@ var AppstoreNamespace = class {
1524
1530
  }
1525
1531
  };
1526
1532
 
1533
+ // src/generated/platforms/asos.ts
1534
+ var AsosNamespace = class {
1535
+ constructor(_core) {
1536
+ this._core = _core;
1537
+ }
1538
+ _core;
1539
+ /**
1540
+ * ASOS Product
1541
+ *
1542
+ * 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.
1543
+ *
1544
+ * Price: $0.00085 per request.
1545
+ *
1546
+ * @example
1547
+ * const res = await client.asos.product({ url: "https://www.asos.com/pullbear/pullbear-casual-trainers-in-white/prd/211299341" });
1548
+ */
1549
+ product(input, options) {
1550
+ return this._core.run("asos.product", input, options);
1551
+ }
1552
+ /**
1553
+ * ASOS Search
1554
+ *
1555
+ * Search ASOS by keyword in any of its 11 country stores with optional sort, price-range, and page filters and get title, price, brand, and colour for each product in one normalized response.
1556
+ *
1557
+ * Price: $0.00085 per request.
1558
+ *
1559
+ * @example
1560
+ * const res = await client.asos.search({ query: "white sneakers", country: "us" });
1561
+ */
1562
+ search(input, options) {
1563
+ return this._core.run("asos.search", input, options);
1564
+ }
1565
+ };
1566
+
1567
+ // src/generated/platforms/bestbuy.ts
1568
+ var BestbuyNamespace = class {
1569
+ constructor(_core) {
1570
+ this._core = _core;
1571
+ }
1572
+ _core;
1573
+ /**
1574
+ * Best Buy Product
1575
+ *
1576
+ * Fetch a BestBuy.com product by URL and get title, price, brand, model, UPC, rating, description, and images in one normalized response.
1577
+ *
1578
+ * Price: $0.00085 per request.
1579
+ *
1580
+ * @example
1581
+ * const res = await client.bestbuy.product({ url: "https://www.bestbuy.com/product/apple-airpods-5-true-wireless-active-noise-cancelling-earbuds-with-wireless-charging-case-white/JJGCQP634G/sku/6376564" });
1582
+ */
1583
+ product(input, options) {
1584
+ return this._core.run("bestbuy.product", input, options);
1585
+ }
1586
+ /**
1587
+ * Best Buy Reviews
1588
+ *
1589
+ * Pull a page of 10 customer reviews for any BestBuy.com product by URL, newest first or by relevance, helpfulness, or rating: rating, title, text, date, reviewer, and verified-purchase badge.
1590
+ *
1591
+ * Price: $0.00085 per request.
1592
+ *
1593
+ * @example
1594
+ * const res = await client.bestbuy.reviews({ url: "https://www.bestbuy.com/product/apple-airpods-5-true-wireless-active-noise-cancelling-earbuds-with-wireless-charging-case-white/JJGCQP634G/sku/6376564" });
1595
+ */
1596
+ reviews(input, options) {
1597
+ return this._core.run("bestbuy.reviews", input, options);
1598
+ }
1599
+ /**
1600
+ * Best Buy Search
1601
+ *
1602
+ * 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.
1603
+ *
1604
+ * Price: $0.00085 per request.
1605
+ *
1606
+ * @example
1607
+ * const res = await client.bestbuy.search({ query: "airpods" });
1608
+ */
1609
+ search(input, options) {
1610
+ return this._core.run("bestbuy.search", input, options);
1611
+ }
1612
+ };
1613
+
1527
1614
  // src/generated/platforms/bing.ts
1528
1615
  var BingNamespace = class {
1529
1616
  constructor(_core) {
@@ -3815,6 +3902,27 @@ var HackernewsNamespace = class {
3815
3902
  }
3816
3903
  };
3817
3904
 
3905
+ // src/generated/platforms/ikea.ts
3906
+ var IkeaNamespace = class {
3907
+ constructor(_core) {
3908
+ this._core = _core;
3909
+ }
3910
+ _core;
3911
+ /**
3912
+ * IKEA Search
3913
+ *
3914
+ * Search IKEA's US store by keyword and get title, price, rating, and image for each product in one normalized response.
3915
+ *
3916
+ * Price: $0.00085 per request.
3917
+ *
3918
+ * @example
3919
+ * const res = await client.ikea.search({ query: "bookshelf" });
3920
+ */
3921
+ search(input, options) {
3922
+ return this._core.run("ikea.search", input, options);
3923
+ }
3924
+ };
3925
+
3818
3926
  // src/generated/platforms/indeed.ts
3819
3927
  var IndeedNamespace = class {
3820
3928
  constructor(_core) {
@@ -4377,7 +4485,7 @@ var InstagramNamespace = class {
4377
4485
  *
4378
4486
  * List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
4379
4487
  *
4380
- * Price: $0.00175 per request.
4488
+ * Price: $0.0024 per request.
4381
4489
  *
4382
4490
  * @example
4383
4491
  * const res = await client.instagram.similarProfiles({ handle: "nasa" });
@@ -6230,6 +6338,40 @@ var RednoteNamespace = class {
6230
6338
  }
6231
6339
  };
6232
6340
 
6341
+ // src/generated/platforms/samsclub.ts
6342
+ var SamsclubNamespace = class {
6343
+ constructor(_core) {
6344
+ this._core = _core;
6345
+ }
6346
+ _core;
6347
+ /**
6348
+ * Sam's Club Product
6349
+ *
6350
+ * Fetch a SamsClub.com product by URL and get title, member price, stock, brand, model, UPC, rating, description, and images in one normalized response.
6351
+ *
6352
+ * Price: $0.00319 per request.
6353
+ *
6354
+ * @example
6355
+ * const res = await client.samsclub.product({ url: "https://www.samsclub.com/ip/Bounty-Select-A-Size-2-Ply-Paper-Towels-12-Rolls-110-sheets-roll/18040450426" });
6356
+ */
6357
+ product(input, options) {
6358
+ return this._core.run("samsclub.product", input, options);
6359
+ }
6360
+ /**
6361
+ * Sam's Club Search
6362
+ *
6363
+ * Search SamsClub.com by keyword with optional sort, price-range, and page filters and get title, member price, stock, and rating for each product in one normalized response.
6364
+ *
6365
+ * Price: $0.00319 per request.
6366
+ *
6367
+ * @example
6368
+ * const res = await client.samsclub.search({ query: "paper towels" });
6369
+ */
6370
+ search(input, options) {
6371
+ return this._core.run("samsclub.search", input, options);
6372
+ }
6373
+ };
6374
+
6233
6375
  // src/generated/platforms/sec.ts
6234
6376
  var SecNamespace = class {
6235
6377
  constructor(_core) {
@@ -6668,6 +6810,40 @@ var SimilarwebNamespace = class {
6668
6810
  }
6669
6811
  };
6670
6812
 
6813
+ // src/generated/platforms/slickdeals.ts
6814
+ var SlickdealsNamespace = class {
6815
+ constructor(_core) {
6816
+ this._core = _core;
6817
+ }
6818
+ _core;
6819
+ /**
6820
+ * Slickdeals Deal
6821
+ *
6822
+ * Fetch one Slickdeals deal by URL and get title, price, list price, store, coupon code, score, views, comments, and description in one normalized response.
6823
+ *
6824
+ * Price: $0.00213 per request.
6825
+ *
6826
+ * @example
6827
+ * const res = await client.slickdeals.deal({ url: "https://slickdeals.net/f/20177112-lg-55-c6-series-oled-evo-ai-4k-smart-webos-tv-2026-best-buy-amazon-999-99" });
6828
+ */
6829
+ deal(input, options) {
6830
+ return this._core.run("slickdeals.deal", input, options);
6831
+ }
6832
+ /**
6833
+ * Slickdeals Search
6834
+ *
6835
+ * Search Slickdeals deals by keyword with optional sort, price, discount, and page filters and get title, price, list price, store, score, and comment count for each deal in one normalized response.
6836
+ *
6837
+ * Price: $0.00213 per request.
6838
+ *
6839
+ * @example
6840
+ * const res = await client.slickdeals.search({ query: "airpods" });
6841
+ */
6842
+ search(input, options) {
6843
+ return this._core.run("slickdeals.search", input, options);
6844
+ }
6845
+ };
6846
+
6671
6847
  // src/generated/platforms/snapchat.ts
6672
6848
  var SnapchatNamespace = class {
6673
6849
  constructor(_core) {
@@ -6846,6 +7022,53 @@ var SubstackNamespace = class {
6846
7022
  }
6847
7023
  };
6848
7024
 
7025
+ // src/generated/platforms/target.ts
7026
+ var TargetNamespace = class {
7027
+ constructor(_core) {
7028
+ this._core = _core;
7029
+ }
7030
+ _core;
7031
+ /**
7032
+ * Target Product
7033
+ *
7034
+ * Fetch a Target.com product by URL and get title, price, brand, rating, description, and images in one normalized response.
7035
+ *
7036
+ * Price: $0.00085 per request.
7037
+ *
7038
+ * @example
7039
+ * const res = await client.target.product({ url: "https://www.target.com/p/mr-coffee-12c-programmable-drip-coffee-maker-stainless-steel-finish/-/A-91863920" });
7040
+ */
7041
+ product(input, options) {
7042
+ return this._core.run("target.product", input, options);
7043
+ }
7044
+ /**
7045
+ * Target Reviews
7046
+ *
7047
+ * Pull a page of 10 customer reviews for any Target.com product by URL, newest first or by helpfulness or rating: rating, title, text, date, reviewer, and verified-purchase badge.
7048
+ *
7049
+ * Price: $0.00085 per request.
7050
+ *
7051
+ * @example
7052
+ * const res = await client.target.reviews({ url: "https://www.target.com/p/mr-coffee-12c-programmable-drip-coffee-maker-stainless-steel-finish/-/A-91863920" });
7053
+ */
7054
+ reviews(input, options) {
7055
+ return this._core.run("target.reviews", input, options);
7056
+ }
7057
+ /**
7058
+ * Target Search
7059
+ *
7060
+ * Search Target.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.
7061
+ *
7062
+ * Price: $0.00085 per request.
7063
+ *
7064
+ * @example
7065
+ * const res = await client.target.search({ query: "coffee maker" });
7066
+ */
7067
+ search(input, options) {
7068
+ return this._core.run("target.search", input, options);
7069
+ }
7070
+ };
7071
+
6849
7072
  // src/generated/platforms/technographics.ts
6850
7073
  var TechnographicsNamespace = class {
6851
7074
  constructor(_core) {
@@ -9226,6 +9449,22 @@ var AnyAPI2 = class extends AnyAPI {
9226
9449
  this._core
9227
9450
  );
9228
9451
  }
9452
+ /**
9453
+ * Typed methods for the asos platform.
9454
+ */
9455
+ get asos() {
9456
+ return this._namespaces["asos"] ??= new AsosNamespace(
9457
+ this._core
9458
+ );
9459
+ }
9460
+ /**
9461
+ * Typed methods for the bestbuy platform.
9462
+ */
9463
+ get bestbuy() {
9464
+ return this._namespaces["bestbuy"] ??= new BestbuyNamespace(
9465
+ this._core
9466
+ );
9467
+ }
9229
9468
  /**
9230
9469
  * Typed methods for the bing platform.
9231
9470
  */
@@ -9466,6 +9705,14 @@ var AnyAPI2 = class extends AnyAPI {
9466
9705
  this._core
9467
9706
  );
9468
9707
  }
9708
+ /**
9709
+ * Typed methods for the ikea platform.
9710
+ */
9711
+ get ikea() {
9712
+ return this._namespaces["ikea"] ??= new IkeaNamespace(
9713
+ this._core
9714
+ );
9715
+ }
9469
9716
  /**
9470
9717
  * Typed methods for the indeed platform.
9471
9718
  */
@@ -9646,6 +9893,14 @@ var AnyAPI2 = class extends AnyAPI {
9646
9893
  this._core
9647
9894
  );
9648
9895
  }
9896
+ /**
9897
+ * Typed methods for the samsclub platform.
9898
+ */
9899
+ get samsclub() {
9900
+ return this._namespaces["samsclub"] ??= new SamsclubNamespace(
9901
+ this._core
9902
+ );
9903
+ }
9649
9904
  /**
9650
9905
  * Typed methods for the sec platform.
9651
9906
  */
@@ -9678,6 +9933,14 @@ var AnyAPI2 = class extends AnyAPI {
9678
9933
  this._core
9679
9934
  );
9680
9935
  }
9936
+ /**
9937
+ * Typed methods for the slickdeals platform.
9938
+ */
9939
+ get slickdeals() {
9940
+ return this._namespaces["slickdeals"] ??= new SlickdealsNamespace(
9941
+ this._core
9942
+ );
9943
+ }
9681
9944
  /**
9682
9945
  * Typed methods for the snapchat platform.
9683
9946
  */
@@ -9710,6 +9973,14 @@ var AnyAPI2 = class extends AnyAPI {
9710
9973
  this._core
9711
9974
  );
9712
9975
  }
9976
+ /**
9977
+ * Typed methods for the target platform.
9978
+ */
9979
+ get target() {
9980
+ return this._namespaces["target"] ??= new TargetNamespace(
9981
+ this._core
9982
+ );
9983
+ }
9713
9984
  /**
9714
9985
  * Typed methods for the technographics platform.
9715
9986
  */
@@ -9873,8 +10144,10 @@ var AnyAPI2 = class extends AnyAPI {
9873
10144
  AnyAPIError,
9874
10145
  ApolloNamespace,
9875
10146
  AppstoreNamespace,
10147
+ AsosNamespace,
9876
10148
  AuthenticationError,
9877
10149
  BadRequestError,
10150
+ BestbuyNamespace,
9878
10151
  BingNamespace,
9879
10152
  BlueskyNamespace,
9880
10153
  BookingNamespace,
@@ -9907,6 +10180,7 @@ var AnyAPI2 = class extends AnyAPI {
9907
10180
  GoogleNamespace,
9908
10181
  GoogleShoppingNamespace,
9909
10182
  HackernewsNamespace,
10183
+ IkeaNamespace,
9910
10184
  IndeedNamespace,
9911
10185
  InstagramNamespace,
9912
10186
  InsufficientBalanceError,
@@ -9936,14 +10210,17 @@ var AnyAPI2 = class extends AnyAPI {
9936
10210
  RednoteNamespace,
9937
10211
  RequestPendingError,
9938
10212
  ResultNotFoundError,
10213
+ SamsclubNamespace,
9939
10214
  SecNamespace,
9940
10215
  SemrushNamespace,
9941
10216
  SeoNamespace,
9942
10217
  SimilarwebNamespace,
10218
+ SlickdealsNamespace,
9943
10219
  SnapchatNamespace,
9944
10220
  SocialNamespace,
9945
10221
  SpotifyNamespace,
9946
10222
  SubstackNamespace,
10223
+ TargetNamespace,
9947
10224
  TechnographicsNamespace,
9948
10225
  TelegramNamespace,
9949
10226
  ThreadsNamespace,