@getanyapi/sdk 0.143.14 → 0.143.16
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
|
@@ -1408,7 +1408,7 @@ var AmazonNamespace = class {
|
|
|
1408
1408
|
*
|
|
1409
1409
|
* Pull up to 50 customer reviews for any Amazon product by ASIN or URL: rating, title, text, date, and verified-purchase badge.
|
|
1410
1410
|
*
|
|
1411
|
-
* Price: $0.
|
|
1411
|
+
* Price: $0.0013 per request.
|
|
1412
1412
|
*
|
|
1413
1413
|
* @example
|
|
1414
1414
|
* const res = await client.amazon.reviews({ product: "B07PXGQC1Q", limit: 3 });
|
|
@@ -1421,7 +1421,7 @@ var AmazonNamespace = class {
|
|
|
1421
1421
|
*
|
|
1422
1422
|
* Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
|
|
1423
1423
|
*
|
|
1424
|
-
* Price: $0.
|
|
1424
|
+
* Price: $0.0013 per request.
|
|
1425
1425
|
*
|
|
1426
1426
|
* @example
|
|
1427
1427
|
* const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
|
|
@@ -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-12-
|
|
1811
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-02", checkOut: "2026-12-04", limit: 3 });
|
|
1812
1812
|
*/
|
|
1813
1813
|
search(input, options) {
|
|
1814
1814
|
return this._core.run("booking.search", input, options);
|
|
@@ -3261,7 +3261,7 @@ var GeminiNamespace = class {
|
|
|
3261
3261
|
*
|
|
3262
3262
|
* Ask Gemini a web-grounded question and receive an answer with source citations.
|
|
3263
3263
|
*
|
|
3264
|
-
* Price: $0.
|
|
3264
|
+
* Price: $0.002 per request.
|
|
3265
3265
|
*
|
|
3266
3266
|
* @example
|
|
3267
3267
|
* const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -3816,7 +3816,7 @@ var GoogleNamespace = class {
|
|
|
3816
3816
|
*
|
|
3817
3817
|
* Run a Google web search and get up to 100 ranked organic results in one call, with true absolute positions rather than per-page numbering. One charge per call whatever the depth, which normally makes it cheaper than paging google.search past roughly 20 results; when the backup source has to answer, the call costs more, up to $0.024. It reads ten pages of Google to build the list, so a call can take up to about five minutes - use google.search when you want the first page back in a second.
|
|
3818
3818
|
*
|
|
3819
|
-
* Price: $0.
|
|
3819
|
+
* Price: $0.024 per request.
|
|
3820
3820
|
*
|
|
3821
3821
|
* @example
|
|
3822
3822
|
* const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });
|
|
@@ -3963,7 +3963,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3963
3963
|
* Price: $0.0015 per request.
|
|
3964
3964
|
*
|
|
3965
3965
|
* @example
|
|
3966
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
3966
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-02", checkOut: "2026-12-04", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3967
3967
|
*/
|
|
3968
3968
|
details(input, options) {
|
|
3969
3969
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -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.search({ checkIn: "2026-12-
|
|
3979
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-02", checkOut: "2026-12-04", country: "us", query: "hotels near times square new york" });
|
|
3980
3980
|
*/
|
|
3981
3981
|
search(input, options) {
|
|
3982
3982
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -9565,7 +9565,7 @@ var YoutubeNamespace = class {
|
|
|
9565
9565
|
*
|
|
9566
9566
|
* Fetch the transcript/captions of a YouTube video or Short by URL or ID.
|
|
9567
9567
|
*
|
|
9568
|
-
* Price: $0.
|
|
9568
|
+
* Price: $0.001 per request.
|
|
9569
9569
|
*
|
|
9570
9570
|
* @example
|
|
9571
9571
|
* const res = await client.youtube.videoTranscript({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|