@getanyapi/sdk 0.135.0 → 0.135.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 +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1808,7 +1808,7 @@ var BookingNamespace = class {
|
|
|
1808
1808
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1809
1809
|
*
|
|
1810
1810
|
* @example
|
|
1811
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
1811
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-25", checkOut: "2026-11-27", limit: 3 });
|
|
1812
1812
|
*/
|
|
1813
1813
|
search(input, options) {
|
|
1814
1814
|
return this._core.run("booking.search", input, options);
|
|
@@ -3641,7 +3641,7 @@ var GoogleNamespace = class {
|
|
|
3641
3641
|
*
|
|
3642
3642
|
* 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.
|
|
3643
3643
|
*
|
|
3644
|
-
* Price: $0.
|
|
3644
|
+
* Price: $0.0015 per request.
|
|
3645
3645
|
*
|
|
3646
3646
|
* @example
|
|
3647
3647
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -3800,7 +3800,7 @@ var GoogleNamespace = class {
|
|
|
3800
3800
|
*
|
|
3801
3801
|
* 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.
|
|
3802
3802
|
*
|
|
3803
|
-
* Price: $0.
|
|
3803
|
+
* Price: $0.0004 per request.
|
|
3804
3804
|
*
|
|
3805
3805
|
* @example
|
|
3806
3806
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -3842,7 +3842,7 @@ var GoogleNamespace = class {
|
|
|
3842
3842
|
*
|
|
3843
3843
|
* Google Trends interest over time for up to 5 search terms compared on one 0-100 scale, where 100 is the peak search interest of any term in the window. Returns one series per term, in the order you sent them, with a value for every time bucket. Choose the country or region with geo (worldwide when omitted) and the window with timeframe (the past 12 months when omitted); both are echoed in the response. Interest over time only, not related queries or regions.
|
|
3844
3844
|
*
|
|
3845
|
-
* Price: $0.
|
|
3845
|
+
* Price: $0.018 per request.
|
|
3846
3846
|
*
|
|
3847
3847
|
* @example
|
|
3848
3848
|
* const res = await client.google.trends({ keywords: ["coffee", "tea"], geo: "US", timeframe: "12m" });
|
|
@@ -3976,7 +3976,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3976
3976
|
* Price: $0.0015 per request.
|
|
3977
3977
|
*
|
|
3978
3978
|
* @example
|
|
3979
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
3979
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-25", checkOut: "2026-11-27", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3980
3980
|
*/
|
|
3981
3981
|
details(input, options) {
|
|
3982
3982
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3989,7 +3989,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3989
3989
|
* Price: $0.0015 per request.
|
|
3990
3990
|
*
|
|
3991
3991
|
* @example
|
|
3992
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
3992
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-25", checkOut: "2026-11-27", country: "us", query: "hotels near times square new york" });
|
|
3993
3993
|
*/
|
|
3994
3994
|
search(input, options) {
|
|
3995
3995
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -4109,7 +4109,7 @@ var IndeedNamespace = class {
|
|
|
4109
4109
|
*
|
|
4110
4110
|
* Search Indeed job listings by keyword, location, and country, with up to 20 normalized job records per request.
|
|
4111
4111
|
*
|
|
4112
|
-
* Price: $0.
|
|
4112
|
+
* Price: $0.00042 per request.
|
|
4113
4113
|
*
|
|
4114
4114
|
* @example
|
|
4115
4115
|
* const res = await client.indeed.jobs({ query: "data analyst", limit: 3, location: "Austin, TX" });
|