@getanyapi/sdk 0.158.15 → 0.159.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 +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1403,7 +1403,7 @@ var AmazonNamespace = class {
|
|
|
1403
1403
|
*
|
|
1404
1404
|
* Fetch full Amazon product details (title, brand, price when in stock, images, ratings, review count, variants, and attributes) from a product URL.
|
|
1405
1405
|
*
|
|
1406
|
-
* Price: $0.
|
|
1406
|
+
* Price: $0.0009 per request.
|
|
1407
1407
|
*
|
|
1408
1408
|
* @example
|
|
1409
1409
|
* const res = await client.amazon.product({ url: "https://www.amazon.com/dp/B00NTCH52W" });
|
|
@@ -1704,7 +1704,7 @@ var BookingNamespace = class {
|
|
|
1704
1704
|
* Price: $0.0008 per request.
|
|
1705
1705
|
*
|
|
1706
1706
|
* @example
|
|
1707
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
1707
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-18", checkOut: "2026-12-20", limit: 3 });
|
|
1708
1708
|
*/
|
|
1709
1709
|
search(input, options) {
|
|
1710
1710
|
return this._core.run("booking.search", input, options);
|
|
@@ -3623,7 +3623,7 @@ var GoogleNamespace = class {
|
|
|
3623
3623
|
*
|
|
3624
3624
|
* 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.
|
|
3625
3625
|
*
|
|
3626
|
-
* Price: $0.
|
|
3626
|
+
* Price: $0.0018 per request.
|
|
3627
3627
|
*
|
|
3628
3628
|
* @example
|
|
3629
3629
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -3971,7 +3971,7 @@ var GoogleFlightsNamespace = class {
|
|
|
3971
3971
|
* Price: $0.00085 per request.
|
|
3972
3972
|
*
|
|
3973
3973
|
* @example
|
|
3974
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
3974
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-18", departureDateTo: "2027-01-16", destination: "LHR", origin: "JFK" });
|
|
3975
3975
|
*/
|
|
3976
3976
|
calendar(input, options) {
|
|
3977
3977
|
return this._core.run("google_flights.calendar", input, options);
|
|
@@ -3984,7 +3984,7 @@ var GoogleFlightsNamespace = class {
|
|
|
3984
3984
|
* Price: $0.00085 per request.
|
|
3985
3985
|
*
|
|
3986
3986
|
* @example
|
|
3987
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
3987
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-18", destination: "LHR", origin: "JFK" });
|
|
3988
3988
|
*/
|
|
3989
3989
|
search(input, options) {
|
|
3990
3990
|
return this._core.run("google_flights.search", input, options);
|
|
@@ -4005,7 +4005,7 @@ var GoogleHotelsNamespace = class {
|
|
|
4005
4005
|
* Price: $0.0015 per request.
|
|
4006
4006
|
*
|
|
4007
4007
|
* @example
|
|
4008
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
4008
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-18", checkOut: "2026-12-20", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
4009
4009
|
*/
|
|
4010
4010
|
details(input, options) {
|
|
4011
4011
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -4018,7 +4018,7 @@ var GoogleHotelsNamespace = class {
|
|
|
4018
4018
|
* Price: $0.0015 per request.
|
|
4019
4019
|
*
|
|
4020
4020
|
* @example
|
|
4021
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
4021
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-18", checkOut: "2026-12-20", country: "us", query: "hotels near times square new york" });
|
|
4022
4022
|
*/
|
|
4023
4023
|
search(input, options) {
|
|
4024
4024
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -9255,7 +9255,7 @@ var VrboNamespace = class {
|
|
|
9255
9255
|
* Price: $0.00085 per request.
|
|
9256
9256
|
*
|
|
9257
9257
|
* @example
|
|
9258
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
9258
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-18", checkOut: "2026-12-21" });
|
|
9259
9259
|
*/
|
|
9260
9260
|
listing(input, options) {
|
|
9261
9261
|
return this._core.run("vrbo.listing", input, options);
|
|
@@ -9268,7 +9268,7 @@ var VrboNamespace = class {
|
|
|
9268
9268
|
* Price: $0.00085 per request.
|
|
9269
9269
|
*
|
|
9270
9270
|
* @example
|
|
9271
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
9271
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-18", checkOut: "2026-12-21", location: "Lake Tahoe", adults: 2 });
|
|
9272
9272
|
*/
|
|
9273
9273
|
search(input, options) {
|
|
9274
9274
|
return this._core.run("vrbo.search", input, options);
|