@getanyapi/sdk 0.122.0 → 0.123.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 +277 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1730 -1
- package/dist/index.d.ts +1730 -1
- package/dist/index.js +271 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1396,6 +1396,87 @@ var AppstoreNamespace = class {
|
|
|
1396
1396
|
}
|
|
1397
1397
|
};
|
|
1398
1398
|
|
|
1399
|
+
// src/generated/platforms/asos.ts
|
|
1400
|
+
var AsosNamespace = class {
|
|
1401
|
+
constructor(_core) {
|
|
1402
|
+
this._core = _core;
|
|
1403
|
+
}
|
|
1404
|
+
_core;
|
|
1405
|
+
/**
|
|
1406
|
+
* ASOS Product
|
|
1407
|
+
*
|
|
1408
|
+
* 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.
|
|
1409
|
+
*
|
|
1410
|
+
* Price: $0.00085 per request.
|
|
1411
|
+
*
|
|
1412
|
+
* @example
|
|
1413
|
+
* const res = await client.asos.product({ url: "https://www.asos.com/pullbear/pullbear-casual-trainers-in-white/prd/211299341" });
|
|
1414
|
+
*/
|
|
1415
|
+
product(input, options) {
|
|
1416
|
+
return this._core.run("asos.product", input, options);
|
|
1417
|
+
}
|
|
1418
|
+
/**
|
|
1419
|
+
* ASOS Search
|
|
1420
|
+
*
|
|
1421
|
+
* 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.
|
|
1422
|
+
*
|
|
1423
|
+
* Price: $0.00085 per request.
|
|
1424
|
+
*
|
|
1425
|
+
* @example
|
|
1426
|
+
* const res = await client.asos.search({ query: "white sneakers", country: "us" });
|
|
1427
|
+
*/
|
|
1428
|
+
search(input, options) {
|
|
1429
|
+
return this._core.run("asos.search", input, options);
|
|
1430
|
+
}
|
|
1431
|
+
};
|
|
1432
|
+
|
|
1433
|
+
// src/generated/platforms/bestbuy.ts
|
|
1434
|
+
var BestbuyNamespace = class {
|
|
1435
|
+
constructor(_core) {
|
|
1436
|
+
this._core = _core;
|
|
1437
|
+
}
|
|
1438
|
+
_core;
|
|
1439
|
+
/**
|
|
1440
|
+
* Best Buy Product
|
|
1441
|
+
*
|
|
1442
|
+
* Fetch a BestBuy.com product by URL and get title, price, brand, model, UPC, rating, description, and images in one normalized response.
|
|
1443
|
+
*
|
|
1444
|
+
* Price: $0.00085 per request.
|
|
1445
|
+
*
|
|
1446
|
+
* @example
|
|
1447
|
+
* 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" });
|
|
1448
|
+
*/
|
|
1449
|
+
product(input, options) {
|
|
1450
|
+
return this._core.run("bestbuy.product", input, options);
|
|
1451
|
+
}
|
|
1452
|
+
/**
|
|
1453
|
+
* Best Buy Reviews
|
|
1454
|
+
*
|
|
1455
|
+
* 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.
|
|
1456
|
+
*
|
|
1457
|
+
* Price: $0.00085 per request.
|
|
1458
|
+
*
|
|
1459
|
+
* @example
|
|
1460
|
+
* 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" });
|
|
1461
|
+
*/
|
|
1462
|
+
reviews(input, options) {
|
|
1463
|
+
return this._core.run("bestbuy.reviews", input, options);
|
|
1464
|
+
}
|
|
1465
|
+
/**
|
|
1466
|
+
* Best Buy Search
|
|
1467
|
+
*
|
|
1468
|
+
* 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.
|
|
1469
|
+
*
|
|
1470
|
+
* Price: $0.00085 per request.
|
|
1471
|
+
*
|
|
1472
|
+
* @example
|
|
1473
|
+
* const res = await client.bestbuy.search({ query: "airpods" });
|
|
1474
|
+
*/
|
|
1475
|
+
search(input, options) {
|
|
1476
|
+
return this._core.run("bestbuy.search", input, options);
|
|
1477
|
+
}
|
|
1478
|
+
};
|
|
1479
|
+
|
|
1399
1480
|
// src/generated/platforms/bing.ts
|
|
1400
1481
|
var BingNamespace = class {
|
|
1401
1482
|
constructor(_core) {
|
|
@@ -3687,6 +3768,27 @@ var HackernewsNamespace = class {
|
|
|
3687
3768
|
}
|
|
3688
3769
|
};
|
|
3689
3770
|
|
|
3771
|
+
// src/generated/platforms/ikea.ts
|
|
3772
|
+
var IkeaNamespace = class {
|
|
3773
|
+
constructor(_core) {
|
|
3774
|
+
this._core = _core;
|
|
3775
|
+
}
|
|
3776
|
+
_core;
|
|
3777
|
+
/**
|
|
3778
|
+
* IKEA Search
|
|
3779
|
+
*
|
|
3780
|
+
* Search IKEA's US store by keyword and get title, price, rating, and image for each product in one normalized response.
|
|
3781
|
+
*
|
|
3782
|
+
* Price: $0.00085 per request.
|
|
3783
|
+
*
|
|
3784
|
+
* @example
|
|
3785
|
+
* const res = await client.ikea.search({ query: "bookshelf" });
|
|
3786
|
+
*/
|
|
3787
|
+
search(input, options) {
|
|
3788
|
+
return this._core.run("ikea.search", input, options);
|
|
3789
|
+
}
|
|
3790
|
+
};
|
|
3791
|
+
|
|
3690
3792
|
// src/generated/platforms/indeed.ts
|
|
3691
3793
|
var IndeedNamespace = class {
|
|
3692
3794
|
constructor(_core) {
|
|
@@ -6102,6 +6204,40 @@ var RednoteNamespace = class {
|
|
|
6102
6204
|
}
|
|
6103
6205
|
};
|
|
6104
6206
|
|
|
6207
|
+
// src/generated/platforms/samsclub.ts
|
|
6208
|
+
var SamsclubNamespace = class {
|
|
6209
|
+
constructor(_core) {
|
|
6210
|
+
this._core = _core;
|
|
6211
|
+
}
|
|
6212
|
+
_core;
|
|
6213
|
+
/**
|
|
6214
|
+
* Sam's Club Product
|
|
6215
|
+
*
|
|
6216
|
+
* Fetch a SamsClub.com product by URL and get title, member price, stock, brand, model, UPC, rating, description, and images in one normalized response.
|
|
6217
|
+
*
|
|
6218
|
+
* Price: $0.00319 per request.
|
|
6219
|
+
*
|
|
6220
|
+
* @example
|
|
6221
|
+
* 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" });
|
|
6222
|
+
*/
|
|
6223
|
+
product(input, options) {
|
|
6224
|
+
return this._core.run("samsclub.product", input, options);
|
|
6225
|
+
}
|
|
6226
|
+
/**
|
|
6227
|
+
* Sam's Club Search
|
|
6228
|
+
*
|
|
6229
|
+
* 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.
|
|
6230
|
+
*
|
|
6231
|
+
* Price: $0.00319 per request.
|
|
6232
|
+
*
|
|
6233
|
+
* @example
|
|
6234
|
+
* const res = await client.samsclub.search({ query: "paper towels" });
|
|
6235
|
+
*/
|
|
6236
|
+
search(input, options) {
|
|
6237
|
+
return this._core.run("samsclub.search", input, options);
|
|
6238
|
+
}
|
|
6239
|
+
};
|
|
6240
|
+
|
|
6105
6241
|
// src/generated/platforms/sec.ts
|
|
6106
6242
|
var SecNamespace = class {
|
|
6107
6243
|
constructor(_core) {
|
|
@@ -6540,6 +6676,40 @@ var SimilarwebNamespace = class {
|
|
|
6540
6676
|
}
|
|
6541
6677
|
};
|
|
6542
6678
|
|
|
6679
|
+
// src/generated/platforms/slickdeals.ts
|
|
6680
|
+
var SlickdealsNamespace = class {
|
|
6681
|
+
constructor(_core) {
|
|
6682
|
+
this._core = _core;
|
|
6683
|
+
}
|
|
6684
|
+
_core;
|
|
6685
|
+
/**
|
|
6686
|
+
* Slickdeals Deal
|
|
6687
|
+
*
|
|
6688
|
+
* Fetch one Slickdeals deal by URL and get title, price, list price, store, coupon code, score, views, comments, and description in one normalized response.
|
|
6689
|
+
*
|
|
6690
|
+
* Price: $0.00213 per request.
|
|
6691
|
+
*
|
|
6692
|
+
* @example
|
|
6693
|
+
* 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" });
|
|
6694
|
+
*/
|
|
6695
|
+
deal(input, options) {
|
|
6696
|
+
return this._core.run("slickdeals.deal", input, options);
|
|
6697
|
+
}
|
|
6698
|
+
/**
|
|
6699
|
+
* Slickdeals Search
|
|
6700
|
+
*
|
|
6701
|
+
* 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.
|
|
6702
|
+
*
|
|
6703
|
+
* Price: $0.00213 per request.
|
|
6704
|
+
*
|
|
6705
|
+
* @example
|
|
6706
|
+
* const res = await client.slickdeals.search({ query: "airpods" });
|
|
6707
|
+
*/
|
|
6708
|
+
search(input, options) {
|
|
6709
|
+
return this._core.run("slickdeals.search", input, options);
|
|
6710
|
+
}
|
|
6711
|
+
};
|
|
6712
|
+
|
|
6543
6713
|
// src/generated/platforms/snapchat.ts
|
|
6544
6714
|
var SnapchatNamespace = class {
|
|
6545
6715
|
constructor(_core) {
|
|
@@ -6718,6 +6888,53 @@ var SubstackNamespace = class {
|
|
|
6718
6888
|
}
|
|
6719
6889
|
};
|
|
6720
6890
|
|
|
6891
|
+
// src/generated/platforms/target.ts
|
|
6892
|
+
var TargetNamespace = class {
|
|
6893
|
+
constructor(_core) {
|
|
6894
|
+
this._core = _core;
|
|
6895
|
+
}
|
|
6896
|
+
_core;
|
|
6897
|
+
/**
|
|
6898
|
+
* Target Product
|
|
6899
|
+
*
|
|
6900
|
+
* Fetch a Target.com product by URL and get title, price, brand, rating, description, and images in one normalized response.
|
|
6901
|
+
*
|
|
6902
|
+
* Price: $0.00085 per request.
|
|
6903
|
+
*
|
|
6904
|
+
* @example
|
|
6905
|
+
* const res = await client.target.product({ url: "https://www.target.com/p/mr-coffee-12c-programmable-drip-coffee-maker-stainless-steel-finish/-/A-91863920" });
|
|
6906
|
+
*/
|
|
6907
|
+
product(input, options) {
|
|
6908
|
+
return this._core.run("target.product", input, options);
|
|
6909
|
+
}
|
|
6910
|
+
/**
|
|
6911
|
+
* Target Reviews
|
|
6912
|
+
*
|
|
6913
|
+
* 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.
|
|
6914
|
+
*
|
|
6915
|
+
* Price: $0.00085 per request.
|
|
6916
|
+
*
|
|
6917
|
+
* @example
|
|
6918
|
+
* const res = await client.target.reviews({ url: "https://www.target.com/p/mr-coffee-12c-programmable-drip-coffee-maker-stainless-steel-finish/-/A-91863920" });
|
|
6919
|
+
*/
|
|
6920
|
+
reviews(input, options) {
|
|
6921
|
+
return this._core.run("target.reviews", input, options);
|
|
6922
|
+
}
|
|
6923
|
+
/**
|
|
6924
|
+
* Target Search
|
|
6925
|
+
*
|
|
6926
|
+
* 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.
|
|
6927
|
+
*
|
|
6928
|
+
* Price: $0.00085 per request.
|
|
6929
|
+
*
|
|
6930
|
+
* @example
|
|
6931
|
+
* const res = await client.target.search({ query: "coffee maker" });
|
|
6932
|
+
*/
|
|
6933
|
+
search(input, options) {
|
|
6934
|
+
return this._core.run("target.search", input, options);
|
|
6935
|
+
}
|
|
6936
|
+
};
|
|
6937
|
+
|
|
6721
6938
|
// src/generated/platforms/technographics.ts
|
|
6722
6939
|
var TechnographicsNamespace = class {
|
|
6723
6940
|
constructor(_core) {
|
|
@@ -9098,6 +9315,22 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
9098
9315
|
this._core
|
|
9099
9316
|
);
|
|
9100
9317
|
}
|
|
9318
|
+
/**
|
|
9319
|
+
* Typed methods for the asos platform.
|
|
9320
|
+
*/
|
|
9321
|
+
get asos() {
|
|
9322
|
+
return this._namespaces["asos"] ??= new AsosNamespace(
|
|
9323
|
+
this._core
|
|
9324
|
+
);
|
|
9325
|
+
}
|
|
9326
|
+
/**
|
|
9327
|
+
* Typed methods for the bestbuy platform.
|
|
9328
|
+
*/
|
|
9329
|
+
get bestbuy() {
|
|
9330
|
+
return this._namespaces["bestbuy"] ??= new BestbuyNamespace(
|
|
9331
|
+
this._core
|
|
9332
|
+
);
|
|
9333
|
+
}
|
|
9101
9334
|
/**
|
|
9102
9335
|
* Typed methods for the bing platform.
|
|
9103
9336
|
*/
|
|
@@ -9338,6 +9571,14 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
9338
9571
|
this._core
|
|
9339
9572
|
);
|
|
9340
9573
|
}
|
|
9574
|
+
/**
|
|
9575
|
+
* Typed methods for the ikea platform.
|
|
9576
|
+
*/
|
|
9577
|
+
get ikea() {
|
|
9578
|
+
return this._namespaces["ikea"] ??= new IkeaNamespace(
|
|
9579
|
+
this._core
|
|
9580
|
+
);
|
|
9581
|
+
}
|
|
9341
9582
|
/**
|
|
9342
9583
|
* Typed methods for the indeed platform.
|
|
9343
9584
|
*/
|
|
@@ -9518,6 +9759,14 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
9518
9759
|
this._core
|
|
9519
9760
|
);
|
|
9520
9761
|
}
|
|
9762
|
+
/**
|
|
9763
|
+
* Typed methods for the samsclub platform.
|
|
9764
|
+
*/
|
|
9765
|
+
get samsclub() {
|
|
9766
|
+
return this._namespaces["samsclub"] ??= new SamsclubNamespace(
|
|
9767
|
+
this._core
|
|
9768
|
+
);
|
|
9769
|
+
}
|
|
9521
9770
|
/**
|
|
9522
9771
|
* Typed methods for the sec platform.
|
|
9523
9772
|
*/
|
|
@@ -9550,6 +9799,14 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
9550
9799
|
this._core
|
|
9551
9800
|
);
|
|
9552
9801
|
}
|
|
9802
|
+
/**
|
|
9803
|
+
* Typed methods for the slickdeals platform.
|
|
9804
|
+
*/
|
|
9805
|
+
get slickdeals() {
|
|
9806
|
+
return this._namespaces["slickdeals"] ??= new SlickdealsNamespace(
|
|
9807
|
+
this._core
|
|
9808
|
+
);
|
|
9809
|
+
}
|
|
9553
9810
|
/**
|
|
9554
9811
|
* Typed methods for the snapchat platform.
|
|
9555
9812
|
*/
|
|
@@ -9582,6 +9839,14 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
9582
9839
|
this._core
|
|
9583
9840
|
);
|
|
9584
9841
|
}
|
|
9842
|
+
/**
|
|
9843
|
+
* Typed methods for the target platform.
|
|
9844
|
+
*/
|
|
9845
|
+
get target() {
|
|
9846
|
+
return this._namespaces["target"] ??= new TargetNamespace(
|
|
9847
|
+
this._core
|
|
9848
|
+
);
|
|
9849
|
+
}
|
|
9585
9850
|
/**
|
|
9586
9851
|
* Typed methods for the technographics platform.
|
|
9587
9852
|
*/
|
|
@@ -9744,8 +10009,10 @@ export {
|
|
|
9744
10009
|
AnyAPIError,
|
|
9745
10010
|
ApolloNamespace,
|
|
9746
10011
|
AppstoreNamespace,
|
|
10012
|
+
AsosNamespace,
|
|
9747
10013
|
AuthenticationError,
|
|
9748
10014
|
BadRequestError,
|
|
10015
|
+
BestbuyNamespace,
|
|
9749
10016
|
BingNamespace,
|
|
9750
10017
|
BlueskyNamespace,
|
|
9751
10018
|
BookingNamespace,
|
|
@@ -9778,6 +10045,7 @@ export {
|
|
|
9778
10045
|
GoogleNamespace,
|
|
9779
10046
|
GoogleShoppingNamespace,
|
|
9780
10047
|
HackernewsNamespace,
|
|
10048
|
+
IkeaNamespace,
|
|
9781
10049
|
IndeedNamespace,
|
|
9782
10050
|
InstagramNamespace,
|
|
9783
10051
|
InsufficientBalanceError,
|
|
@@ -9807,14 +10075,17 @@ export {
|
|
|
9807
10075
|
RednoteNamespace,
|
|
9808
10076
|
RequestPendingError,
|
|
9809
10077
|
ResultNotFoundError,
|
|
10078
|
+
SamsclubNamespace,
|
|
9810
10079
|
SecNamespace,
|
|
9811
10080
|
SemrushNamespace,
|
|
9812
10081
|
SeoNamespace,
|
|
9813
10082
|
SimilarwebNamespace,
|
|
10083
|
+
SlickdealsNamespace,
|
|
9814
10084
|
SnapchatNamespace,
|
|
9815
10085
|
SocialNamespace,
|
|
9816
10086
|
SpotifyNamespace,
|
|
9817
10087
|
SubstackNamespace,
|
|
10088
|
+
TargetNamespace,
|
|
9818
10089
|
TechnographicsNamespace,
|
|
9819
10090
|
TelegramNamespace,
|
|
9820
10091
|
ThreadsNamespace,
|