@getanyapi/sdk 0.178.12 → 0.178.14
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 +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1705,7 +1705,7 @@ var BookingNamespace = class {
|
|
|
1705
1705
|
* Price: $0.0008 per request.
|
|
1706
1706
|
*
|
|
1707
1707
|
* @example
|
|
1708
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
1708
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-22", checkOut: "2026-12-24", limit: 3 });
|
|
1709
1709
|
*/
|
|
1710
1710
|
search(input, options) {
|
|
1711
1711
|
return this._core.run("booking.search", input, options);
|
|
@@ -3317,7 +3317,7 @@ var GeminiNamespace = class {
|
|
|
3317
3317
|
*
|
|
3318
3318
|
* Ask Gemini a web-grounded question and receive an answer with source citations.
|
|
3319
3319
|
*
|
|
3320
|
-
* Price: $0.
|
|
3320
|
+
* Price: $0.002 per request.
|
|
3321
3321
|
*
|
|
3322
3322
|
* @example
|
|
3323
3323
|
* const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -4032,7 +4032,7 @@ var GoogleFlightsNamespace = class {
|
|
|
4032
4032
|
* Price: $0.00085 per request.
|
|
4033
4033
|
*
|
|
4034
4034
|
* @example
|
|
4035
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
4035
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-22", departureDateTo: "2027-01-20", destination: "LHR", origin: "JFK" });
|
|
4036
4036
|
*/
|
|
4037
4037
|
calendar(input, options) {
|
|
4038
4038
|
return this._core.run("google_flights.calendar", input, options);
|
|
@@ -4045,7 +4045,7 @@ var GoogleFlightsNamespace = class {
|
|
|
4045
4045
|
* Price: $0.00085 per request.
|
|
4046
4046
|
*
|
|
4047
4047
|
* @example
|
|
4048
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
4048
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-22", destination: "LHR", origin: "JFK" });
|
|
4049
4049
|
*/
|
|
4050
4050
|
search(input, options) {
|
|
4051
4051
|
return this._core.run("google_flights.search", input, options);
|
|
@@ -4066,7 +4066,7 @@ var GoogleHotelsNamespace = class {
|
|
|
4066
4066
|
* Price: $0.0015 per request.
|
|
4067
4067
|
*
|
|
4068
4068
|
* @example
|
|
4069
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
4069
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-22", checkOut: "2026-12-24", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
4070
4070
|
*/
|
|
4071
4071
|
details(input, options) {
|
|
4072
4072
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -4079,7 +4079,7 @@ var GoogleHotelsNamespace = class {
|
|
|
4079
4079
|
* Price: $0.0048 per request.
|
|
4080
4080
|
*
|
|
4081
4081
|
* @example
|
|
4082
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
4082
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-22", checkOut: "2026-12-24", country: "us", query: "hotels near times square new york" });
|
|
4083
4083
|
*/
|
|
4084
4084
|
search(input, options) {
|
|
4085
4085
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -9316,7 +9316,7 @@ var VrboNamespace = class {
|
|
|
9316
9316
|
* Price: $0.00085 per request.
|
|
9317
9317
|
*
|
|
9318
9318
|
* @example
|
|
9319
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
9319
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-22", checkOut: "2026-12-25" });
|
|
9320
9320
|
*/
|
|
9321
9321
|
listing(input, options) {
|
|
9322
9322
|
return this._core.run("vrbo.listing", input, options);
|
|
@@ -9329,7 +9329,7 @@ var VrboNamespace = class {
|
|
|
9329
9329
|
* Price: $0.00085 per request.
|
|
9330
9330
|
*
|
|
9331
9331
|
* @example
|
|
9332
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
9332
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-22", checkOut: "2026-12-25", location: "Lake Tahoe", adults: 2 });
|
|
9333
9333
|
*/
|
|
9334
9334
|
search(input, options) {
|
|
9335
9335
|
return this._core.run("vrbo.search", input, options);
|