@getanyapi/sdk 0.119.2 → 0.119.3
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
|
@@ -5780,7 +5780,7 @@ declare class BookingNamespace {
|
|
|
5780
5780
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
5781
5781
|
*
|
|
5782
5782
|
* @example
|
|
5783
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
5783
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-18", checkOut: "2026-11-20", limit: 3 });
|
|
5784
5784
|
*/
|
|
5785
5785
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
5786
5786
|
}
|
|
@@ -13741,7 +13741,7 @@ declare class EmailNamespace {
|
|
|
13741
13741
|
*
|
|
13742
13742
|
* Find a person's work email address from their name and company domain.
|
|
13743
13743
|
*
|
|
13744
|
-
* Price: $0.
|
|
13744
|
+
* Price: $0.0308 per request.
|
|
13745
13745
|
*
|
|
13746
13746
|
* @example
|
|
13747
13747
|
* const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
|
|
@@ -23858,7 +23858,7 @@ declare class GoogleHotelsNamespace {
|
|
|
23858
23858
|
* Price: $0.0015 per request.
|
|
23859
23859
|
*
|
|
23860
23860
|
* @example
|
|
23861
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
23861
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-18", checkOut: "2026-11-20", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
23862
23862
|
*/
|
|
23863
23863
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
23864
23864
|
/**
|
|
@@ -23869,7 +23869,7 @@ declare class GoogleHotelsNamespace {
|
|
|
23869
23869
|
* Price: $0.0015 per request.
|
|
23870
23870
|
*
|
|
23871
23871
|
* @example
|
|
23872
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
23872
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-18", checkOut: "2026-11-20", country: "us", query: "hotels near times square new york" });
|
|
23873
23873
|
*/
|
|
23874
23874
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
23875
23875
|
}
|
|
@@ -29268,7 +29268,7 @@ declare class InstagramNamespace {
|
|
|
29268
29268
|
*
|
|
29269
29269
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
29270
29270
|
*
|
|
29271
|
-
* Price: $0.
|
|
29271
|
+
* Price: $0.027 per request.
|
|
29272
29272
|
*
|
|
29273
29273
|
* @example
|
|
29274
29274
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -35635,7 +35635,7 @@ declare class LinkedinNamespace {
|
|
|
35635
35635
|
*
|
|
35636
35636
|
* Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields.
|
|
35637
35637
|
*
|
|
35638
|
-
* Price: $0 per request
|
|
35638
|
+
* Price: $0.005 per request.
|
|
35639
35639
|
*
|
|
35640
35640
|
* @example
|
|
35641
35641
|
* const res = await client.linkedin.profilePostsThin({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
|
|
@@ -48156,7 +48156,7 @@ declare class RedditNamespace {
|
|
|
48156
48156
|
*
|
|
48157
48157
|
* List the comments on a Reddit post by URL (author, body, score, timestamp, parent comment). Replies carry the parentId of the comment they answer.
|
|
48158
48158
|
*
|
|
48159
|
-
* Price: $0.
|
|
48159
|
+
* Price: $0.0012 per request.
|
|
48160
48160
|
*
|
|
48161
48161
|
* @example
|
|
48162
48162
|
* const res = await client.reddit.postComments({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
|
|
@@ -48225,7 +48225,7 @@ declare class RedditNamespace {
|
|
|
48225
48225
|
*
|
|
48226
48226
|
* Fetch posts from a subreddit listing (hot, new, or top).
|
|
48227
48227
|
*
|
|
48228
|
-
* Price: $0.
|
|
48228
|
+
* Price: $0.0008 per request.
|
|
48229
48229
|
*
|
|
48230
48230
|
* @example
|
|
48231
48231
|
* const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
|
|
@@ -60281,7 +60281,7 @@ declare class TiktokNamespace {
|
|
|
60281
60281
|
*
|
|
60282
60282
|
* 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.
|
|
60283
60283
|
*
|
|
60284
|
-
* Price: $0.
|
|
60284
|
+
* Price: $0.00187 per request plus $0 per result (maximum $0.00187).
|
|
60285
60285
|
*
|
|
60286
60286
|
* @example
|
|
60287
60287
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|
package/dist/index.d.ts
CHANGED
|
@@ -5780,7 +5780,7 @@ declare class BookingNamespace {
|
|
|
5780
5780
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
5781
5781
|
*
|
|
5782
5782
|
* @example
|
|
5783
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
5783
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-18", checkOut: "2026-11-20", limit: 3 });
|
|
5784
5784
|
*/
|
|
5785
5785
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
5786
5786
|
}
|
|
@@ -13741,7 +13741,7 @@ declare class EmailNamespace {
|
|
|
13741
13741
|
*
|
|
13742
13742
|
* Find a person's work email address from their name and company domain.
|
|
13743
13743
|
*
|
|
13744
|
-
* Price: $0.
|
|
13744
|
+
* Price: $0.0308 per request.
|
|
13745
13745
|
*
|
|
13746
13746
|
* @example
|
|
13747
13747
|
* const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
|
|
@@ -23858,7 +23858,7 @@ declare class GoogleHotelsNamespace {
|
|
|
23858
23858
|
* Price: $0.0015 per request.
|
|
23859
23859
|
*
|
|
23860
23860
|
* @example
|
|
23861
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
23861
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-18", checkOut: "2026-11-20", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
23862
23862
|
*/
|
|
23863
23863
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
23864
23864
|
/**
|
|
@@ -23869,7 +23869,7 @@ declare class GoogleHotelsNamespace {
|
|
|
23869
23869
|
* Price: $0.0015 per request.
|
|
23870
23870
|
*
|
|
23871
23871
|
* @example
|
|
23872
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
23872
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-18", checkOut: "2026-11-20", country: "us", query: "hotels near times square new york" });
|
|
23873
23873
|
*/
|
|
23874
23874
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
23875
23875
|
}
|
|
@@ -29268,7 +29268,7 @@ declare class InstagramNamespace {
|
|
|
29268
29268
|
*
|
|
29269
29269
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
29270
29270
|
*
|
|
29271
|
-
* Price: $0.
|
|
29271
|
+
* Price: $0.027 per request.
|
|
29272
29272
|
*
|
|
29273
29273
|
* @example
|
|
29274
29274
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -35635,7 +35635,7 @@ declare class LinkedinNamespace {
|
|
|
35635
35635
|
*
|
|
35636
35636
|
* Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields.
|
|
35637
35637
|
*
|
|
35638
|
-
* Price: $0 per request
|
|
35638
|
+
* Price: $0.005 per request.
|
|
35639
35639
|
*
|
|
35640
35640
|
* @example
|
|
35641
35641
|
* const res = await client.linkedin.profilePostsThin({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
|
|
@@ -48156,7 +48156,7 @@ declare class RedditNamespace {
|
|
|
48156
48156
|
*
|
|
48157
48157
|
* List the comments on a Reddit post by URL (author, body, score, timestamp, parent comment). Replies carry the parentId of the comment they answer.
|
|
48158
48158
|
*
|
|
48159
|
-
* Price: $0.
|
|
48159
|
+
* Price: $0.0012 per request.
|
|
48160
48160
|
*
|
|
48161
48161
|
* @example
|
|
48162
48162
|
* const res = await client.reddit.postComments({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
|
|
@@ -48225,7 +48225,7 @@ declare class RedditNamespace {
|
|
|
48225
48225
|
*
|
|
48226
48226
|
* Fetch posts from a subreddit listing (hot, new, or top).
|
|
48227
48227
|
*
|
|
48228
|
-
* Price: $0.
|
|
48228
|
+
* Price: $0.0008 per request.
|
|
48229
48229
|
*
|
|
48230
48230
|
* @example
|
|
48231
48231
|
* const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
|
|
@@ -60281,7 +60281,7 @@ declare class TiktokNamespace {
|
|
|
60281
60281
|
*
|
|
60282
60282
|
* 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.
|
|
60283
60283
|
*
|
|
60284
|
-
* Price: $0.
|
|
60284
|
+
* Price: $0.00187 per request plus $0 per result (maximum $0.00187).
|
|
60285
60285
|
*
|
|
60286
60286
|
* @example
|
|
60287
60287
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|
package/dist/index.js
CHANGED
|
@@ -1491,7 +1491,7 @@ var BookingNamespace = class {
|
|
|
1491
1491
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1492
1492
|
*
|
|
1493
1493
|
* @example
|
|
1494
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
1494
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-18", checkOut: "2026-11-20", limit: 3 });
|
|
1495
1495
|
*/
|
|
1496
1496
|
search(input, options) {
|
|
1497
1497
|
return this._core.run("booking.search", input, options);
|
|
@@ -2035,7 +2035,7 @@ var EmailNamespace = class {
|
|
|
2035
2035
|
*
|
|
2036
2036
|
* Find a person's work email address from their name and company domain.
|
|
2037
2037
|
*
|
|
2038
|
-
* Price: $0.
|
|
2038
|
+
* Price: $0.0308 per request.
|
|
2039
2039
|
*
|
|
2040
2040
|
* @example
|
|
2041
2041
|
* const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
|
|
@@ -3544,7 +3544,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3544
3544
|
* Price: $0.0015 per request.
|
|
3545
3545
|
*
|
|
3546
3546
|
* @example
|
|
3547
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
3547
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-18", checkOut: "2026-11-20", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3548
3548
|
*/
|
|
3549
3549
|
details(input, options) {
|
|
3550
3550
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3557,7 +3557,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3557
3557
|
* Price: $0.0015 per request.
|
|
3558
3558
|
*
|
|
3559
3559
|
* @example
|
|
3560
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
3560
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-18", checkOut: "2026-11-20", country: "us", query: "hotels near times square new york" });
|
|
3561
3561
|
*/
|
|
3562
3562
|
search(input, options) {
|
|
3563
3563
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -4207,7 +4207,7 @@ var InstagramNamespace = class {
|
|
|
4207
4207
|
*
|
|
4208
4208
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
4209
4209
|
*
|
|
4210
|
-
* Price: $0.
|
|
4210
|
+
* Price: $0.027 per request.
|
|
4211
4211
|
*
|
|
4212
4212
|
* @example
|
|
4213
4213
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -4738,7 +4738,7 @@ var LinkedinNamespace = class {
|
|
|
4738
4738
|
*
|
|
4739
4739
|
* Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields.
|
|
4740
4740
|
*
|
|
4741
|
-
* Price: $0 per request
|
|
4741
|
+
* Price: $0.005 per request.
|
|
4742
4742
|
*
|
|
4743
4743
|
* @example
|
|
4744
4744
|
* const res = await client.linkedin.profilePostsThin({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
|
|
@@ -5611,7 +5611,7 @@ var RedditNamespace = class {
|
|
|
5611
5611
|
*
|
|
5612
5612
|
* List the comments on a Reddit post by URL (author, body, score, timestamp, parent comment). Replies carry the parentId of the comment they answer.
|
|
5613
5613
|
*
|
|
5614
|
-
* Price: $0.
|
|
5614
|
+
* Price: $0.0012 per request.
|
|
5615
5615
|
*
|
|
5616
5616
|
* @example
|
|
5617
5617
|
* const res = await client.reddit.postComments({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
|
|
@@ -5708,7 +5708,7 @@ var RedditNamespace = class {
|
|
|
5708
5708
|
*
|
|
5709
5709
|
* Fetch posts from a subreddit listing (hot, new, or top).
|
|
5710
5710
|
*
|
|
5711
|
-
* Price: $0.
|
|
5711
|
+
* Price: $0.0008 per request.
|
|
5712
5712
|
*
|
|
5713
5713
|
* @example
|
|
5714
5714
|
* const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
|
|
@@ -7007,7 +7007,7 @@ var TiktokNamespace = class {
|
|
|
7007
7007
|
*
|
|
7008
7008
|
* 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.
|
|
7009
7009
|
*
|
|
7010
|
-
* Price: $0.
|
|
7010
|
+
* Price: $0.00187 per request plus $0 per result (maximum $0.00187).
|
|
7011
7011
|
*
|
|
7012
7012
|
* @example
|
|
7013
7013
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|