@getanyapi/sdk 0.136.9 → 0.137.0
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 +10 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/index.js +10 -10
- 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.0021 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 });
|
|
@@ -1724,7 +1724,7 @@ var BingNamespace = class {
|
|
|
1724
1724
|
*
|
|
1725
1725
|
* Ask Microsoft Copilot (the AI answer in Bing) a question and get its web-grounded answer with the sources it cites as clean JSON - for tracking how Copilot answers and which sites it cites.
|
|
1726
1726
|
*
|
|
1727
|
-
* Price: $0.
|
|
1727
|
+
* Price: $0.00644 per request.
|
|
1728
1728
|
*
|
|
1729
1729
|
* @example
|
|
1730
1730
|
* const res = await client.bing.copilot({ prompt: "what is the capital of australia and why" });
|
|
@@ -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-27", checkOut: "2026-11-29", limit: 3 });
|
|
1812
1812
|
*/
|
|
1813
1813
|
search(input, options) {
|
|
1814
1814
|
return this._core.run("booking.search", input, options);
|
|
@@ -2407,7 +2407,7 @@ var EmailNamespace = class {
|
|
|
2407
2407
|
*
|
|
2408
2408
|
* Find a person's work email address from their name and company domain.
|
|
2409
2409
|
*
|
|
2410
|
-
* Price: $0.
|
|
2410
|
+
* Price: $0.0154 per request.
|
|
2411
2411
|
*
|
|
2412
2412
|
* @example
|
|
2413
2413
|
* const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
|
|
@@ -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-27", checkOut: "2026-11-29", 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-27", checkOut: "2026-11-29", 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);
|
|
@@ -5157,7 +5157,7 @@ var LinkedinNamespace = class {
|
|
|
5157
5157
|
*
|
|
5158
5158
|
* Fetch a single LinkedIn post or article by URL (title, text, author, like and comment counts, publish date).
|
|
5159
5159
|
*
|
|
5160
|
-
* Price: $0.
|
|
5160
|
+
* Price: $0.0008 per request.
|
|
5161
5161
|
*
|
|
5162
5162
|
* @example
|
|
5163
5163
|
* const res = await client.linkedin.post({ url: "https://www.linkedin.com/posts/stripe_last-week-agent-traffic-surpassed-human-activity-7470882737390940160-2Nxs" });
|
|
@@ -7734,7 +7734,7 @@ var TiktokNamespace = class {
|
|
|
7734
7734
|
*
|
|
7735
7735
|
* List recent TikTok videos for a hashtag (creator, caption, views, likes, shares).
|
|
7736
7736
|
*
|
|
7737
|
-
* Price: $0.
|
|
7737
|
+
* Price: $0.0012 per request.
|
|
7738
7738
|
*
|
|
7739
7739
|
* @example
|
|
7740
7740
|
* const res = await client.tiktok.hashtagVideos({ hashtag: "cooking", limit: 3 });
|
|
@@ -8786,7 +8786,7 @@ var TwitterNamespace = class {
|
|
|
8786
8786
|
*
|
|
8787
8787
|
* Get current X (Twitter) trends for worldwide, a country, or a city in X ranking order, including the resolved location.
|
|
8788
8788
|
*
|
|
8789
|
-
* Price: $0.
|
|
8789
|
+
* Price: $0.00075 per request.
|
|
8790
8790
|
*
|
|
8791
8791
|
* @example
|
|
8792
8792
|
* const res = await client.twitter.trends({ limit: 10, location: "US" });
|
|
@@ -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.0718 per request plus $0 per result (maximum $0.0718).
|
|
9246
9246
|
*
|
|
9247
9247
|
* @example
|
|
9248
9248
|
* const res = await client.youtube.channelContact({ handle: "@mkbhd" });
|