@getanyapi/sdk 0.129.1 → 0.130.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 +57 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +572 -6
- package/dist/index.d.ts +572 -6
- package/dist/index.js +57 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1363,6 +1363,32 @@ var AmazonNamespace = class {
|
|
|
1363
1363
|
bestsellers(input, options) {
|
|
1364
1364
|
return this._core.run("amazon.bestsellers", input, options);
|
|
1365
1365
|
}
|
|
1366
|
+
/**
|
|
1367
|
+
* Amazon Deals
|
|
1368
|
+
*
|
|
1369
|
+
* List today's Amazon deals for one marketplace and get ASIN, title, deal price, list price, discount, deal type, badge and image for each deal in one normalized response.
|
|
1370
|
+
*
|
|
1371
|
+
* Price: $0.00085 per request.
|
|
1372
|
+
*
|
|
1373
|
+
* @example
|
|
1374
|
+
* const res = await client.amazon.deals({ region: "amazon.com" });
|
|
1375
|
+
*/
|
|
1376
|
+
deals(input, options) {
|
|
1377
|
+
return this._core.run("amazon.deals", input, options);
|
|
1378
|
+
}
|
|
1379
|
+
/**
|
|
1380
|
+
* Amazon Offers
|
|
1381
|
+
*
|
|
1382
|
+
* List every offer for one Amazon product by ASIN or product URL, the Buy Box first and then the other sellers, and get price, condition, seller name and ID, seller rating, Prime, delivery estimate and fulfillment for each in one normalized response.
|
|
1383
|
+
*
|
|
1384
|
+
* Price: $0.00085 per request.
|
|
1385
|
+
*
|
|
1386
|
+
* @example
|
|
1387
|
+
* const res = await client.amazon.offers({ product: "B006MIWDCC" });
|
|
1388
|
+
*/
|
|
1389
|
+
offers(input, options) {
|
|
1390
|
+
return this._core.run("amazon.offers", input, options);
|
|
1391
|
+
}
|
|
1366
1392
|
/**
|
|
1367
1393
|
* Amazon Product
|
|
1368
1394
|
*
|
|
@@ -1402,6 +1428,32 @@ var AmazonNamespace = class {
|
|
|
1402
1428
|
search(input, options) {
|
|
1403
1429
|
return this._core.run("amazon.search", input, options);
|
|
1404
1430
|
}
|
|
1431
|
+
/**
|
|
1432
|
+
* Amazon Seller
|
|
1433
|
+
*
|
|
1434
|
+
* Look up one Amazon seller by seller ID and get its name, star rating, positive feedback percentage, feedback counts for the last 30 days, 90 days, 12 months and lifetime, and its registered business name and address in one normalized response.
|
|
1435
|
+
*
|
|
1436
|
+
* Price: $0.00085 per request.
|
|
1437
|
+
*
|
|
1438
|
+
* @example
|
|
1439
|
+
* const res = await client.amazon.seller({ sellerId: "A11V4PRB7HXYNG" });
|
|
1440
|
+
*/
|
|
1441
|
+
seller(input, options) {
|
|
1442
|
+
return this._core.run("amazon.seller", input, options);
|
|
1443
|
+
}
|
|
1444
|
+
/**
|
|
1445
|
+
* Amazon Seller Products
|
|
1446
|
+
*
|
|
1447
|
+
* List one Amazon seller's storefront by seller ID, a page at a time, and get ASIN, title, price, list price, rating, reviews count, image, coupon and sponsored, Prime, best seller and Amazon's Choice flags for each product in one normalized response.
|
|
1448
|
+
*
|
|
1449
|
+
* Price: $0.00085 per request.
|
|
1450
|
+
*
|
|
1451
|
+
* @example
|
|
1452
|
+
* const res = await client.amazon.sellerProducts({ sellerId: "A1AU32JJ4K70WE" });
|
|
1453
|
+
*/
|
|
1454
|
+
sellerProducts(input, options) {
|
|
1455
|
+
return this._core.run("amazon.seller_products", input, options);
|
|
1456
|
+
}
|
|
1405
1457
|
};
|
|
1406
1458
|
|
|
1407
1459
|
// src/generated/platforms/apollo.ts
|
|
@@ -1755,7 +1807,7 @@ var BookingNamespace = class {
|
|
|
1755
1807
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1756
1808
|
*
|
|
1757
1809
|
* @example
|
|
1758
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
1810
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-23", checkOut: "2026-11-25", limit: 3 });
|
|
1759
1811
|
*/
|
|
1760
1812
|
search(input, options) {
|
|
1761
1813
|
return this._core.run("booking.search", input, options);
|
|
@@ -3575,7 +3627,7 @@ var GoogleNamespace = class {
|
|
|
3575
3627
|
*
|
|
3576
3628
|
* Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
|
|
3577
3629
|
*
|
|
3578
|
-
* Price: $0.
|
|
3630
|
+
* Price: $0.0048 per request.
|
|
3579
3631
|
*
|
|
3580
3632
|
* @example
|
|
3581
3633
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -3910,7 +3962,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3910
3962
|
* Price: $0.0015 per request.
|
|
3911
3963
|
*
|
|
3912
3964
|
* @example
|
|
3913
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
3965
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-23", checkOut: "2026-11-25", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3914
3966
|
*/
|
|
3915
3967
|
details(input, options) {
|
|
3916
3968
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3923,7 +3975,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3923
3975
|
* Price: $0.0015 per request.
|
|
3924
3976
|
*
|
|
3925
3977
|
* @example
|
|
3926
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
3978
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-23", checkOut: "2026-11-25", country: "us", query: "hotels near times square new york" });
|
|
3927
3979
|
*/
|
|
3928
3980
|
search(input, options) {
|
|
3929
3981
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -5766,7 +5818,7 @@ var PerplexityNamespace = class {
|
|
|
5766
5818
|
*
|
|
5767
5819
|
* Ask Perplexity a web-grounded question and receive an answer with source citations.
|
|
5768
5820
|
*
|
|
5769
|
-
* Price: $0.
|
|
5821
|
+
* Price: $0.002 per request.
|
|
5770
5822
|
*
|
|
5771
5823
|
* @example
|
|
5772
5824
|
* const res = await client.perplexity.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|