@getanyapi/sdk 0.126.5 → 0.126.8
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 +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1345,7 +1345,7 @@ var AmazonNamespace = class {
|
|
|
1345
1345
|
*
|
|
1346
1346
|
* Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
|
|
1347
1347
|
*
|
|
1348
|
-
* Price: $0.
|
|
1348
|
+
* Price: $0.0013 per request.
|
|
1349
1349
|
*
|
|
1350
1350
|
* @example
|
|
1351
1351
|
* const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
|
|
@@ -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-21", checkOut: "2026-11-23", limit: 3 });
|
|
1710
1710
|
*/
|
|
1711
1711
|
search(input, options) {
|
|
1712
1712
|
return this._core.run("booking.search", input, options);
|
|
@@ -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.0015 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.0004 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-21", checkOut: "2026-11-23", 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-21", checkOut: "2026-11-23", 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);
|