@getanyapi/sdk 0.126.12 → 0.127.1
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 +84 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1336 -276
- package/dist/index.d.ts +1336 -276
- package/dist/index.js +84 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1572,7 +1572,7 @@ var BookingNamespace = class {
|
|
|
1572
1572
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1573
1573
|
*
|
|
1574
1574
|
* @example
|
|
1575
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
1575
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-22", checkOut: "2026-11-24", limit: 3 });
|
|
1576
1576
|
*/
|
|
1577
1577
|
search(input, options) {
|
|
1578
1578
|
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" } });
|
|
@@ -3533,7 +3533,7 @@ var GoogleNamespace = class {
|
|
|
3533
3533
|
*
|
|
3534
3534
|
* Google Trends interest over time for up to 5 search terms compared on one 0-100 scale, where 100 is the peak search interest of any term in the window. Returns one series per term, in the order you sent them, with a value for every time bucket. Choose the country or region with geo (worldwide when omitted) and the window with timeframe (the past 12 months when omitted); both are echoed in the response. Interest over time only, not related queries or regions.
|
|
3535
3535
|
*
|
|
3536
|
-
* Price: $0.
|
|
3536
|
+
* Price: $0.018 per request.
|
|
3537
3537
|
*
|
|
3538
3538
|
* @example
|
|
3539
3539
|
* const res = await client.google.trends({ keywords: ["coffee", "tea"], geo: "US", timeframe: "12m" });
|
|
@@ -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-22", checkOut: "2026-11-24", 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-22", checkOut: "2026-11-24", 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);
|
|
@@ -4351,7 +4351,7 @@ var InstagramNamespace = class {
|
|
|
4351
4351
|
*
|
|
4352
4352
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
4353
4353
|
*
|
|
4354
|
-
* Price: $0.
|
|
4354
|
+
* Price: $0.00175 per request.
|
|
4355
4355
|
*
|
|
4356
4356
|
* @example
|
|
4357
4357
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -4642,6 +4642,32 @@ var LinkedinNamespace = class {
|
|
|
4642
4642
|
article(input, options) {
|
|
4643
4643
|
return this._core.run("linkedin.article", input, options);
|
|
4644
4644
|
}
|
|
4645
|
+
/**
|
|
4646
|
+
* LinkedIn Comment Reactions
|
|
4647
|
+
*
|
|
4648
|
+
* List who reacted to a comment on a LinkedIn post - reactor name, profile URL, job title, and reaction type, 100 per page.
|
|
4649
|
+
*
|
|
4650
|
+
* Price: $0.0026 per request.
|
|
4651
|
+
*
|
|
4652
|
+
* @example
|
|
4653
|
+
* const res = await client.linkedin.commentReactions({ url: "https://www.linkedin.com/feed/update/urn:li:activity:7510715600319467520?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7510715600319467520%2C7510768837462745088%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287510768837462745088%2Curn%3Ali%3Aactivity%3A7510715600319467520%29" });
|
|
4654
|
+
*/
|
|
4655
|
+
commentReactions(input, options) {
|
|
4656
|
+
return this._core.run("linkedin.comment_reactions", input, options);
|
|
4657
|
+
}
|
|
4658
|
+
/**
|
|
4659
|
+
* LinkedIn Comment Replies
|
|
4660
|
+
*
|
|
4661
|
+
* List up to the 10 newest replies to a comment on a LinkedIn post - reply text, replier name/URL/job title, timestamps, and likes.
|
|
4662
|
+
*
|
|
4663
|
+
* Price: $0.0026 per request.
|
|
4664
|
+
*
|
|
4665
|
+
* @example
|
|
4666
|
+
* const res = await client.linkedin.commentReplies({ url: "https://www.linkedin.com/feed/update/urn:li:activity:7510715600319467520?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7510715600319467520%2C7510749329649725442%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287510749329649725442%2Curn%3Ali%3Aactivity%3A7510715600319467520%29" });
|
|
4667
|
+
*/
|
|
4668
|
+
commentReplies(input, options) {
|
|
4669
|
+
return this._core.run("linkedin.comment_replies", input, options);
|
|
4670
|
+
}
|
|
4645
4671
|
/**
|
|
4646
4672
|
* LinkedIn Company
|
|
4647
4673
|
*
|
|
@@ -4720,6 +4746,32 @@ var LinkedinNamespace = class {
|
|
|
4720
4746
|
email(input, options) {
|
|
4721
4747
|
return this._core.run("linkedin.email", input, options);
|
|
4722
4748
|
}
|
|
4749
|
+
/**
|
|
4750
|
+
* LinkedIn Group
|
|
4751
|
+
*
|
|
4752
|
+
* Fetch one LinkedIn group by URL or id: name, description, rules, member count, logo and cover image, creation date, visibility and join settings, and its admins.
|
|
4753
|
+
*
|
|
4754
|
+
* Price: $0.0013 per request.
|
|
4755
|
+
*
|
|
4756
|
+
* @example
|
|
4757
|
+
* const res = await client.linkedin.group({ url: "https://www.linkedin.com/groups/1898033" });
|
|
4758
|
+
*/
|
|
4759
|
+
group(input, options) {
|
|
4760
|
+
return this._core.run("linkedin.group", input, options);
|
|
4761
|
+
}
|
|
4762
|
+
/**
|
|
4763
|
+
* LinkedIn Group Posts
|
|
4764
|
+
*
|
|
4765
|
+
* List the posts in a LinkedIn group by group URL, newest first: full text, canonical link, publish date, author, engagement counts with a per-reaction breakdown, and attached media. One call returns a page of about 100 posts; pass page to go further back.
|
|
4766
|
+
*
|
|
4767
|
+
* Price: $0.0026 per request.
|
|
4768
|
+
*
|
|
4769
|
+
* @example
|
|
4770
|
+
* const res = await client.linkedin.groupPosts({ url: "https://www.linkedin.com/groups/1898033" });
|
|
4771
|
+
*/
|
|
4772
|
+
groupPosts(input, options) {
|
|
4773
|
+
return this._core.run("linkedin.group_posts", input, options);
|
|
4774
|
+
}
|
|
4723
4775
|
/**
|
|
4724
4776
|
* LinkedIn Job
|
|
4725
4777
|
*
|
|
@@ -4966,6 +5018,19 @@ var LinkedinNamespace = class {
|
|
|
4966
5018
|
searchCompanies(input, options) {
|
|
4967
5019
|
return this._core.run("linkedin.search_companies", input, options);
|
|
4968
5020
|
}
|
|
5021
|
+
/**
|
|
5022
|
+
* LinkedIn Group Search
|
|
5023
|
+
*
|
|
5024
|
+
* Search LinkedIn groups by keyword, 10 per page: group name, URL, member count, summary, and logo.
|
|
5025
|
+
*
|
|
5026
|
+
* Price: $0.0013 per request.
|
|
5027
|
+
*
|
|
5028
|
+
* @example
|
|
5029
|
+
* const res = await client.linkedin.searchGroups({ query: "python" });
|
|
5030
|
+
*/
|
|
5031
|
+
searchGroups(input, options) {
|
|
5032
|
+
return this._core.run("linkedin.search_groups", input, options);
|
|
5033
|
+
}
|
|
4969
5034
|
/**
|
|
4970
5035
|
* LinkedIn Sales Navigator Lead Search
|
|
4971
5036
|
*
|
|
@@ -5076,6 +5141,19 @@ var LinkedinNamespace = class {
|
|
|
5076
5141
|
options
|
|
5077
5142
|
);
|
|
5078
5143
|
}
|
|
5144
|
+
/**
|
|
5145
|
+
* LinkedIn Service Provider Search
|
|
5146
|
+
*
|
|
5147
|
+
* Find freelancers and service providers on LinkedIn by the service they offer (e.g. 'Web Development'), optionally in a location. One call returns a page of up to 10 people, each with name, headline, location, about text, photo, profile URL, service page URL, and the list of services they offer. The profile URL can be passed to linkedin.profile for the full record.
|
|
5148
|
+
*
|
|
5149
|
+
* Price: $0.0026 per request.
|
|
5150
|
+
*
|
|
5151
|
+
* @example
|
|
5152
|
+
* const res = await client.linkedin.searchServices({ query: "Web Development", location: "Australia" });
|
|
5153
|
+
*/
|
|
5154
|
+
searchServices(input, options) {
|
|
5155
|
+
return this._core.run("linkedin.search_services", input, options);
|
|
5156
|
+
}
|
|
5079
5157
|
};
|
|
5080
5158
|
|
|
5081
5159
|
// src/generated/platforms/linktree.ts
|