@getanyapi/sdk 0.141.9 → 0.141.11
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.d.cts
CHANGED
|
@@ -7761,7 +7761,7 @@ declare class BookingNamespace {
|
|
|
7761
7761
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
7762
7762
|
*
|
|
7763
7763
|
* @example
|
|
7764
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
7764
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-28", checkOut: "2026-11-30", limit: 3 });
|
|
7765
7765
|
*/
|
|
7766
7766
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
7767
7767
|
}
|
|
@@ -25437,7 +25437,7 @@ declare class GoogleNamespace {
|
|
|
25437
25437
|
*
|
|
25438
25438
|
* 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.
|
|
25439
25439
|
*
|
|
25440
|
-
* Price: $0.
|
|
25440
|
+
* Price: $0.0018 per request.
|
|
25441
25441
|
*
|
|
25442
25442
|
* @example
|
|
25443
25443
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -25583,7 +25583,7 @@ declare class GoogleNamespace {
|
|
|
25583
25583
|
*
|
|
25584
25584
|
* 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.
|
|
25585
25585
|
*
|
|
25586
|
-
* Price: $0.
|
|
25586
|
+
* Price: $0.0018 per request.
|
|
25587
25587
|
*
|
|
25588
25588
|
* @example
|
|
25589
25589
|
* const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });
|
|
@@ -26499,7 +26499,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26499
26499
|
* Price: $0.0015 per request.
|
|
26500
26500
|
*
|
|
26501
26501
|
* @example
|
|
26502
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
26502
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-28", checkOut: "2026-11-30", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
26503
26503
|
*/
|
|
26504
26504
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
26505
26505
|
/**
|
|
@@ -26510,7 +26510,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26510
26510
|
* Price: $0.0015 per request.
|
|
26511
26511
|
*
|
|
26512
26512
|
* @example
|
|
26513
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
26513
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-28", checkOut: "2026-11-30", country: "us", query: "hotels near times square new york" });
|
|
26514
26514
|
*/
|
|
26515
26515
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
26516
26516
|
}
|
|
@@ -39667,7 +39667,7 @@ declare class LinkedinNamespace {
|
|
|
39667
39667
|
*
|
|
39668
39668
|
* Search public LinkedIn posts with rich author, engagement, attachment, and poll details.
|
|
39669
39669
|
*
|
|
39670
|
-
* Price: $0.
|
|
39670
|
+
* Price: $0.005 per request.
|
|
39671
39671
|
*
|
|
39672
39672
|
* @example
|
|
39673
39673
|
* const res = await client.linkedin.searchPostsFull({ query: "artificial intelligence", datePosted: "last-week", limit: 10, sort: "relevance" });
|
|
@@ -52981,7 +52981,7 @@ declare class RedditNamespace {
|
|
|
52981
52981
|
*
|
|
52982
52982
|
* Fetch posts from a subreddit listing (hot, new, or top).
|
|
52983
52983
|
*
|
|
52984
|
-
* Price: $0.
|
|
52984
|
+
* Price: $0.0008 per request.
|
|
52985
52985
|
*
|
|
52986
52986
|
* @example
|
|
52987
52987
|
* const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
|
|
@@ -67342,7 +67342,7 @@ declare class TiktokNamespace {
|
|
|
67342
67342
|
*
|
|
67343
67343
|
* List recent TikTok videos for a hashtag (creator, caption, views, likes, shares).
|
|
67344
67344
|
*
|
|
67345
|
-
* Price: $0.
|
|
67345
|
+
* Price: $0.0012 per request.
|
|
67346
67346
|
*
|
|
67347
67347
|
* @example
|
|
67348
67348
|
* const res = await client.tiktok.hashtagVideos({ hashtag: "cooking", limit: 3 });
|
|
@@ -67411,7 +67411,7 @@ declare class TiktokNamespace {
|
|
|
67411
67411
|
*
|
|
67412
67412
|
* 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.
|
|
67413
67413
|
*
|
|
67414
|
-
* Price: $0.
|
|
67414
|
+
* Price: $0.00187 per request plus $0 per result (maximum $0.00187).
|
|
67415
67415
|
*
|
|
67416
67416
|
* @example
|
|
67417
67417
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|
package/dist/index.d.ts
CHANGED
|
@@ -7761,7 +7761,7 @@ declare class BookingNamespace {
|
|
|
7761
7761
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
7762
7762
|
*
|
|
7763
7763
|
* @example
|
|
7764
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
7764
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-28", checkOut: "2026-11-30", limit: 3 });
|
|
7765
7765
|
*/
|
|
7766
7766
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
7767
7767
|
}
|
|
@@ -25437,7 +25437,7 @@ declare class GoogleNamespace {
|
|
|
25437
25437
|
*
|
|
25438
25438
|
* 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.
|
|
25439
25439
|
*
|
|
25440
|
-
* Price: $0.
|
|
25440
|
+
* Price: $0.0018 per request.
|
|
25441
25441
|
*
|
|
25442
25442
|
* @example
|
|
25443
25443
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -25583,7 +25583,7 @@ declare class GoogleNamespace {
|
|
|
25583
25583
|
*
|
|
25584
25584
|
* 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.
|
|
25585
25585
|
*
|
|
25586
|
-
* Price: $0.
|
|
25586
|
+
* Price: $0.0018 per request.
|
|
25587
25587
|
*
|
|
25588
25588
|
* @example
|
|
25589
25589
|
* const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });
|
|
@@ -26499,7 +26499,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26499
26499
|
* Price: $0.0015 per request.
|
|
26500
26500
|
*
|
|
26501
26501
|
* @example
|
|
26502
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
26502
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-28", checkOut: "2026-11-30", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
26503
26503
|
*/
|
|
26504
26504
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
26505
26505
|
/**
|
|
@@ -26510,7 +26510,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26510
26510
|
* Price: $0.0015 per request.
|
|
26511
26511
|
*
|
|
26512
26512
|
* @example
|
|
26513
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
26513
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-28", checkOut: "2026-11-30", country: "us", query: "hotels near times square new york" });
|
|
26514
26514
|
*/
|
|
26515
26515
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
26516
26516
|
}
|
|
@@ -39667,7 +39667,7 @@ declare class LinkedinNamespace {
|
|
|
39667
39667
|
*
|
|
39668
39668
|
* Search public LinkedIn posts with rich author, engagement, attachment, and poll details.
|
|
39669
39669
|
*
|
|
39670
|
-
* Price: $0.
|
|
39670
|
+
* Price: $0.005 per request.
|
|
39671
39671
|
*
|
|
39672
39672
|
* @example
|
|
39673
39673
|
* const res = await client.linkedin.searchPostsFull({ query: "artificial intelligence", datePosted: "last-week", limit: 10, sort: "relevance" });
|
|
@@ -52981,7 +52981,7 @@ declare class RedditNamespace {
|
|
|
52981
52981
|
*
|
|
52982
52982
|
* Fetch posts from a subreddit listing (hot, new, or top).
|
|
52983
52983
|
*
|
|
52984
|
-
* Price: $0.
|
|
52984
|
+
* Price: $0.0008 per request.
|
|
52985
52985
|
*
|
|
52986
52986
|
* @example
|
|
52987
52987
|
* const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
|
|
@@ -67342,7 +67342,7 @@ declare class TiktokNamespace {
|
|
|
67342
67342
|
*
|
|
67343
67343
|
* List recent TikTok videos for a hashtag (creator, caption, views, likes, shares).
|
|
67344
67344
|
*
|
|
67345
|
-
* Price: $0.
|
|
67345
|
+
* Price: $0.0012 per request.
|
|
67346
67346
|
*
|
|
67347
67347
|
* @example
|
|
67348
67348
|
* const res = await client.tiktok.hashtagVideos({ hashtag: "cooking", limit: 3 });
|
|
@@ -67411,7 +67411,7 @@ declare class TiktokNamespace {
|
|
|
67411
67411
|
*
|
|
67412
67412
|
* 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.
|
|
67413
67413
|
*
|
|
67414
|
-
* Price: $0.
|
|
67414
|
+
* Price: $0.00187 per request plus $0 per result (maximum $0.00187).
|
|
67415
67415
|
*
|
|
67416
67416
|
* @example
|
|
67417
67417
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|
package/dist/index.js
CHANGED
|
@@ -1671,7 +1671,7 @@ var BookingNamespace = class {
|
|
|
1671
1671
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1672
1672
|
*
|
|
1673
1673
|
* @example
|
|
1674
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
1674
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-28", checkOut: "2026-11-30", limit: 3 });
|
|
1675
1675
|
*/
|
|
1676
1676
|
search(input, options) {
|
|
1677
1677
|
return this._core.run("booking.search", input, options);
|
|
@@ -3491,7 +3491,7 @@ var GoogleNamespace = class {
|
|
|
3491
3491
|
*
|
|
3492
3492
|
* 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.
|
|
3493
3493
|
*
|
|
3494
|
-
* Price: $0.
|
|
3494
|
+
* Price: $0.0018 per request.
|
|
3495
3495
|
*
|
|
3496
3496
|
* @example
|
|
3497
3497
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -3679,7 +3679,7 @@ var GoogleNamespace = class {
|
|
|
3679
3679
|
*
|
|
3680
3680
|
* 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.
|
|
3681
3681
|
*
|
|
3682
|
-
* Price: $0.
|
|
3682
|
+
* Price: $0.0018 per request.
|
|
3683
3683
|
*
|
|
3684
3684
|
* @example
|
|
3685
3685
|
* const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });
|
|
@@ -3826,7 +3826,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3826
3826
|
* Price: $0.0015 per request.
|
|
3827
3827
|
*
|
|
3828
3828
|
* @example
|
|
3829
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
3829
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-28", checkOut: "2026-11-30", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3830
3830
|
*/
|
|
3831
3831
|
details(input, options) {
|
|
3832
3832
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3839,7 +3839,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3839
3839
|
* Price: $0.0015 per request.
|
|
3840
3840
|
*
|
|
3841
3841
|
* @example
|
|
3842
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
3842
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-28", checkOut: "2026-11-30", country: "us", query: "hotels near times square new york" });
|
|
3843
3843
|
*/
|
|
3844
3844
|
search(input, options) {
|
|
3845
3845
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -5237,7 +5237,7 @@ var LinkedinNamespace = class {
|
|
|
5237
5237
|
*
|
|
5238
5238
|
* Search public LinkedIn posts with rich author, engagement, attachment, and poll details.
|
|
5239
5239
|
*
|
|
5240
|
-
* Price: $0.
|
|
5240
|
+
* Price: $0.005 per request.
|
|
5241
5241
|
*
|
|
5242
5242
|
* @example
|
|
5243
5243
|
* const res = await client.linkedin.searchPostsFull({ query: "artificial intelligence", datePosted: "last-week", limit: 10, sort: "relevance" });
|
|
@@ -6144,7 +6144,7 @@ var RedditNamespace = class {
|
|
|
6144
6144
|
*
|
|
6145
6145
|
* Fetch posts from a subreddit listing (hot, new, or top).
|
|
6146
6146
|
*
|
|
6147
|
-
* Price: $0.
|
|
6147
|
+
* Price: $0.0008 per request.
|
|
6148
6148
|
*
|
|
6149
6149
|
* @example
|
|
6150
6150
|
* const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
|
|
@@ -7584,7 +7584,7 @@ var TiktokNamespace = class {
|
|
|
7584
7584
|
*
|
|
7585
7585
|
* List recent TikTok videos for a hashtag (creator, caption, views, likes, shares).
|
|
7586
7586
|
*
|
|
7587
|
-
* Price: $0.
|
|
7587
|
+
* Price: $0.0012 per request.
|
|
7588
7588
|
*
|
|
7589
7589
|
* @example
|
|
7590
7590
|
* const res = await client.tiktok.hashtagVideos({ hashtag: "cooking", limit: 3 });
|
|
@@ -7681,7 +7681,7 @@ var TiktokNamespace = class {
|
|
|
7681
7681
|
*
|
|
7682
7682
|
* 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.
|
|
7683
7683
|
*
|
|
7684
|
-
* Price: $0.
|
|
7684
|
+
* Price: $0.00187 per request plus $0 per result (maximum $0.00187).
|
|
7685
7685
|
*
|
|
7686
7686
|
* @example
|
|
7687
7687
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|