@getanyapi/sdk 0.126.3 → 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 +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1706,7 +1706,7 @@ var BookingNamespace = class {
|
|
|
1706
1706
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1707
1707
|
*
|
|
1708
1708
|
* @example
|
|
1709
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
1709
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-20", checkOut: "2026-11-22", limit: 3 });
|
|
1710
1710
|
*/
|
|
1711
1711
|
search(input, options) {
|
|
1712
1712
|
return this._core.run("booking.search", input, options);
|
|
@@ -2292,7 +2292,7 @@ var EmailNamespace = class {
|
|
|
2292
2292
|
*
|
|
2293
2293
|
* Find a person's work email address from their name and company domain.
|
|
2294
2294
|
*
|
|
2295
|
-
* Price: $0.
|
|
2295
|
+
* Price: $0.0154 per request.
|
|
2296
2296
|
*
|
|
2297
2297
|
* @example
|
|
2298
2298
|
* const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
|
|
@@ -3466,7 +3466,7 @@ var GoogleNamespace = class {
|
|
|
3466
3466
|
*
|
|
3467
3467
|
* 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.
|
|
3468
3468
|
*
|
|
3469
|
-
* Price: $0.
|
|
3469
|
+
* Price: $0.0048 per request.
|
|
3470
3470
|
*
|
|
3471
3471
|
* @example
|
|
3472
3472
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -3625,7 +3625,7 @@ var GoogleNamespace = class {
|
|
|
3625
3625
|
*
|
|
3626
3626
|
* 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 cheaper past roughly 20 results.
|
|
3627
3627
|
*
|
|
3628
|
-
* Price: $0.
|
|
3628
|
+
* Price: $0.0005 per request.
|
|
3629
3629
|
*
|
|
3630
3630
|
* @example
|
|
3631
3631
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -3801,7 +3801,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3801
3801
|
* Price: $0.0015 per request.
|
|
3802
3802
|
*
|
|
3803
3803
|
* @example
|
|
3804
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
3804
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-20", checkOut: "2026-11-22", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3805
3805
|
*/
|
|
3806
3806
|
details(input, options) {
|
|
3807
3807
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3814,7 +3814,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3814
3814
|
* Price: $0.0015 per request.
|
|
3815
3815
|
*
|
|
3816
3816
|
* @example
|
|
3817
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
3817
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-20", checkOut: "2026-11-22", country: "us", query: "hotels near times square new york" });
|
|
3818
3818
|
*/
|
|
3819
3819
|
search(input, options) {
|
|
3820
3820
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -5579,7 +5579,7 @@ var PerplexityNamespace = class {
|
|
|
5579
5579
|
*
|
|
5580
5580
|
* Ask Perplexity a web-grounded question and receive an answer with source citations.
|
|
5581
5581
|
*
|
|
5582
|
-
* Price: $0.
|
|
5582
|
+
* Price: $0.00006 per request plus $0.011 per result (maximum $0.0111).
|
|
5583
5583
|
*
|
|
5584
5584
|
* @example
|
|
5585
5585
|
* const res = await client.perplexity.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -8916,7 +8916,7 @@ var YoutubeNamespace = class {
|
|
|
8916
8916
|
*
|
|
8917
8917
|
* 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.
|
|
8918
8918
|
*
|
|
8919
|
-
* Price: $0.
|
|
8919
|
+
* Price: $0.132 per request plus $0 per result (maximum $0.132).
|
|
8920
8920
|
*
|
|
8921
8921
|
* @example
|
|
8922
8922
|
* const res = await client.youtube.channelContact({ handle: "@mkbhd" });
|