@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.cjs +96 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1330 -1
- package/dist/index.d.ts +1330 -1
- package/dist/index.js +95 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -30,6 +30,7 @@ __export(index_exports, {
|
|
|
30
30
|
AppstoreNamespace: () => AppstoreNamespace,
|
|
31
31
|
AuthenticationError: () => AuthenticationError,
|
|
32
32
|
BadRequestError: () => BadRequestError,
|
|
33
|
+
BingNamespace: () => BingNamespace,
|
|
33
34
|
BlueskyNamespace: () => BlueskyNamespace,
|
|
34
35
|
BookingNamespace: () => BookingNamespace,
|
|
35
36
|
CapterraNamespace: () => CapterraNamespace,
|
|
@@ -1461,6 +1462,19 @@ var AppstoreNamespace = class {
|
|
|
1461
1462
|
this._core = _core;
|
|
1462
1463
|
}
|
|
1463
1464
|
_core;
|
|
1465
|
+
/**
|
|
1466
|
+
* App Store App Details
|
|
1467
|
+
*
|
|
1468
|
+
* Get an iOS app's App Store listing by app ID, in any storefront country: title, developer, rating, price, version, description, screenshots, and more.
|
|
1469
|
+
*
|
|
1470
|
+
* Price: $0.00085 per request.
|
|
1471
|
+
*
|
|
1472
|
+
* @example
|
|
1473
|
+
* const res = await client.appstore.app({ appId: "479516143", country: "us" });
|
|
1474
|
+
*/
|
|
1475
|
+
app(input, options) {
|
|
1476
|
+
return this._core.run("appstore.app", input, options);
|
|
1477
|
+
}
|
|
1464
1478
|
/**
|
|
1465
1479
|
* App Store Reviews
|
|
1466
1480
|
*
|
|
@@ -1490,6 +1504,53 @@ var AppstoreNamespace = class {
|
|
|
1490
1504
|
options
|
|
1491
1505
|
);
|
|
1492
1506
|
}
|
|
1507
|
+
/**
|
|
1508
|
+
* App Store Search
|
|
1509
|
+
*
|
|
1510
|
+
* 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.
|
|
1511
|
+
*
|
|
1512
|
+
* Price: $0.00085 per request.
|
|
1513
|
+
*
|
|
1514
|
+
* @example
|
|
1515
|
+
* const res = await client.appstore.search({ query: "minecraft", country: "us", limit: 10 });
|
|
1516
|
+
*/
|
|
1517
|
+
search(input, options) {
|
|
1518
|
+
return this._core.run("appstore.search", input, options);
|
|
1519
|
+
}
|
|
1520
|
+
};
|
|
1521
|
+
|
|
1522
|
+
// src/generated/platforms/bing.ts
|
|
1523
|
+
var BingNamespace = class {
|
|
1524
|
+
constructor(_core) {
|
|
1525
|
+
this._core = _core;
|
|
1526
|
+
}
|
|
1527
|
+
_core;
|
|
1528
|
+
/**
|
|
1529
|
+
* Microsoft Copilot Search
|
|
1530
|
+
*
|
|
1531
|
+
* 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.
|
|
1532
|
+
*
|
|
1533
|
+
* Price: $0.00085 per request.
|
|
1534
|
+
*
|
|
1535
|
+
* @example
|
|
1536
|
+
* const res = await client.bing.copilot({ prompt: "what is the capital of australia and why" });
|
|
1537
|
+
*/
|
|
1538
|
+
copilot(input, options) {
|
|
1539
|
+
return this._core.run("bing.copilot", input, options);
|
|
1540
|
+
}
|
|
1541
|
+
/**
|
|
1542
|
+
* Bing Search
|
|
1543
|
+
*
|
|
1544
|
+
* 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.
|
|
1545
|
+
*
|
|
1546
|
+
* Price: $0.00085 per request.
|
|
1547
|
+
*
|
|
1548
|
+
* @example
|
|
1549
|
+
* const res = await client.bing.search({ query: "best espresso machines", country: "US", limit: 10 });
|
|
1550
|
+
*/
|
|
1551
|
+
search(input, options) {
|
|
1552
|
+
return this._core.run("bing.search", input, options);
|
|
1553
|
+
}
|
|
1493
1554
|
};
|
|
1494
1555
|
|
|
1495
1556
|
// src/generated/platforms/bluesky.ts
|
|
@@ -5438,6 +5499,19 @@ var PlaystoreNamespace = class {
|
|
|
5438
5499
|
this._core = _core;
|
|
5439
5500
|
}
|
|
5440
5501
|
_core;
|
|
5502
|
+
/**
|
|
5503
|
+
* Google Play App Details
|
|
5504
|
+
*
|
|
5505
|
+
* 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.
|
|
5506
|
+
*
|
|
5507
|
+
* Price: $0.00085 per request.
|
|
5508
|
+
*
|
|
5509
|
+
* @example
|
|
5510
|
+
* const res = await client.playstore.app({ appId: "com.playdigious.deadcells.mobile", country: "us" });
|
|
5511
|
+
*/
|
|
5512
|
+
app(input, options) {
|
|
5513
|
+
return this._core.run("playstore.app", input, options);
|
|
5514
|
+
}
|
|
5441
5515
|
/**
|
|
5442
5516
|
* Google Play Reviews
|
|
5443
5517
|
*
|
|
@@ -5451,6 +5525,19 @@ var PlaystoreNamespace = class {
|
|
|
5451
5525
|
reviews(input, options) {
|
|
5452
5526
|
return this._core.run("playstore.reviews", input, options);
|
|
5453
5527
|
}
|
|
5528
|
+
/**
|
|
5529
|
+
* Google Play Search
|
|
5530
|
+
*
|
|
5531
|
+
* Search Google Play for Android apps by keyword, in any store country: package name, title, developer, rating, installs, price, and category for each result.
|
|
5532
|
+
*
|
|
5533
|
+
* Price: $0.00085 per request.
|
|
5534
|
+
*
|
|
5535
|
+
* @example
|
|
5536
|
+
* const res = await client.playstore.search({ query: "budget tracker", country: "us", limit: 10 });
|
|
5537
|
+
*/
|
|
5538
|
+
search(input, options) {
|
|
5539
|
+
return this._core.run("playstore.search", input, options);
|
|
5540
|
+
}
|
|
5454
5541
|
};
|
|
5455
5542
|
|
|
5456
5543
|
// src/generated/platforms/polymarket.ts
|
|
@@ -8880,6 +8967,14 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
8880
8967
|
this._core
|
|
8881
8968
|
);
|
|
8882
8969
|
}
|
|
8970
|
+
/**
|
|
8971
|
+
* Typed methods for the bing platform.
|
|
8972
|
+
*/
|
|
8973
|
+
get bing() {
|
|
8974
|
+
return this._namespaces["bing"] ??= new BingNamespace(
|
|
8975
|
+
this._core
|
|
8976
|
+
);
|
|
8977
|
+
}
|
|
8883
8978
|
/**
|
|
8884
8979
|
* Typed methods for the bluesky platform.
|
|
8885
8980
|
*/
|
|
@@ -9481,6 +9576,7 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
9481
9576
|
AppstoreNamespace,
|
|
9482
9577
|
AuthenticationError,
|
|
9483
9578
|
BadRequestError,
|
|
9579
|
+
BingNamespace,
|
|
9484
9580
|
BlueskyNamespace,
|
|
9485
9581
|
BookingNamespace,
|
|
9486
9582
|
CapterraNamespace,
|