@getanyapi/sdk 0.112.0 → 0.114.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
@@ -1339,6 +1339,19 @@ var AppstoreNamespace = class {
1339
1339
  this._core = _core;
1340
1340
  }
1341
1341
  _core;
1342
+ /**
1343
+ * App Store App Details
1344
+ *
1345
+ * Get an iOS app's App Store listing by app ID, in any storefront country: title, developer, rating, price, version, description, screenshots, and more.
1346
+ *
1347
+ * Price: $0.00085 per request.
1348
+ *
1349
+ * @example
1350
+ * const res = await client.appstore.app({ appId: "479516143", country: "us" });
1351
+ */
1352
+ app(input, options) {
1353
+ return this._core.run("appstore.app", input, options);
1354
+ }
1342
1355
  /**
1343
1356
  * App Store Reviews
1344
1357
  *
@@ -1368,6 +1381,53 @@ var AppstoreNamespace = class {
1368
1381
  options
1369
1382
  );
1370
1383
  }
1384
+ /**
1385
+ * App Store Search
1386
+ *
1387
+ * Search the App Store for iOS apps by keyword, in any storefront country: app ID, title, developer, rating, ratings count, price, version, and more for each result.
1388
+ *
1389
+ * Price: $0.00085 per request.
1390
+ *
1391
+ * @example
1392
+ * const res = await client.appstore.search({ query: "minecraft", country: "us", limit: 10 });
1393
+ */
1394
+ search(input, options) {
1395
+ return this._core.run("appstore.search", input, options);
1396
+ }
1397
+ };
1398
+
1399
+ // src/generated/platforms/bing.ts
1400
+ var BingNamespace = class {
1401
+ constructor(_core) {
1402
+ this._core = _core;
1403
+ }
1404
+ _core;
1405
+ /**
1406
+ * Microsoft Copilot Search
1407
+ *
1408
+ * Ask Microsoft Copilot (the AI answer in Bing) a question and get its web-grounded answer with the sources it cites as clean JSON - for tracking how Copilot answers and which sites it cites.
1409
+ *
1410
+ * Price: $0.00085 per request.
1411
+ *
1412
+ * @example
1413
+ * const res = await client.bing.copilot({ prompt: "what is the capital of australia and why" });
1414
+ */
1415
+ copilot(input, options) {
1416
+ return this._core.run("bing.copilot", input, options);
1417
+ }
1418
+ /**
1419
+ * Bing Search
1420
+ *
1421
+ * Run a Bing web search and get the ranked organic results (title, URL, snippet, position, display URL, domain) plus Bing's related searches as clean JSON. Returns up to 10 results per call; pick the country Bing searches from.
1422
+ *
1423
+ * Price: $0.00085 per request.
1424
+ *
1425
+ * @example
1426
+ * const res = await client.bing.search({ query: "best espresso machines", country: "US", limit: 10 });
1427
+ */
1428
+ search(input, options) {
1429
+ return this._core.run("bing.search", input, options);
1430
+ }
1371
1431
  };
1372
1432
 
1373
1433
  // src/generated/platforms/bluesky.ts
@@ -5316,6 +5376,19 @@ var PlaystoreNamespace = class {
5316
5376
  this._core = _core;
5317
5377
  }
5318
5378
  _core;
5379
+ /**
5380
+ * Google Play App Details
5381
+ *
5382
+ * Get an Android app's Google Play listing by package name, in any store country: title, developer and contact details, rating, ratings count, installs, price, description, screenshots, and more.
5383
+ *
5384
+ * Price: $0.00085 per request.
5385
+ *
5386
+ * @example
5387
+ * const res = await client.playstore.app({ appId: "com.playdigious.deadcells.mobile", country: "us" });
5388
+ */
5389
+ app(input, options) {
5390
+ return this._core.run("playstore.app", input, options);
5391
+ }
5319
5392
  /**
5320
5393
  * Google Play Reviews
5321
5394
  *
@@ -5329,6 +5402,19 @@ var PlaystoreNamespace = class {
5329
5402
  reviews(input, options) {
5330
5403
  return this._core.run("playstore.reviews", input, options);
5331
5404
  }
5405
+ /**
5406
+ * Google Play Search
5407
+ *
5408
+ * Search Google Play for Android apps by keyword, in any store country: package name, title, developer, rating, installs, price, and category for each result.
5409
+ *
5410
+ * Price: $0.00085 per request.
5411
+ *
5412
+ * @example
5413
+ * const res = await client.playstore.search({ query: "budget tracker", country: "us", limit: 10 });
5414
+ */
5415
+ search(input, options) {
5416
+ return this._core.run("playstore.search", input, options);
5417
+ }
5332
5418
  };
5333
5419
 
5334
5420
  // src/generated/platforms/polymarket.ts
@@ -8758,6 +8844,14 @@ var AnyAPI2 = class extends AnyAPI {
8758
8844
  this._core
8759
8845
  );
8760
8846
  }
8847
+ /**
8848
+ * Typed methods for the bing platform.
8849
+ */
8850
+ get bing() {
8851
+ return this._namespaces["bing"] ??= new BingNamespace(
8852
+ this._core
8853
+ );
8854
+ }
8761
8855
  /**
8762
8856
  * Typed methods for the bluesky platform.
8763
8857
  */
@@ -9358,6 +9452,7 @@ export {
9358
9452
  AppstoreNamespace,
9359
9453
  AuthenticationError,
9360
9454
  BadRequestError,
9455
+ BingNamespace,
9361
9456
  BlueskyNamespace,
9362
9457
  BookingNamespace,
9363
9458
  CapterraNamespace,