@getanyapi/sdk 0.128.0 → 0.129.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.js CHANGED
@@ -1148,6 +1148,53 @@ var AlibabaNamespace = class {
1148
1148
  }
1149
1149
  };
1150
1150
 
1151
+ // src/generated/platforms/aliexpress.ts
1152
+ var AliexpressNamespace = class {
1153
+ constructor(_core) {
1154
+ this._core = _core;
1155
+ }
1156
+ _core;
1157
+ /**
1158
+ * AliExpress Product
1159
+ *
1160
+ * 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.
1161
+ *
1162
+ * Price: $0.00085 per request.
1163
+ *
1164
+ * @example
1165
+ * const res = await client.aliexpress.product({ productId: "3256807039224587" });
1166
+ */
1167
+ product(input, options) {
1168
+ return this._core.run("aliexpress.product", input, options);
1169
+ }
1170
+ /**
1171
+ * AliExpress Reviews
1172
+ *
1173
+ * Get one page of buyer reviews for an AliExpress product by id, with rating, text, buyer country, date, bought variant and photos for each review, plus the product's total reviews, average rating and star distribution, in one normalized response.
1174
+ *
1175
+ * Price: $0.00085 per request.
1176
+ *
1177
+ * @example
1178
+ * const res = await client.aliexpress.reviews({ productId: "3256807039224587" });
1179
+ */
1180
+ reviews(input, options) {
1181
+ return this._core.run("aliexpress.reviews", input, options);
1182
+ }
1183
+ /**
1184
+ * AliExpress Search
1185
+ *
1186
+ * Search AliExpress by keyword with optional sort, price-range, page, ship-to country and currency, and get title, price, original price, units sold and image for each product in one normalized response.
1187
+ *
1188
+ * Price: $0.00085 per request.
1189
+ *
1190
+ * @example
1191
+ * const res = await client.aliexpress.search({ query: "minecraft room projector" });
1192
+ */
1193
+ search(input, options) {
1194
+ return this._core.run("aliexpress.search", input, options);
1195
+ }
1196
+ };
1197
+
1151
1198
  // src/generated/platforms/amazon.ts
1152
1199
  var AmazonNamespace = class {
1153
1200
  constructor(_core) {
@@ -2357,6 +2404,66 @@ var EmailVerificationNamespace = class {
2357
2404
  }
2358
2405
  };
2359
2406
 
2407
+ // src/generated/platforms/etsy.ts
2408
+ var EtsyNamespace = class {
2409
+ constructor(_core) {
2410
+ this._core = _core;
2411
+ }
2412
+ _core;
2413
+ /**
2414
+ * Etsy Product
2415
+ *
2416
+ * 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.
2417
+ *
2418
+ * Price: $0.00085 per request.
2419
+ *
2420
+ * @example
2421
+ * const res = await client.etsy.product({ listingId: "1810545592" });
2422
+ */
2423
+ product(input, options) {
2424
+ return this._core.run("etsy.product", input, options);
2425
+ }
2426
+ /**
2427
+ * Etsy Search
2428
+ *
2429
+ * 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.
2430
+ *
2431
+ * Price: $0.00085 per request.
2432
+ *
2433
+ * @example
2434
+ * const res = await client.etsy.search({ query: "cover letter template" });
2435
+ */
2436
+ search(input, options) {
2437
+ return this._core.run("etsy.search", input, options);
2438
+ }
2439
+ /**
2440
+ * Etsy Shop
2441
+ *
2442
+ * 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.
2443
+ *
2444
+ * Price: $0.00085 per request.
2445
+ *
2446
+ * @example
2447
+ * const res = await client.etsy.shop({ shopName: "StudioStelleHD" });
2448
+ */
2449
+ shop(input, options) {
2450
+ return this._core.run("etsy.shop", input, options);
2451
+ }
2452
+ /**
2453
+ * Etsy Shop Listings
2454
+ *
2455
+ * 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.
2456
+ *
2457
+ * Price: $0.00085 per request.
2458
+ *
2459
+ * @example
2460
+ * const res = await client.etsy.shopListings({ shopName: "StudioStelleHD" });
2461
+ */
2462
+ shopListings(input, options) {
2463
+ return this._core.run("etsy.shop_listings", input, options);
2464
+ }
2465
+ };
2466
+
2360
2467
  // src/generated/platforms/facebook.ts
2361
2468
  var FacebookNamespace = class {
2362
2469
  constructor(_core) {
@@ -3491,7 +3598,7 @@ var GoogleNamespace = class {
3491
3598
  *
3492
3599
  * Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is normally cheaper past roughly 20 results.
3493
3600
  *
3494
- * Price: $0.0005 per request.
3601
+ * Price: $0.0004 per request.
3495
3602
  *
3496
3603
  * @example
3497
3604
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -4351,7 +4458,7 @@ var InstagramNamespace = class {
4351
4458
  *
4352
4459
  * List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
4353
4460
  *
4354
- * Price: $0.00175 per request.
4461
+ * Price: $0.027 per request.
4355
4462
  *
4356
4463
  * @example
4357
4464
  * const res = await client.instagram.similarProfiles({ handle: "nasa" });
@@ -9369,6 +9476,14 @@ var AnyAPI2 = class extends AnyAPI {
9369
9476
  this._core
9370
9477
  );
9371
9478
  }
9479
+ /**
9480
+ * Typed methods for the aliexpress platform.
9481
+ */
9482
+ get aliexpress() {
9483
+ return this._namespaces["aliexpress"] ??= new AliexpressNamespace(
9484
+ this._core
9485
+ );
9486
+ }
9372
9487
  /**
9373
9488
  * Typed methods for the amazon platform.
9374
9489
  */
@@ -9553,6 +9668,14 @@ var AnyAPI2 = class extends AnyAPI {
9553
9668
  get emailVerification() {
9554
9669
  return this._namespaces["emailVerification"] ??= new EmailVerificationNamespace(this._core);
9555
9670
  }
9671
+ /**
9672
+ * Typed methods for the etsy platform.
9673
+ */
9674
+ get etsy() {
9675
+ return this._namespaces["etsy"] ??= new EtsyNamespace(
9676
+ this._core
9677
+ );
9678
+ }
9556
9679
  /**
9557
9680
  * Typed methods for the facebook platform.
9558
9681
  */
@@ -10082,6 +10205,7 @@ export {
10082
10205
  AhrefsNamespace,
10083
10206
  AirbnbNamespace,
10084
10207
  AlibabaNamespace,
10208
+ AliexpressNamespace,
10085
10209
  AmazonNamespace,
10086
10210
  AnyAPI2 as AnyAPI,
10087
10211
  AnyAPIError,
@@ -10111,6 +10235,7 @@ export {
10111
10235
  EmailFindingNamespace,
10112
10236
  EmailNamespace,
10113
10237
  EmailVerificationNamespace,
10238
+ EtsyNamespace,
10114
10239
  FacebookNamespace,
10115
10240
  FiverrNamespace,
10116
10241
  G2Namespace,