@getanyapi/sdk 0.148.3 → 0.148.4
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 +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1726,7 +1726,7 @@ var BingNamespace = class {
|
|
|
1726
1726
|
*
|
|
1727
1727
|
* 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.
|
|
1728
1728
|
*
|
|
1729
|
-
* Price: $0.
|
|
1729
|
+
* Price: $0.00085 per request.
|
|
1730
1730
|
*
|
|
1731
1731
|
* @example
|
|
1732
1732
|
* const res = await client.bing.copilot({ prompt: "what is the capital of australia and why" });
|
|
@@ -1810,7 +1810,7 @@ var BookingNamespace = class {
|
|
|
1810
1810
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1811
1811
|
*
|
|
1812
1812
|
* @example
|
|
1813
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
1813
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-05", checkOut: "2026-12-07", limit: 3 });
|
|
1814
1814
|
*/
|
|
1815
1815
|
search(input, options) {
|
|
1816
1816
|
return this._core.run("booking.search", input, options);
|
|
@@ -3630,7 +3630,7 @@ var GoogleNamespace = class {
|
|
|
3630
3630
|
*
|
|
3631
3631
|
* 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.
|
|
3632
3632
|
*
|
|
3633
|
-
* Price: $0.
|
|
3633
|
+
* Price: $0.0015 per request.
|
|
3634
3634
|
*
|
|
3635
3635
|
* @example
|
|
3636
3636
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -3965,7 +3965,7 @@ var GoogleFlightsNamespace = class {
|
|
|
3965
3965
|
* Price: $0.001 per request.
|
|
3966
3966
|
*
|
|
3967
3967
|
* @example
|
|
3968
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
3968
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-05", destination: "LHR", origin: "JFK" });
|
|
3969
3969
|
*/
|
|
3970
3970
|
search(input, options) {
|
|
3971
3971
|
return this._core.run("google_flights.search", input, options);
|
|
@@ -3986,7 +3986,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3986
3986
|
* Price: $0.0015 per request.
|
|
3987
3987
|
*
|
|
3988
3988
|
* @example
|
|
3989
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
3989
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-05", checkOut: "2026-12-07", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3990
3990
|
*/
|
|
3991
3991
|
details(input, options) {
|
|
3992
3992
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3999,7 +3999,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3999
3999
|
* Price: $0.0015 per request.
|
|
4000
4000
|
*
|
|
4001
4001
|
* @example
|
|
4002
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
4002
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-05", checkOut: "2026-12-07", country: "us", query: "hotels near times square new york" });
|
|
4003
4003
|
*/
|
|
4004
4004
|
search(input, options) {
|
|
4005
4005
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -4670,7 +4670,7 @@ var InstagramNamespace = class {
|
|
|
4670
4670
|
*
|
|
4671
4671
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
4672
4672
|
*
|
|
4673
|
-
* Price: $0.
|
|
4673
|
+
* Price: $0.00175 per request.
|
|
4674
4674
|
*
|
|
4675
4675
|
* @example
|
|
4676
4676
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -8363,7 +8363,7 @@ var TiktokShopNamespace = class {
|
|
|
8363
8363
|
*
|
|
8364
8364
|
* Search TikTok Shop products by keyword across 15 countries: price, sales, rating, and seller info per product, in one normalized response.
|
|
8365
8365
|
*
|
|
8366
|
-
* Price: $0.
|
|
8366
|
+
* Price: $0.0012 per request.
|
|
8367
8367
|
*
|
|
8368
8368
|
* @example
|
|
8369
8369
|
* const res = await client.tiktokShop.search({ query: "phone case", limit: 3 });
|
|
@@ -8978,7 +8978,7 @@ var VrboNamespace = class {
|
|
|
8978
8978
|
* Price: $0.001 per request.
|
|
8979
8979
|
*
|
|
8980
8980
|
* @example
|
|
8981
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
8981
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-05", checkOut: "2026-12-08", location: "Lake Tahoe", adults: 2, limit: 5 });
|
|
8982
8982
|
*/
|
|
8983
8983
|
search(input, options) {
|
|
8984
8984
|
return this._core.run("vrbo.search", input, options);
|