@getanyapi/sdk 0.126.4 → 0.126.6
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
|
@@ -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-20", checkOut: "2026-11-22", limit: 3 });
|
|
1710
1710
|
*/
|
|
1711
1711
|
search(input, options) {
|
|
1712
1712
|
return this._core.run("booking.search", input, options);
|
|
@@ -2292,7 +2292,7 @@ var EmailNamespace = class {
|
|
|
2292
2292
|
*
|
|
2293
2293
|
* Find a person's work email address from their name and company domain.
|
|
2294
2294
|
*
|
|
2295
|
-
* Price: $0.
|
|
2295
|
+
* Price: $0.0154 per request.
|
|
2296
2296
|
*
|
|
2297
2297
|
* @example
|
|
2298
2298
|
* const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
|
|
@@ -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?" });
|
|
@@ -3667,7 +3667,7 @@ var GoogleNamespace = class {
|
|
|
3667
3667
|
*
|
|
3668
3668
|
* 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.
|
|
3669
3669
|
*
|
|
3670
|
-
* Price: $0.
|
|
3670
|
+
* Price: $0.018 per request.
|
|
3671
3671
|
*
|
|
3672
3672
|
* @example
|
|
3673
3673
|
* const res = await client.google.trends({ keywords: ["coffee", "tea"], geo: "US", timeframe: "12m" });
|
|
@@ -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-20", checkOut: "2026-11-22", 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-20", checkOut: "2026-11-22", 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);
|
|
@@ -9265,7 +9265,7 @@ var YoutubeNamespace = class {
|
|
|
9265
9265
|
*
|
|
9266
9266
|
* Fetch a YouTube video or Short transcript with timed segments and its provenance: whether the words are creator-written captions or machine speech recognition.
|
|
9267
9267
|
*
|
|
9268
|
-
* Price: $0.
|
|
9268
|
+
* Price: $0.002 per request.
|
|
9269
9269
|
*
|
|
9270
9270
|
* @example
|
|
9271
9271
|
* const res = await client.youtube.videoTranscriptFull({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|