@getanyapi/sdk 0.141.10 → 0.141.12
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 +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -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-28", checkOut: "2026-11-30", limit: 3 });
|
|
1812
1812
|
*/
|
|
1813
1813
|
search(input, options) {
|
|
1814
1814
|
return this._core.run("booking.search", input, options);
|
|
@@ -3628,7 +3628,7 @@ var GoogleNamespace = class {
|
|
|
3628
3628
|
*
|
|
3629
3629
|
* 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.
|
|
3630
3630
|
*
|
|
3631
|
-
* Price: $0.
|
|
3631
|
+
* Price: $0.0018 per request.
|
|
3632
3632
|
*
|
|
3633
3633
|
* @example
|
|
3634
3634
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -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-11-
|
|
3966
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-28", checkOut: "2026-11-30", 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-11-
|
|
3979
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-28", checkOut: "2026-11-30", 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);
|
|
@@ -6281,7 +6281,7 @@ var RedditNamespace = class {
|
|
|
6281
6281
|
*
|
|
6282
6282
|
* Fetch posts from a subreddit listing (hot, new, or top).
|
|
6283
6283
|
*
|
|
6284
|
-
* Price: $0.
|
|
6284
|
+
* Price: $0.0008 per request.
|
|
6285
6285
|
*
|
|
6286
6286
|
* @example
|
|
6287
6287
|
* const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
|
|
@@ -7721,7 +7721,7 @@ var TiktokNamespace = class {
|
|
|
7721
7721
|
*
|
|
7722
7722
|
* List recent TikTok videos for a hashtag (creator, caption, views, likes, shares).
|
|
7723
7723
|
*
|
|
7724
|
-
* Price: $0.
|
|
7724
|
+
* Price: $0.0012 per request.
|
|
7725
7725
|
*
|
|
7726
7726
|
* @example
|
|
7727
7727
|
* const res = await client.tiktok.hashtagVideos({ hashtag: "cooking", limit: 3 });
|
|
@@ -7818,7 +7818,7 @@ var TiktokNamespace = class {
|
|
|
7818
7818
|
*
|
|
7819
7819
|
* Find the public contact email behind a TikTok creator's profile: the address written into the bio plus any published on the site the profile links to, each labelled with where it came from. Returns the creator's profile stats and linked social accounts alongside.
|
|
7820
7820
|
*
|
|
7821
|
-
* Price: $0.
|
|
7821
|
+
* Price: $0.00187 per request plus $0 per result (maximum $0.00187).
|
|
7822
7822
|
*
|
|
7823
7823
|
* @example
|
|
7824
7824
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|