@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.cjs
CHANGED
|
@@ -1614,7 +1614,7 @@ var BookingNamespace = class {
|
|
|
1614
1614
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1615
1615
|
*
|
|
1616
1616
|
* @example
|
|
1617
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
1617
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-18", checkOut: "2026-11-20", limit: 3 });
|
|
1618
1618
|
*/
|
|
1619
1619
|
search(input, options) {
|
|
1620
1620
|
return this._core.run("booking.search", input, options);
|
|
@@ -2158,7 +2158,7 @@ var EmailNamespace = class {
|
|
|
2158
2158
|
*
|
|
2159
2159
|
* Find a person's work email address from their name and company domain.
|
|
2160
2160
|
*
|
|
2161
|
-
* Price: $0.
|
|
2161
|
+
* Price: $0.0308 per request.
|
|
2162
2162
|
*
|
|
2163
2163
|
* @example
|
|
2164
2164
|
* const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
|
|
@@ -3667,7 +3667,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3667
3667
|
* Price: $0.0015 per request.
|
|
3668
3668
|
*
|
|
3669
3669
|
* @example
|
|
3670
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
3670
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-18", checkOut: "2026-11-20", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3671
3671
|
*/
|
|
3672
3672
|
details(input, options) {
|
|
3673
3673
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3680,7 +3680,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3680
3680
|
* Price: $0.0015 per request.
|
|
3681
3681
|
*
|
|
3682
3682
|
* @example
|
|
3683
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
3683
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-18", checkOut: "2026-11-20", country: "us", query: "hotels near times square new york" });
|
|
3684
3684
|
*/
|
|
3685
3685
|
search(input, options) {
|
|
3686
3686
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -4330,7 +4330,7 @@ var InstagramNamespace = class {
|
|
|
4330
4330
|
*
|
|
4331
4331
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
4332
4332
|
*
|
|
4333
|
-
* Price: $0.
|
|
4333
|
+
* Price: $0.027 per request.
|
|
4334
4334
|
*
|
|
4335
4335
|
* @example
|
|
4336
4336
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -4861,7 +4861,7 @@ var LinkedinNamespace = class {
|
|
|
4861
4861
|
*
|
|
4862
4862
|
* Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields.
|
|
4863
4863
|
*
|
|
4864
|
-
* Price: $0 per request
|
|
4864
|
+
* Price: $0.005 per request.
|
|
4865
4865
|
*
|
|
4866
4866
|
* @example
|
|
4867
4867
|
* const res = await client.linkedin.profilePostsThin({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
|
|
@@ -5734,7 +5734,7 @@ var RedditNamespace = class {
|
|
|
5734
5734
|
*
|
|
5735
5735
|
* List the comments on a Reddit post by URL (author, body, score, timestamp, parent comment). Replies carry the parentId of the comment they answer.
|
|
5736
5736
|
*
|
|
5737
|
-
* Price: $0.
|
|
5737
|
+
* Price: $0.0012 per request.
|
|
5738
5738
|
*
|
|
5739
5739
|
* @example
|
|
5740
5740
|
* const res = await client.reddit.postComments({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
|
|
@@ -5831,7 +5831,7 @@ var RedditNamespace = class {
|
|
|
5831
5831
|
*
|
|
5832
5832
|
* Fetch posts from a subreddit listing (hot, new, or top).
|
|
5833
5833
|
*
|
|
5834
|
-
* Price: $0.
|
|
5834
|
+
* Price: $0.0008 per request.
|
|
5835
5835
|
*
|
|
5836
5836
|
* @example
|
|
5837
5837
|
* const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
|
|
@@ -7130,7 +7130,7 @@ var TiktokNamespace = class {
|
|
|
7130
7130
|
*
|
|
7131
7131
|
* 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.
|
|
7132
7132
|
*
|
|
7133
|
-
* Price: $0.
|
|
7133
|
+
* Price: $0.00187 per request plus $0 per result (maximum $0.00187).
|
|
7134
7134
|
*
|
|
7135
7135
|
* @example
|
|
7136
7136
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|