@getanyapi/sdk 0.15.2 → 0.16.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 +37 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +701 -16
- package/dist/index.d.ts +701 -16
- package/dist/index.js +37 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -991,7 +991,7 @@ var AmazonNamespace = class {
|
|
|
991
991
|
*
|
|
992
992
|
* List the top-ranked products of any Amazon Best Sellers category (rank, title, price, and rating) in one normalized request.
|
|
993
993
|
*
|
|
994
|
-
* Price: $0 per request
|
|
994
|
+
* Price: $0.0009 per request.
|
|
995
995
|
*
|
|
996
996
|
* @example
|
|
997
997
|
* const res = await client.amazon.bestsellers({ url: "https://www.amazon.com/gp/bestsellers/electronics", limit: 3 });
|
|
@@ -1017,7 +1017,7 @@ var AmazonNamespace = class {
|
|
|
1017
1017
|
*
|
|
1018
1018
|
* Pull up to 50 customer reviews for any Amazon product by ASIN or URL: rating, title, text, date, and verified-purchase badge.
|
|
1019
1019
|
*
|
|
1020
|
-
* Price: $0.
|
|
1020
|
+
* Price: $0.0018 per request.
|
|
1021
1021
|
*
|
|
1022
1022
|
* @example
|
|
1023
1023
|
* const res = await client.amazon.reviews({ product: "B07PXGQC1Q", limit: 3 });
|
|
@@ -1030,7 +1030,7 @@ var AmazonNamespace = class {
|
|
|
1030
1030
|
*
|
|
1031
1031
|
* Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
|
|
1032
1032
|
*
|
|
1033
|
-
* Price: $0 per request
|
|
1033
|
+
* Price: $0.0009 per request.
|
|
1034
1034
|
*
|
|
1035
1035
|
* @example
|
|
1036
1036
|
* const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
|
|
@@ -3191,6 +3191,32 @@ var LinkedinNamespace = class {
|
|
|
3191
3191
|
profile(input, options) {
|
|
3192
3192
|
return this._core.run("linkedin.profile", input, options);
|
|
3193
3193
|
}
|
|
3194
|
+
/**
|
|
3195
|
+
* LinkedIn Profile Posts (full)
|
|
3196
|
+
*
|
|
3197
|
+
* Fetch recent public LinkedIn profile posts with enriched author, engagement, article, newsletter, media, annotation, repost, and social activity details.
|
|
3198
|
+
*
|
|
3199
|
+
* Price: $0.00006 per request plus $0.00184 per result (maximum $0.184).
|
|
3200
|
+
*
|
|
3201
|
+
* @example
|
|
3202
|
+
* const res = await client.linkedin.profilePostsFull({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
|
|
3203
|
+
*/
|
|
3204
|
+
profilePostsFull(input, options) {
|
|
3205
|
+
return this._core.run("linkedin.profile_posts_full", input, options);
|
|
3206
|
+
}
|
|
3207
|
+
/**
|
|
3208
|
+
* LinkedIn Profile Posts (basic)
|
|
3209
|
+
*
|
|
3210
|
+
* Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields.
|
|
3211
|
+
*
|
|
3212
|
+
* Price: $0 per request plus $0.00137 per result (maximum $0.137).
|
|
3213
|
+
*
|
|
3214
|
+
* @example
|
|
3215
|
+
* const res = await client.linkedin.profilePostsThin({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
|
|
3216
|
+
*/
|
|
3217
|
+
profilePostsThin(input, options) {
|
|
3218
|
+
return this._core.run("linkedin.profile_posts_thin", input, options);
|
|
3219
|
+
}
|
|
3194
3220
|
/**
|
|
3195
3221
|
* LinkedIn Profile (basic)
|
|
3196
3222
|
*
|
|
@@ -5011,7 +5037,7 @@ var TwitterNamespace = class {
|
|
|
5011
5037
|
*
|
|
5012
5038
|
* Fetch a Twitter/X community's public details (name, description, member count, join policy) by URL.
|
|
5013
5039
|
*
|
|
5014
|
-
* Price: $0.
|
|
5040
|
+
* Price: $0.00018 per request.
|
|
5015
5041
|
*
|
|
5016
5042
|
* @example
|
|
5017
5043
|
* const res = await client.twitter.community({ url: "https://x.com/i/communities/1926186499399139650" });
|
|
@@ -5095,7 +5121,7 @@ var TwitterNamespace = class {
|
|
|
5095
5121
|
*
|
|
5096
5122
|
* Fetch a Twitter/X account's public profile (followers, tweets, bio, verification) by handle.
|
|
5097
5123
|
*
|
|
5098
|
-
* Price: $0.
|
|
5124
|
+
* Price: $0.00018 per request.
|
|
5099
5125
|
*
|
|
5100
5126
|
* @example
|
|
5101
5127
|
* const res = await client.twitter.profile({ handle: "nasa" });
|
|
@@ -5108,7 +5134,7 @@ var TwitterNamespace = class {
|
|
|
5108
5134
|
*
|
|
5109
5135
|
* Fetch the replies to any X (Twitter) post URL as structured records: author, text, and engagement.
|
|
5110
5136
|
*
|
|
5111
|
-
* Price: $0.
|
|
5137
|
+
* Price: $0.00018 per request plus $0.00018 per result (maximum $0.00666).
|
|
5112
5138
|
*
|
|
5113
5139
|
* @example
|
|
5114
5140
|
* const res = await client.twitter.replies({ url: "https://x.com/jack/status/20", limit: 3 });
|
|
@@ -5150,7 +5176,7 @@ var TwitterNamespace = class {
|
|
|
5150
5176
|
*
|
|
5151
5177
|
* Get current X (Twitter) trends for worldwide, a country, or a city in X ranking order, including the resolved location.
|
|
5152
5178
|
*
|
|
5153
|
-
* Price: $0.
|
|
5179
|
+
* Price: $0.00018 per request.
|
|
5154
5180
|
*
|
|
5155
5181
|
* @example
|
|
5156
5182
|
* const res = await client.twitter.trends({ limit: 10, location: "US" });
|
|
@@ -5163,7 +5189,7 @@ var TwitterNamespace = class {
|
|
|
5163
5189
|
*
|
|
5164
5190
|
* Fetch a single Twitter/X tweet by URL with its full text and engagement counts (likes, retweets, replies, quotes, bookmarks, views).
|
|
5165
5191
|
*
|
|
5166
|
-
* Price: $0.
|
|
5192
|
+
* Price: $0.00018 per request.
|
|
5167
5193
|
*
|
|
5168
5194
|
* @example
|
|
5169
5195
|
* const res = await client.twitter.tweet({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|
|
@@ -5216,9 +5242,9 @@ var TwitterNamespace = class {
|
|
|
5216
5242
|
/**
|
|
5217
5243
|
* X / Twitter User Tweets and Replies
|
|
5218
5244
|
*
|
|
5219
|
-
* Get up to the requested limit of tweets and replies authored by an X (Twitter) account
|
|
5245
|
+
* Get up to the requested limit of tweets and replies authored by an X (Twitter) account, with engagement, views, language, and cursor pagination where available.
|
|
5220
5246
|
*
|
|
5221
|
-
* Price: $0 per request plus $0.
|
|
5247
|
+
* Price: $0.00018 per request plus $0.00018 per result (maximum $0.01818).
|
|
5222
5248
|
*
|
|
5223
5249
|
* @example
|
|
5224
5250
|
* const res = await client.twitter.userTweets({ handle: "levelsio", limit: 20 });
|
|
@@ -5931,7 +5957,7 @@ var ZillowNamespace = class {
|
|
|
5931
5957
|
*
|
|
5932
5958
|
* Search Zillow for-sale, rental, or sold listings by region-level location (city, ZIP, county, or neighborhood) with optional price, bedroom, living-area, home-type, recency, and sort filters and get matching properties (price, address, beds, baths, living area, status, Zestimate) as normalized JSON.
|
|
5933
5959
|
*
|
|
5934
|
-
* Price: $0.
|
|
5960
|
+
* Price: $0.0009 per request.
|
|
5935
5961
|
*
|
|
5936
5962
|
* @example
|
|
5937
5963
|
* const res = await client.zillow.search({ location: "Austin, TX", limit: 3, maxPrice: 900000, minBedrooms: 3, operation: "buy" });
|