@getanyapi/sdk 0.126.4 → 0.126.5
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 +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -6600,7 +6600,7 @@ declare class BookingNamespace {
|
|
|
6600
6600
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
6601
6601
|
*
|
|
6602
6602
|
* @example
|
|
6603
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
6603
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-20", checkOut: "2026-11-22", limit: 3 });
|
|
6604
6604
|
*/
|
|
6605
6605
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
6606
6606
|
}
|
|
@@ -14819,7 +14819,7 @@ declare class EmailNamespace {
|
|
|
14819
14819
|
*
|
|
14820
14820
|
* Find a person's work email address from their name and company domain.
|
|
14821
14821
|
*
|
|
14822
|
-
* Price: $0.
|
|
14822
|
+
* Price: $0.0154 per request.
|
|
14823
14823
|
*
|
|
14824
14824
|
* @example
|
|
14825
14825
|
* const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
|
|
@@ -24936,7 +24936,7 @@ declare class GoogleHotelsNamespace {
|
|
|
24936
24936
|
* Price: $0.0015 per request.
|
|
24937
24937
|
*
|
|
24938
24938
|
* @example
|
|
24939
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
24939
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-20", checkOut: "2026-11-22", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
24940
24940
|
*/
|
|
24941
24941
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
24942
24942
|
/**
|
|
@@ -24947,7 +24947,7 @@ declare class GoogleHotelsNamespace {
|
|
|
24947
24947
|
* Price: $0.0015 per request.
|
|
24948
24948
|
*
|
|
24949
24949
|
* @example
|
|
24950
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
24950
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-20", checkOut: "2026-11-22", country: "us", query: "hotels near times square new york" });
|
|
24951
24951
|
*/
|
|
24952
24952
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
24953
24953
|
}
|
|
@@ -71606,7 +71606,7 @@ declare class YoutubeNamespace {
|
|
|
71606
71606
|
*
|
|
71607
71607
|
* Reveal the business inquiry email a YouTube creator publishes behind the channel's View email address button. YouTube gates that address behind a signed-in Google session and a CAPTCHA, so it is absent from the channel page a logged-out scraper reads.
|
|
71608
71608
|
*
|
|
71609
|
-
* Price: $0.
|
|
71609
|
+
* Price: $0.132 per request plus $0 per result (maximum $0.132).
|
|
71610
71610
|
*
|
|
71611
71611
|
* @example
|
|
71612
71612
|
* const res = await client.youtube.channelContact({ handle: "@mkbhd" });
|
package/dist/index.d.ts
CHANGED
|
@@ -6600,7 +6600,7 @@ declare class BookingNamespace {
|
|
|
6600
6600
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
6601
6601
|
*
|
|
6602
6602
|
* @example
|
|
6603
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
6603
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-20", checkOut: "2026-11-22", limit: 3 });
|
|
6604
6604
|
*/
|
|
6605
6605
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
6606
6606
|
}
|
|
@@ -14819,7 +14819,7 @@ declare class EmailNamespace {
|
|
|
14819
14819
|
*
|
|
14820
14820
|
* Find a person's work email address from their name and company domain.
|
|
14821
14821
|
*
|
|
14822
|
-
* Price: $0.
|
|
14822
|
+
* Price: $0.0154 per request.
|
|
14823
14823
|
*
|
|
14824
14824
|
* @example
|
|
14825
14825
|
* const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
|
|
@@ -24936,7 +24936,7 @@ declare class GoogleHotelsNamespace {
|
|
|
24936
24936
|
* Price: $0.0015 per request.
|
|
24937
24937
|
*
|
|
24938
24938
|
* @example
|
|
24939
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
24939
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-20", checkOut: "2026-11-22", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
24940
24940
|
*/
|
|
24941
24941
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
24942
24942
|
/**
|
|
@@ -24947,7 +24947,7 @@ declare class GoogleHotelsNamespace {
|
|
|
24947
24947
|
* Price: $0.0015 per request.
|
|
24948
24948
|
*
|
|
24949
24949
|
* @example
|
|
24950
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
24950
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-20", checkOut: "2026-11-22", country: "us", query: "hotels near times square new york" });
|
|
24951
24951
|
*/
|
|
24952
24952
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
24953
24953
|
}
|
|
@@ -71606,7 +71606,7 @@ declare class YoutubeNamespace {
|
|
|
71606
71606
|
*
|
|
71607
71607
|
* Reveal the business inquiry email a YouTube creator publishes behind the channel's View email address button. YouTube gates that address behind a signed-in Google session and a CAPTCHA, so it is absent from the channel page a logged-out scraper reads.
|
|
71608
71608
|
*
|
|
71609
|
-
* Price: $0.
|
|
71609
|
+
* Price: $0.132 per request plus $0 per result (maximum $0.132).
|
|
71610
71610
|
*
|
|
71611
71611
|
* @example
|
|
71612
71612
|
* const res = await client.youtube.channelContact({ handle: "@mkbhd" });
|
package/dist/index.js
CHANGED
|
@@ -1572,7 +1572,7 @@ var BookingNamespace = class {
|
|
|
1572
1572
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1573
1573
|
*
|
|
1574
1574
|
* @example
|
|
1575
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
1575
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-20", checkOut: "2026-11-22", limit: 3 });
|
|
1576
1576
|
*/
|
|
1577
1577
|
search(input, options) {
|
|
1578
1578
|
return this._core.run("booking.search", input, options);
|
|
@@ -2158,7 +2158,7 @@ var EmailNamespace = class {
|
|
|
2158
2158
|
*
|
|
2159
2159
|
* Find a person's work email address from their name and company domain.
|
|
2160
2160
|
*
|
|
2161
|
-
* Price: $0.
|
|
2161
|
+
* Price: $0.0154 per request.
|
|
2162
2162
|
*
|
|
2163
2163
|
* @example
|
|
2164
2164
|
* const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
|
|
@@ -3667,7 +3667,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3667
3667
|
* Price: $0.0015 per request.
|
|
3668
3668
|
*
|
|
3669
3669
|
* @example
|
|
3670
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
3670
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-20", checkOut: "2026-11-22", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3671
3671
|
*/
|
|
3672
3672
|
details(input, options) {
|
|
3673
3673
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3680,7 +3680,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3680
3680
|
* Price: $0.0015 per request.
|
|
3681
3681
|
*
|
|
3682
3682
|
* @example
|
|
3683
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
3683
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-20", checkOut: "2026-11-22", country: "us", query: "hotels near times square new york" });
|
|
3684
3684
|
*/
|
|
3685
3685
|
search(input, options) {
|
|
3686
3686
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -8782,7 +8782,7 @@ var YoutubeNamespace = class {
|
|
|
8782
8782
|
*
|
|
8783
8783
|
* Reveal the business inquiry email a YouTube creator publishes behind the channel's View email address button. YouTube gates that address behind a signed-in Google session and a CAPTCHA, so it is absent from the channel page a logged-out scraper reads.
|
|
8784
8784
|
*
|
|
8785
|
-
* Price: $0.
|
|
8785
|
+
* Price: $0.132 per request plus $0 per result (maximum $0.132).
|
|
8786
8786
|
*
|
|
8787
8787
|
* @example
|
|
8788
8788
|
* const res = await client.youtube.channelContact({ handle: "@mkbhd" });
|