@getanyapi/sdk 0.126.11 → 0.127.0
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 +83 -5
- 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 +83 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1706,7 +1706,7 @@ var BookingNamespace = class {
|
|
|
1706
1706
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1707
1707
|
*
|
|
1708
1708
|
* @example
|
|
1709
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
1709
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-22", checkOut: "2026-11-24", limit: 3 });
|
|
1710
1710
|
*/
|
|
1711
1711
|
search(input, options) {
|
|
1712
1712
|
return this._core.run("booking.search", input, options);
|
|
@@ -3667,7 +3667,7 @@ var GoogleNamespace = class {
|
|
|
3667
3667
|
*
|
|
3668
3668
|
* 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.
|
|
3669
3669
|
*
|
|
3670
|
-
* Price: $0.
|
|
3670
|
+
* Price: $0.018 per request.
|
|
3671
3671
|
*
|
|
3672
3672
|
* @example
|
|
3673
3673
|
* const res = await client.google.trends({ keywords: ["coffee", "tea"], geo: "US", timeframe: "12m" });
|
|
@@ -3801,7 +3801,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3801
3801
|
* Price: $0.0015 per request.
|
|
3802
3802
|
*
|
|
3803
3803
|
* @example
|
|
3804
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
3804
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-22", checkOut: "2026-11-24", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3805
3805
|
*/
|
|
3806
3806
|
details(input, options) {
|
|
3807
3807
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3814,7 +3814,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3814
3814
|
* Price: $0.0015 per request.
|
|
3815
3815
|
*
|
|
3816
3816
|
* @example
|
|
3817
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
3817
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-22", checkOut: "2026-11-24", country: "us", query: "hotels near times square new york" });
|
|
3818
3818
|
*/
|
|
3819
3819
|
search(input, options) {
|
|
3820
3820
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -4485,7 +4485,7 @@ var InstagramNamespace = class {
|
|
|
4485
4485
|
*
|
|
4486
4486
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
4487
4487
|
*
|
|
4488
|
-
* Price: $0.
|
|
4488
|
+
* Price: $0.00175 per request.
|
|
4489
4489
|
*
|
|
4490
4490
|
* @example
|
|
4491
4491
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -4776,6 +4776,32 @@ var LinkedinNamespace = class {
|
|
|
4776
4776
|
article(input, options) {
|
|
4777
4777
|
return this._core.run("linkedin.article", input, options);
|
|
4778
4778
|
}
|
|
4779
|
+
/**
|
|
4780
|
+
* LinkedIn Comment Reactions
|
|
4781
|
+
*
|
|
4782
|
+
* List who reacted to a comment on a LinkedIn post - reactor name, profile URL, job title, and reaction type, 100 per page.
|
|
4783
|
+
*
|
|
4784
|
+
* Price: $0.0026 per request.
|
|
4785
|
+
*
|
|
4786
|
+
* @example
|
|
4787
|
+
* 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" });
|
|
4788
|
+
*/
|
|
4789
|
+
commentReactions(input, options) {
|
|
4790
|
+
return this._core.run("linkedin.comment_reactions", input, options);
|
|
4791
|
+
}
|
|
4792
|
+
/**
|
|
4793
|
+
* LinkedIn Comment Replies
|
|
4794
|
+
*
|
|
4795
|
+
* List up to the 10 newest replies to a comment on a LinkedIn post - reply text, replier name/URL/job title, timestamps, and likes.
|
|
4796
|
+
*
|
|
4797
|
+
* Price: $0.0026 per request.
|
|
4798
|
+
*
|
|
4799
|
+
* @example
|
|
4800
|
+
* 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" });
|
|
4801
|
+
*/
|
|
4802
|
+
commentReplies(input, options) {
|
|
4803
|
+
return this._core.run("linkedin.comment_replies", input, options);
|
|
4804
|
+
}
|
|
4779
4805
|
/**
|
|
4780
4806
|
* LinkedIn Company
|
|
4781
4807
|
*
|
|
@@ -4854,6 +4880,32 @@ var LinkedinNamespace = class {
|
|
|
4854
4880
|
email(input, options) {
|
|
4855
4881
|
return this._core.run("linkedin.email", input, options);
|
|
4856
4882
|
}
|
|
4883
|
+
/**
|
|
4884
|
+
* LinkedIn Group
|
|
4885
|
+
*
|
|
4886
|
+
* 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.
|
|
4887
|
+
*
|
|
4888
|
+
* Price: $0.0013 per request.
|
|
4889
|
+
*
|
|
4890
|
+
* @example
|
|
4891
|
+
* const res = await client.linkedin.group({ url: "https://www.linkedin.com/groups/1898033" });
|
|
4892
|
+
*/
|
|
4893
|
+
group(input, options) {
|
|
4894
|
+
return this._core.run("linkedin.group", input, options);
|
|
4895
|
+
}
|
|
4896
|
+
/**
|
|
4897
|
+
* LinkedIn Group Posts
|
|
4898
|
+
*
|
|
4899
|
+
* 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.
|
|
4900
|
+
*
|
|
4901
|
+
* Price: $0.0026 per request.
|
|
4902
|
+
*
|
|
4903
|
+
* @example
|
|
4904
|
+
* const res = await client.linkedin.groupPosts({ url: "https://www.linkedin.com/groups/1898033" });
|
|
4905
|
+
*/
|
|
4906
|
+
groupPosts(input, options) {
|
|
4907
|
+
return this._core.run("linkedin.group_posts", input, options);
|
|
4908
|
+
}
|
|
4857
4909
|
/**
|
|
4858
4910
|
* LinkedIn Job
|
|
4859
4911
|
*
|
|
@@ -5100,6 +5152,19 @@ var LinkedinNamespace = class {
|
|
|
5100
5152
|
searchCompanies(input, options) {
|
|
5101
5153
|
return this._core.run("linkedin.search_companies", input, options);
|
|
5102
5154
|
}
|
|
5155
|
+
/**
|
|
5156
|
+
* LinkedIn Group Search
|
|
5157
|
+
*
|
|
5158
|
+
* Search LinkedIn groups by keyword, 10 per page: group name, URL, member count, summary, and logo.
|
|
5159
|
+
*
|
|
5160
|
+
* Price: $0.0013 per request.
|
|
5161
|
+
*
|
|
5162
|
+
* @example
|
|
5163
|
+
* const res = await client.linkedin.searchGroups({ query: "python" });
|
|
5164
|
+
*/
|
|
5165
|
+
searchGroups(input, options) {
|
|
5166
|
+
return this._core.run("linkedin.search_groups", input, options);
|
|
5167
|
+
}
|
|
5103
5168
|
/**
|
|
5104
5169
|
* LinkedIn Sales Navigator Lead Search
|
|
5105
5170
|
*
|
|
@@ -5210,6 +5275,19 @@ var LinkedinNamespace = class {
|
|
|
5210
5275
|
options
|
|
5211
5276
|
);
|
|
5212
5277
|
}
|
|
5278
|
+
/**
|
|
5279
|
+
* LinkedIn Service Provider Search
|
|
5280
|
+
*
|
|
5281
|
+
* 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.
|
|
5282
|
+
*
|
|
5283
|
+
* Price: $0.0026 per request.
|
|
5284
|
+
*
|
|
5285
|
+
* @example
|
|
5286
|
+
* const res = await client.linkedin.searchServices({ query: "Web Development", location: "Australia" });
|
|
5287
|
+
*/
|
|
5288
|
+
searchServices(input, options) {
|
|
5289
|
+
return this._core.run("linkedin.search_services", input, options);
|
|
5290
|
+
}
|
|
5213
5291
|
};
|
|
5214
5292
|
|
|
5215
5293
|
// src/generated/platforms/linktree.ts
|