@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.js
CHANGED
|
@@ -1227,6 +1227,32 @@ var AmazonNamespace = class {
|
|
|
1227
1227
|
bestsellers(input, options) {
|
|
1228
1228
|
return this._core.run("amazon.bestsellers", input, options);
|
|
1229
1229
|
}
|
|
1230
|
+
/**
|
|
1231
|
+
* Amazon Deals
|
|
1232
|
+
*
|
|
1233
|
+
* 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.
|
|
1234
|
+
*
|
|
1235
|
+
* Price: $0.00085 per request.
|
|
1236
|
+
*
|
|
1237
|
+
* @example
|
|
1238
|
+
* const res = await client.amazon.deals({ region: "amazon.com" });
|
|
1239
|
+
*/
|
|
1240
|
+
deals(input, options) {
|
|
1241
|
+
return this._core.run("amazon.deals", input, options);
|
|
1242
|
+
}
|
|
1243
|
+
/**
|
|
1244
|
+
* Amazon Offers
|
|
1245
|
+
*
|
|
1246
|
+
* 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.
|
|
1247
|
+
*
|
|
1248
|
+
* Price: $0.00085 per request.
|
|
1249
|
+
*
|
|
1250
|
+
* @example
|
|
1251
|
+
* const res = await client.amazon.offers({ product: "B006MIWDCC" });
|
|
1252
|
+
*/
|
|
1253
|
+
offers(input, options) {
|
|
1254
|
+
return this._core.run("amazon.offers", input, options);
|
|
1255
|
+
}
|
|
1230
1256
|
/**
|
|
1231
1257
|
* Amazon Product
|
|
1232
1258
|
*
|
|
@@ -1266,6 +1292,32 @@ var AmazonNamespace = class {
|
|
|
1266
1292
|
search(input, options) {
|
|
1267
1293
|
return this._core.run("amazon.search", input, options);
|
|
1268
1294
|
}
|
|
1295
|
+
/**
|
|
1296
|
+
* Amazon Seller
|
|
1297
|
+
*
|
|
1298
|
+
* 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.
|
|
1299
|
+
*
|
|
1300
|
+
* Price: $0.00085 per request.
|
|
1301
|
+
*
|
|
1302
|
+
* @example
|
|
1303
|
+
* const res = await client.amazon.seller({ sellerId: "A11V4PRB7HXYNG" });
|
|
1304
|
+
*/
|
|
1305
|
+
seller(input, options) {
|
|
1306
|
+
return this._core.run("amazon.seller", input, options);
|
|
1307
|
+
}
|
|
1308
|
+
/**
|
|
1309
|
+
* Amazon Seller Products
|
|
1310
|
+
*
|
|
1311
|
+
* 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.
|
|
1312
|
+
*
|
|
1313
|
+
* Price: $0.00085 per request.
|
|
1314
|
+
*
|
|
1315
|
+
* @example
|
|
1316
|
+
* const res = await client.amazon.sellerProducts({ sellerId: "A1AU32JJ4K70WE" });
|
|
1317
|
+
*/
|
|
1318
|
+
sellerProducts(input, options) {
|
|
1319
|
+
return this._core.run("amazon.seller_products", input, options);
|
|
1320
|
+
}
|
|
1269
1321
|
};
|
|
1270
1322
|
|
|
1271
1323
|
// src/generated/platforms/apollo.ts
|
|
@@ -1619,7 +1671,7 @@ var BookingNamespace = class {
|
|
|
1619
1671
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1620
1672
|
*
|
|
1621
1673
|
* @example
|
|
1622
|
-
* 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-23", checkOut: "2026-11-25", limit: 3 });
|
|
1623
1675
|
*/
|
|
1624
1676
|
search(input, options) {
|
|
1625
1677
|
return this._core.run("booking.search", input, options);
|
|
@@ -3439,7 +3491,7 @@ var GoogleNamespace = class {
|
|
|
3439
3491
|
*
|
|
3440
3492
|
* 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.
|
|
3441
3493
|
*
|
|
3442
|
-
* Price: $0.
|
|
3494
|
+
* Price: $0.0048 per request.
|
|
3443
3495
|
*
|
|
3444
3496
|
* @example
|
|
3445
3497
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -3774,7 +3826,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3774
3826
|
* Price: $0.0015 per request.
|
|
3775
3827
|
*
|
|
3776
3828
|
* @example
|
|
3777
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
3829
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-23", checkOut: "2026-11-25", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3778
3830
|
*/
|
|
3779
3831
|
details(input, options) {
|
|
3780
3832
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3787,7 +3839,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3787
3839
|
* Price: $0.0015 per request.
|
|
3788
3840
|
*
|
|
3789
3841
|
* @example
|
|
3790
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
3842
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-23", checkOut: "2026-11-25", country: "us", query: "hotels near times square new york" });
|
|
3791
3843
|
*/
|
|
3792
3844
|
search(input, options) {
|
|
3793
3845
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -5630,7 +5682,7 @@ var PerplexityNamespace = class {
|
|
|
5630
5682
|
*
|
|
5631
5683
|
* Ask Perplexity a web-grounded question and receive an answer with source citations.
|
|
5632
5684
|
*
|
|
5633
|
-
* Price: $0.
|
|
5685
|
+
* Price: $0.002 per request.
|
|
5634
5686
|
*
|
|
5635
5687
|
* @example
|
|
5636
5688
|
* const res = await client.perplexity.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|