@getanyapi/sdk 0.130.2 → 0.130.4
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 +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1807,7 +1807,7 @@ var BookingNamespace = class {
|
|
|
1807
1807
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1808
1808
|
*
|
|
1809
1809
|
* @example
|
|
1810
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
1810
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-24", checkOut: "2026-11-26", limit: 3 });
|
|
1811
1811
|
*/
|
|
1812
1812
|
search(input, options) {
|
|
1813
1813
|
return this._core.run("booking.search", input, options);
|
|
@@ -2393,7 +2393,7 @@ var EmailNamespace = class {
|
|
|
2393
2393
|
*
|
|
2394
2394
|
* Find a person's work email address from their name and company domain.
|
|
2395
2395
|
*
|
|
2396
|
-
* Price: $0.
|
|
2396
|
+
* Price: $0.0154 per request.
|
|
2397
2397
|
*
|
|
2398
2398
|
* @example
|
|
2399
2399
|
* const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
|
|
@@ -3627,7 +3627,7 @@ var GoogleNamespace = class {
|
|
|
3627
3627
|
*
|
|
3628
3628
|
* 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.
|
|
3629
3629
|
*
|
|
3630
|
-
* Price: $0.
|
|
3630
|
+
* Price: $0.0015 per request.
|
|
3631
3631
|
*
|
|
3632
3632
|
* @example
|
|
3633
3633
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -3786,7 +3786,7 @@ var GoogleNamespace = class {
|
|
|
3786
3786
|
*
|
|
3787
3787
|
* 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.
|
|
3788
3788
|
*
|
|
3789
|
-
* Price: $0.
|
|
3789
|
+
* Price: $0.0004 per request.
|
|
3790
3790
|
*
|
|
3791
3791
|
* @example
|
|
3792
3792
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -3962,7 +3962,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3962
3962
|
* Price: $0.0015 per request.
|
|
3963
3963
|
*
|
|
3964
3964
|
* @example
|
|
3965
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
3965
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-24", checkOut: "2026-11-26", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3966
3966
|
*/
|
|
3967
3967
|
details(input, options) {
|
|
3968
3968
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3975,7 +3975,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3975
3975
|
* Price: $0.0015 per request.
|
|
3976
3976
|
*
|
|
3977
3977
|
* @example
|
|
3978
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
3978
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-24", checkOut: "2026-11-26", country: "us", query: "hotels near times square new york" });
|
|
3979
3979
|
*/
|
|
3980
3980
|
search(input, options) {
|
|
3981
3981
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -6267,7 +6267,7 @@ var RedditNamespace = class {
|
|
|
6267
6267
|
*
|
|
6268
6268
|
* Fetch posts from a subreddit listing (hot, new, or top).
|
|
6269
6269
|
*
|
|
6270
|
-
* Price: $0.
|
|
6270
|
+
* Price: $0.00038 per request.
|
|
6271
6271
|
*
|
|
6272
6272
|
* @example
|
|
6273
6273
|
* const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
|