@getanyapi/sdk 0.162.11 → 0.162.13
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
|
@@ -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-19", checkOut: "2026-12-21", limit: 3 });
|
|
1708
1708
|
*/
|
|
1709
1709
|
search(input, options) {
|
|
1710
1710
|
return this._core.run("booking.search", input, options);
|
|
@@ -3256,7 +3256,7 @@ var GeminiNamespace = class {
|
|
|
3256
3256
|
*
|
|
3257
3257
|
* Ask Gemini a web-grounded question and receive an answer with source citations.
|
|
3258
3258
|
*
|
|
3259
|
-
* Price: $0.
|
|
3259
|
+
* Price: $0.0048 per request.
|
|
3260
3260
|
*
|
|
3261
3261
|
* @example
|
|
3262
3262
|
* const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -3795,7 +3795,7 @@ var GoogleNamespace = class {
|
|
|
3795
3795
|
*
|
|
3796
3796
|
* Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is normally cheaper past roughly 20 results.
|
|
3797
3797
|
*
|
|
3798
|
-
* Price: $0.
|
|
3798
|
+
* Price: $0.0004 per request.
|
|
3799
3799
|
*
|
|
3800
3800
|
* @example
|
|
3801
3801
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -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-19", departureDateTo: "2027-01-17", 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-19", 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-19", checkOut: "2026-12-21", 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-19", checkOut: "2026-12-21", 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-19", checkOut: "2026-12-22" });
|
|
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-19", checkOut: "2026-12-22", location: "Lake Tahoe", adults: 2 });
|
|
9272
9272
|
*/
|
|
9273
9273
|
search(input, options) {
|
|
9274
9274
|
return this._core.run("vrbo.search", input, options);
|