@getanyapi/sdk 0.130.2 → 0.130.3
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-11-
|
|
7764
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-24", checkOut: "2026-11-26", limit: 3 });
|
|
7765
7765
|
*/
|
|
7766
7766
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
7767
7767
|
}
|
|
@@ -15978,7 +15978,7 @@ declare class EmailNamespace {
|
|
|
15978
15978
|
*
|
|
15979
15979
|
* Find a person's work email address from their name and company domain.
|
|
15980
15980
|
*
|
|
15981
|
-
* Price: $0.
|
|
15981
|
+
* Price: $0.0154 per request.
|
|
15982
15982
|
*
|
|
15983
15983
|
* @example
|
|
15984
15984
|
* const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
|
|
@@ -25525,7 +25525,7 @@ declare class GoogleNamespace {
|
|
|
25525
25525
|
*
|
|
25526
25526
|
* Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
|
|
25527
25527
|
*
|
|
25528
|
-
* Price: $0.
|
|
25528
|
+
* Price: $0.0015 per request.
|
|
25529
25529
|
*
|
|
25530
25530
|
* @example
|
|
25531
25531
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -25653,7 +25653,7 @@ declare class GoogleNamespace {
|
|
|
25653
25653
|
*
|
|
25654
25654
|
* 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.
|
|
25655
25655
|
*
|
|
25656
|
-
* Price: $0.
|
|
25656
|
+
* Price: $0.0004 per request.
|
|
25657
25657
|
*
|
|
25658
25658
|
* @example
|
|
25659
25659
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -26587,7 +26587,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26587
26587
|
* Price: $0.0015 per request.
|
|
26588
26588
|
*
|
|
26589
26589
|
* @example
|
|
26590
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
26590
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-24", checkOut: "2026-11-26", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
26591
26591
|
*/
|
|
26592
26592
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
26593
26593
|
/**
|
|
@@ -26598,7 +26598,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26598
26598
|
* Price: $0.0015 per request.
|
|
26599
26599
|
*
|
|
26600
26600
|
* @example
|
|
26601
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
26601
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-24", checkOut: "2026-11-26", country: "us", query: "hotels near times square new york" });
|
|
26602
26602
|
*/
|
|
26603
26603
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
26604
26604
|
}
|
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-11-
|
|
7764
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-24", checkOut: "2026-11-26", limit: 3 });
|
|
7765
7765
|
*/
|
|
7766
7766
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
7767
7767
|
}
|
|
@@ -15978,7 +15978,7 @@ declare class EmailNamespace {
|
|
|
15978
15978
|
*
|
|
15979
15979
|
* Find a person's work email address from their name and company domain.
|
|
15980
15980
|
*
|
|
15981
|
-
* Price: $0.
|
|
15981
|
+
* Price: $0.0154 per request.
|
|
15982
15982
|
*
|
|
15983
15983
|
* @example
|
|
15984
15984
|
* const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
|
|
@@ -25525,7 +25525,7 @@ declare class GoogleNamespace {
|
|
|
25525
25525
|
*
|
|
25526
25526
|
* Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
|
|
25527
25527
|
*
|
|
25528
|
-
* Price: $0.
|
|
25528
|
+
* Price: $0.0015 per request.
|
|
25529
25529
|
*
|
|
25530
25530
|
* @example
|
|
25531
25531
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -25653,7 +25653,7 @@ declare class GoogleNamespace {
|
|
|
25653
25653
|
*
|
|
25654
25654
|
* 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.
|
|
25655
25655
|
*
|
|
25656
|
-
* Price: $0.
|
|
25656
|
+
* Price: $0.0004 per request.
|
|
25657
25657
|
*
|
|
25658
25658
|
* @example
|
|
25659
25659
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -26587,7 +26587,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26587
26587
|
* Price: $0.0015 per request.
|
|
26588
26588
|
*
|
|
26589
26589
|
* @example
|
|
26590
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
26590
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-24", checkOut: "2026-11-26", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
26591
26591
|
*/
|
|
26592
26592
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
26593
26593
|
/**
|
|
@@ -26598,7 +26598,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26598
26598
|
* Price: $0.0015 per request.
|
|
26599
26599
|
*
|
|
26600
26600
|
* @example
|
|
26601
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
26601
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-24", checkOut: "2026-11-26", country: "us", query: "hotels near times square new york" });
|
|
26602
26602
|
*/
|
|
26603
26603
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
26604
26604
|
}
|
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-11-
|
|
1674
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-24", checkOut: "2026-11-26", limit: 3 });
|
|
1675
1675
|
*/
|
|
1676
1676
|
search(input, options) {
|
|
1677
1677
|
return this._core.run("booking.search", input, options);
|
|
@@ -2257,7 +2257,7 @@ var EmailNamespace = class {
|
|
|
2257
2257
|
*
|
|
2258
2258
|
* Find a person's work email address from their name and company domain.
|
|
2259
2259
|
*
|
|
2260
|
-
* Price: $0.
|
|
2260
|
+
* Price: $0.0154 per request.
|
|
2261
2261
|
*
|
|
2262
2262
|
* @example
|
|
2263
2263
|
* const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
|
|
@@ -3491,7 +3491,7 @@ var GoogleNamespace = class {
|
|
|
3491
3491
|
*
|
|
3492
3492
|
* Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
|
|
3493
3493
|
*
|
|
3494
|
-
* Price: $0.
|
|
3494
|
+
* Price: $0.0015 per request.
|
|
3495
3495
|
*
|
|
3496
3496
|
* @example
|
|
3497
3497
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -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 GoogleHotelsNamespace = class {
|
|
|
3826
3826
|
* Price: $0.0015 per request.
|
|
3827
3827
|
*
|
|
3828
3828
|
* @example
|
|
3829
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
3829
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-24", checkOut: "2026-11-26", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3830
3830
|
*/
|
|
3831
3831
|
details(input, options) {
|
|
3832
3832
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3839,7 +3839,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3839
3839
|
* Price: $0.0015 per request.
|
|
3840
3840
|
*
|
|
3841
3841
|
* @example
|
|
3842
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
3842
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-24", checkOut: "2026-11-26", country: "us", query: "hotels near times square new york" });
|
|
3843
3843
|
*/
|
|
3844
3844
|
search(input, options) {
|
|
3845
3845
|
return this._core.run("google_hotels.search", input, options);
|