@getanyapi/sdk 0.94.12 → 0.95.1
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 +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +126 -13
- package/dist/index.d.ts +126 -13
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1553,7 +1553,7 @@ var BookingNamespace = class {
|
|
|
1553
1553
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1554
1554
|
*
|
|
1555
1555
|
* @example
|
|
1556
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
1556
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-09", checkOut: "2026-11-11", limit: 3 });
|
|
1557
1557
|
*/
|
|
1558
1558
|
search(input, options) {
|
|
1559
1559
|
return this._core.run("booking.search", input, options);
|
|
@@ -2097,7 +2097,7 @@ var EmailNamespace = class {
|
|
|
2097
2097
|
*
|
|
2098
2098
|
* Find a person's work email address from their name and company domain.
|
|
2099
2099
|
*
|
|
2100
|
-
* Price: $0.
|
|
2100
|
+
* Price: $0.0154 per request.
|
|
2101
2101
|
*
|
|
2102
2102
|
* @example
|
|
2103
2103
|
* const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
|
|
@@ -3444,7 +3444,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3444
3444
|
* Price: $0.0015 per request.
|
|
3445
3445
|
*
|
|
3446
3446
|
* @example
|
|
3447
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
3447
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-09", checkOut: "2026-11-11", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3448
3448
|
*/
|
|
3449
3449
|
details(input, options) {
|
|
3450
3450
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3457,7 +3457,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3457
3457
|
* Price: $0.0015 per request.
|
|
3458
3458
|
*
|
|
3459
3459
|
* @example
|
|
3460
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
3460
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-09", checkOut: "2026-11-11", country: "us", query: "hotels near times square new york" });
|
|
3461
3461
|
*/
|
|
3462
3462
|
search(input, options) {
|
|
3463
3463
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -8015,9 +8015,9 @@ var WebNamespace = class {
|
|
|
8015
8015
|
/**
|
|
8016
8016
|
* Website Crawl
|
|
8017
8017
|
*
|
|
8018
|
-
* Crawl a website and get clean text
|
|
8018
|
+
* Crawl a website and get up to 10 of its pages as separate items, each with its URL, title, description, language, HTTP status, clean Markdown text and page metadata such as headings and structured data, ideal for feeding sites into LLMs and search indexes. Pages that failed or were skipped are listed separately and never billed.
|
|
8019
8019
|
*
|
|
8020
|
-
* Price: $0
|
|
8020
|
+
* Price: $0 per request plus $0.00125 per result (maximum $0.0125).
|
|
8021
8021
|
*
|
|
8022
8022
|
* @example
|
|
8023
8023
|
* const res = await client.web.crawl({ url: "https://example.com", limit: 3 });
|
|
@@ -8279,7 +8279,7 @@ var YoutubeNamespace = class {
|
|
|
8279
8279
|
*
|
|
8280
8280
|
* 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.
|
|
8281
8281
|
*
|
|
8282
|
-
* Price: $0.
|
|
8282
|
+
* Price: $0.0718 per request plus $0 per result (maximum $0.0718).
|
|
8283
8283
|
*
|
|
8284
8284
|
* @example
|
|
8285
8285
|
* const res = await client.youtube.channelContact({ handle: "@mkbhd" });
|