@getanyapi/sdk 0.135.3 → 0.135.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 +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -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.00075 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-11-
|
|
1811
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-26", checkOut: "2026-11-28", 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?" });
|
|
@@ -3829,7 +3829,7 @@ var GoogleNamespace = class {
|
|
|
3829
3829
|
*
|
|
3830
3830
|
* 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.
|
|
3831
3831
|
*
|
|
3832
|
-
* Price: $0.
|
|
3832
|
+
* Price: $0.024 per request.
|
|
3833
3833
|
*
|
|
3834
3834
|
* @example
|
|
3835
3835
|
* const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });
|
|
@@ -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.002 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-26", checkOut: "2026-11-28", 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-26", checkOut: "2026-11-28", 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);
|
|
@@ -6365,7 +6365,7 @@ var RedditNamespace = class {
|
|
|
6365
6365
|
*
|
|
6366
6366
|
* List a Reddit user's comments by username, sorted by new, top, hot, or controversial, with the parent post title and subreddit on every item and cursor pagination. Comment text comes back as a roughly 300-character preview rather than the full body, and this endpoint carries no per-comment permalink; use reddit.post_comments for full comment bodies and comment URLs on a given post.
|
|
6367
6367
|
*
|
|
6368
|
-
* Price: $0.
|
|
6368
|
+
* Price: $0.0012 per request.
|
|
6369
6369
|
*
|
|
6370
6370
|
* @example
|
|
6371
6371
|
* const res = await client.reddit.userComments({ username: "spez" });
|
|
@@ -9242,7 +9242,7 @@ var YoutubeNamespace = class {
|
|
|
9242
9242
|
*
|
|
9243
9243
|
* Reveal the business inquiry email a YouTube creator publishes behind the channel's View email address button. YouTube gates that address behind a signed-in Google session and a CAPTCHA, so it is absent from the channel page a logged-out scraper reads.
|
|
9244
9244
|
*
|
|
9245
|
-
* Price: $0.
|
|
9245
|
+
* Price: $0.132 per request plus $0 per result (maximum $0.132).
|
|
9246
9246
|
*
|
|
9247
9247
|
* @example
|
|
9248
9248
|
* const res = await client.youtube.channelContact({ handle: "@mkbhd" });
|