@getanyapi/sdk 0.149.0 → 0.149.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 +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -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-06", checkOut: "2026-12-08", limit: 3 });
|
|
1814
1814
|
*/
|
|
1815
1815
|
search(input, options) {
|
|
1816
1816
|
return this._core.run("booking.search", input, options);
|
|
@@ -3789,7 +3789,7 @@ var GoogleNamespace = class {
|
|
|
3789
3789
|
*
|
|
3790
3790
|
* 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.
|
|
3791
3791
|
*
|
|
3792
|
-
* Price: $0.
|
|
3792
|
+
* Price: $0.0004 per request.
|
|
3793
3793
|
*
|
|
3794
3794
|
* @example
|
|
3795
3795
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -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-06", 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-06", checkOut: "2026-12-08", 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-06", checkOut: "2026-12-08", 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);
|
|
@@ -8991,7 +8991,7 @@ var VrboNamespace = class {
|
|
|
8991
8991
|
* Price: $0.001 per request.
|
|
8992
8992
|
*
|
|
8993
8993
|
* @example
|
|
8994
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
8994
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-06", checkOut: "2026-12-09", location: "Lake Tahoe", adults: 2, limit: 5 });
|
|
8995
8995
|
*/
|
|
8996
8996
|
search(input, options) {
|
|
8997
8997
|
return this._core.run("vrbo.search", input, options);
|