@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.d.cts
CHANGED
|
@@ -7761,7 +7761,7 @@ declare class BookingNamespace {
|
|
|
7761
7761
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
7762
7762
|
*
|
|
7763
7763
|
* @example
|
|
7764
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
7764
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-06", checkOut: "2026-12-08", limit: 3 });
|
|
7765
7765
|
*/
|
|
7766
7766
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
7767
7767
|
}
|
|
@@ -25569,7 +25569,7 @@ declare class GoogleNamespace {
|
|
|
25569
25569
|
*
|
|
25570
25570
|
* 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.
|
|
25571
25571
|
*
|
|
25572
|
-
* Price: $0.
|
|
25572
|
+
* Price: $0.0004 per request.
|
|
25573
25573
|
*
|
|
25574
25574
|
* @example
|
|
25575
25575
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -26392,7 +26392,7 @@ declare class GoogleFlightsNamespace {
|
|
|
26392
26392
|
* Price: $0.001 per request.
|
|
26393
26393
|
*
|
|
26394
26394
|
* @example
|
|
26395
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
26395
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-06", destination: "LHR", origin: "JFK" });
|
|
26396
26396
|
*/
|
|
26397
26397
|
search(input: GoogleFlightsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsSearchData>>;
|
|
26398
26398
|
}
|
|
@@ -26727,7 +26727,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26727
26727
|
* Price: $0.0015 per request.
|
|
26728
26728
|
*
|
|
26729
26729
|
* @example
|
|
26730
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
26730
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-06", checkOut: "2026-12-08", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
26731
26731
|
*/
|
|
26732
26732
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
26733
26733
|
/**
|
|
@@ -26738,7 +26738,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26738
26738
|
* Price: $0.0015 per request.
|
|
26739
26739
|
*
|
|
26740
26740
|
* @example
|
|
26741
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
26741
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-06", checkOut: "2026-12-08", country: "us", query: "hotels near times square new york" });
|
|
26742
26742
|
*/
|
|
26743
26743
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
26744
26744
|
}
|
|
@@ -72503,7 +72503,7 @@ declare class VrboNamespace {
|
|
|
72503
72503
|
* Price: $0.001 per request.
|
|
72504
72504
|
*
|
|
72505
72505
|
* @example
|
|
72506
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
72506
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-06", checkOut: "2026-12-09", location: "Lake Tahoe", adults: 2, limit: 5 });
|
|
72507
72507
|
*/
|
|
72508
72508
|
search(input: VrboSearchInput, options?: RequestOptions): Promise<RunResult<VrboSearchData>>;
|
|
72509
72509
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -7761,7 +7761,7 @@ declare class BookingNamespace {
|
|
|
7761
7761
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
7762
7762
|
*
|
|
7763
7763
|
* @example
|
|
7764
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
7764
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-06", checkOut: "2026-12-08", limit: 3 });
|
|
7765
7765
|
*/
|
|
7766
7766
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
7767
7767
|
}
|
|
@@ -25569,7 +25569,7 @@ declare class GoogleNamespace {
|
|
|
25569
25569
|
*
|
|
25570
25570
|
* 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.
|
|
25571
25571
|
*
|
|
25572
|
-
* Price: $0.
|
|
25572
|
+
* Price: $0.0004 per request.
|
|
25573
25573
|
*
|
|
25574
25574
|
* @example
|
|
25575
25575
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -26392,7 +26392,7 @@ declare class GoogleFlightsNamespace {
|
|
|
26392
26392
|
* Price: $0.001 per request.
|
|
26393
26393
|
*
|
|
26394
26394
|
* @example
|
|
26395
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
26395
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-06", destination: "LHR", origin: "JFK" });
|
|
26396
26396
|
*/
|
|
26397
26397
|
search(input: GoogleFlightsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsSearchData>>;
|
|
26398
26398
|
}
|
|
@@ -26727,7 +26727,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26727
26727
|
* Price: $0.0015 per request.
|
|
26728
26728
|
*
|
|
26729
26729
|
* @example
|
|
26730
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
26730
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-06", checkOut: "2026-12-08", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
26731
26731
|
*/
|
|
26732
26732
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
26733
26733
|
/**
|
|
@@ -26738,7 +26738,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26738
26738
|
* Price: $0.0015 per request.
|
|
26739
26739
|
*
|
|
26740
26740
|
* @example
|
|
26741
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
26741
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-06", checkOut: "2026-12-08", country: "us", query: "hotels near times square new york" });
|
|
26742
26742
|
*/
|
|
26743
26743
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
26744
26744
|
}
|
|
@@ -72503,7 +72503,7 @@ declare class VrboNamespace {
|
|
|
72503
72503
|
* Price: $0.001 per request.
|
|
72504
72504
|
*
|
|
72505
72505
|
* @example
|
|
72506
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
72506
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-06", checkOut: "2026-12-09", location: "Lake Tahoe", adults: 2, limit: 5 });
|
|
72507
72507
|
*/
|
|
72508
72508
|
search(input: VrboSearchInput, options?: RequestOptions): Promise<RunResult<VrboSearchData>>;
|
|
72509
72509
|
}
|
package/dist/index.js
CHANGED
|
@@ -1671,7 +1671,7 @@ var BookingNamespace = class {
|
|
|
1671
1671
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1672
1672
|
*
|
|
1673
1673
|
* @example
|
|
1674
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
1674
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-06", checkOut: "2026-12-08", limit: 3 });
|
|
1675
1675
|
*/
|
|
1676
1676
|
search(input, options) {
|
|
1677
1677
|
return this._core.run("booking.search", input, options);
|
|
@@ -3650,7 +3650,7 @@ var GoogleNamespace = class {
|
|
|
3650
3650
|
*
|
|
3651
3651
|
* 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.
|
|
3652
3652
|
*
|
|
3653
|
-
* Price: $0.
|
|
3653
|
+
* Price: $0.0004 per request.
|
|
3654
3654
|
*
|
|
3655
3655
|
* @example
|
|
3656
3656
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -3826,7 +3826,7 @@ var GoogleFlightsNamespace = class {
|
|
|
3826
3826
|
* Price: $0.001 per request.
|
|
3827
3827
|
*
|
|
3828
3828
|
* @example
|
|
3829
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
3829
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-06", destination: "LHR", origin: "JFK" });
|
|
3830
3830
|
*/
|
|
3831
3831
|
search(input, options) {
|
|
3832
3832
|
return this._core.run("google_flights.search", input, options);
|
|
@@ -3847,7 +3847,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3847
3847
|
* Price: $0.0015 per request.
|
|
3848
3848
|
*
|
|
3849
3849
|
* @example
|
|
3850
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
3850
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-06", checkOut: "2026-12-08", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3851
3851
|
*/
|
|
3852
3852
|
details(input, options) {
|
|
3853
3853
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3860,7 +3860,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3860
3860
|
* Price: $0.0015 per request.
|
|
3861
3861
|
*
|
|
3862
3862
|
* @example
|
|
3863
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
3863
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-06", checkOut: "2026-12-08", country: "us", query: "hotels near times square new york" });
|
|
3864
3864
|
*/
|
|
3865
3865
|
search(input, options) {
|
|
3866
3866
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -8852,7 +8852,7 @@ var VrboNamespace = class {
|
|
|
8852
8852
|
* Price: $0.001 per request.
|
|
8853
8853
|
*
|
|
8854
8854
|
* @example
|
|
8855
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
8855
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-06", checkOut: "2026-12-09", location: "Lake Tahoe", adults: 2, limit: 5 });
|
|
8856
8856
|
*/
|
|
8857
8857
|
search(input, options) {
|
|
8858
8858
|
return this._core.run("vrbo.search", input, options);
|