@getanyapi/sdk 0.147.0 → 0.147.2
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 +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1808,7 +1808,7 @@ var BookingNamespace = class {
|
|
|
1808
1808
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1809
1809
|
*
|
|
1810
1810
|
* @example
|
|
1811
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
1811
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-04", checkOut: "2026-12-06", limit: 3 });
|
|
1812
1812
|
*/
|
|
1813
1813
|
search(input, options) {
|
|
1814
1814
|
return this._core.run("booking.search", input, options);
|
|
@@ -3261,7 +3261,7 @@ var GeminiNamespace = class {
|
|
|
3261
3261
|
*
|
|
3262
3262
|
* Ask Gemini a web-grounded question and receive an answer with source citations.
|
|
3263
3263
|
*
|
|
3264
|
-
* Price: $0.
|
|
3264
|
+
* Price: $0.0025 per request.
|
|
3265
3265
|
*
|
|
3266
3266
|
* @example
|
|
3267
3267
|
* const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -3963,7 +3963,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3963
3963
|
* Price: $0.0015 per request.
|
|
3964
3964
|
*
|
|
3965
3965
|
* @example
|
|
3966
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
3966
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-04", checkOut: "2026-12-06", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3967
3967
|
*/
|
|
3968
3968
|
details(input, options) {
|
|
3969
3969
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3976,7 +3976,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3976
3976
|
* Price: $0.0015 per request.
|
|
3977
3977
|
*
|
|
3978
3978
|
* @example
|
|
3979
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
3979
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-04", checkOut: "2026-12-06", country: "us", query: "hotels near times square new york" });
|
|
3980
3980
|
*/
|
|
3981
3981
|
search(input, options) {
|
|
3982
3982
|
return this._core.run("google_hotels.search", input, options);
|