@getanyapi/sdk 0.101.1 → 0.101.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 +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1956,7 +1956,7 @@ declare class AmazonNamespace {
|
|
|
1956
1956
|
*
|
|
1957
1957
|
* Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
|
|
1958
1958
|
*
|
|
1959
|
-
* Price: $0.
|
|
1959
|
+
* Price: $0.0013 per request.
|
|
1960
1960
|
*
|
|
1961
1961
|
* @example
|
|
1962
1962
|
* const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
|
|
@@ -32300,7 +32300,7 @@ declare class LinkedinNamespace {
|
|
|
32300
32300
|
*
|
|
32301
32301
|
* List the employees of a LinkedIn company by name or company URL, with optional job-title filtering.
|
|
32302
32302
|
*
|
|
32303
|
-
* Price: $0.
|
|
32303
|
+
* Price: $0.006 per request.
|
|
32304
32304
|
*
|
|
32305
32305
|
* @example
|
|
32306
32306
|
* const res = await client.linkedin.companyEmployees({ company: "stripe", limit: 3 });
|
|
@@ -56185,7 +56185,7 @@ declare class TiktokNamespace {
|
|
|
56185
56185
|
*
|
|
56186
56186
|
* 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.
|
|
56187
56187
|
*
|
|
56188
|
-
* Price: $0.
|
|
56188
|
+
* Price: $0.00116 per request plus $0 per result (maximum $0.00116).
|
|
56189
56189
|
*
|
|
56190
56190
|
* @example
|
|
56191
56191
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|
|
@@ -56402,7 +56402,7 @@ declare class TiktokNamespace {
|
|
|
56402
56402
|
*
|
|
56403
56403
|
* Sample TikTok's For You feed as served to a viewer in one country (caption, views, likes, comments, author). Returns a rotating sample, not a ranked chart.
|
|
56404
56404
|
*
|
|
56405
|
-
* Price: $0.
|
|
56405
|
+
* Price: $0.0012 per request.
|
|
56406
56406
|
*
|
|
56407
56407
|
* @example
|
|
56408
56408
|
* const res = await client.tiktok.trendingFeed({ region: "US" });
|
|
@@ -61324,7 +61324,7 @@ interface WebScrapeInput {
|
|
|
61324
61324
|
*/
|
|
61325
61325
|
url: string;
|
|
61326
61326
|
/**
|
|
61327
|
-
* Milliseconds to wait for the page to finish rendering before capture. Use this for JavaScript-heavy pages or single-page apps whose content loads after the initial paint. Capped at 15000 to stay within the request timeout. This wait is time you asked us to spend, so your response takes this much longer, and it is excluded from the latency published for this endpoint.
|
|
61327
|
+
* Milliseconds to wait for the page to finish rendering before capture. Use this for JavaScript-heavy pages or single-page apps whose content loads after the initial paint. Capped at 15000 to stay within the request timeout. This wait is time you asked us to spend, so your response takes this much longer, and it is excluded from the latency published for this endpoint. If every provider that can wait fails, the page may still be returned, captured without the wait.
|
|
61328
61328
|
* Range: minimum 0, maximum 15000.
|
|
61329
61329
|
*/
|
|
61330
61330
|
waitFor?: number;
|
|
@@ -64376,7 +64376,7 @@ declare class YoutubeNamespace {
|
|
|
64376
64376
|
*
|
|
64377
64377
|
* Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
64378
64378
|
*
|
|
64379
|
-
* Price: $0.
|
|
64379
|
+
* Price: $0.0012 per request.
|
|
64380
64380
|
*
|
|
64381
64381
|
* @example
|
|
64382
64382
|
* const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
package/dist/index.d.ts
CHANGED
|
@@ -1956,7 +1956,7 @@ declare class AmazonNamespace {
|
|
|
1956
1956
|
*
|
|
1957
1957
|
* Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
|
|
1958
1958
|
*
|
|
1959
|
-
* Price: $0.
|
|
1959
|
+
* Price: $0.0013 per request.
|
|
1960
1960
|
*
|
|
1961
1961
|
* @example
|
|
1962
1962
|
* const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
|
|
@@ -32300,7 +32300,7 @@ declare class LinkedinNamespace {
|
|
|
32300
32300
|
*
|
|
32301
32301
|
* List the employees of a LinkedIn company by name or company URL, with optional job-title filtering.
|
|
32302
32302
|
*
|
|
32303
|
-
* Price: $0.
|
|
32303
|
+
* Price: $0.006 per request.
|
|
32304
32304
|
*
|
|
32305
32305
|
* @example
|
|
32306
32306
|
* const res = await client.linkedin.companyEmployees({ company: "stripe", limit: 3 });
|
|
@@ -56185,7 +56185,7 @@ declare class TiktokNamespace {
|
|
|
56185
56185
|
*
|
|
56186
56186
|
* 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.
|
|
56187
56187
|
*
|
|
56188
|
-
* Price: $0.
|
|
56188
|
+
* Price: $0.00116 per request plus $0 per result (maximum $0.00116).
|
|
56189
56189
|
*
|
|
56190
56190
|
* @example
|
|
56191
56191
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|
|
@@ -56402,7 +56402,7 @@ declare class TiktokNamespace {
|
|
|
56402
56402
|
*
|
|
56403
56403
|
* Sample TikTok's For You feed as served to a viewer in one country (caption, views, likes, comments, author). Returns a rotating sample, not a ranked chart.
|
|
56404
56404
|
*
|
|
56405
|
-
* Price: $0.
|
|
56405
|
+
* Price: $0.0012 per request.
|
|
56406
56406
|
*
|
|
56407
56407
|
* @example
|
|
56408
56408
|
* const res = await client.tiktok.trendingFeed({ region: "US" });
|
|
@@ -61324,7 +61324,7 @@ interface WebScrapeInput {
|
|
|
61324
61324
|
*/
|
|
61325
61325
|
url: string;
|
|
61326
61326
|
/**
|
|
61327
|
-
* Milliseconds to wait for the page to finish rendering before capture. Use this for JavaScript-heavy pages or single-page apps whose content loads after the initial paint. Capped at 15000 to stay within the request timeout. This wait is time you asked us to spend, so your response takes this much longer, and it is excluded from the latency published for this endpoint.
|
|
61327
|
+
* Milliseconds to wait for the page to finish rendering before capture. Use this for JavaScript-heavy pages or single-page apps whose content loads after the initial paint. Capped at 15000 to stay within the request timeout. This wait is time you asked us to spend, so your response takes this much longer, and it is excluded from the latency published for this endpoint. If every provider that can wait fails, the page may still be returned, captured without the wait.
|
|
61328
61328
|
* Range: minimum 0, maximum 15000.
|
|
61329
61329
|
*/
|
|
61330
61330
|
waitFor?: number;
|
|
@@ -64376,7 +64376,7 @@ declare class YoutubeNamespace {
|
|
|
64376
64376
|
*
|
|
64377
64377
|
* Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
64378
64378
|
*
|
|
64379
|
-
* Price: $0.
|
|
64379
|
+
* Price: $0.0012 per request.
|
|
64380
64380
|
*
|
|
64381
64381
|
* @example
|
|
64382
64382
|
* const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
package/dist/index.js
CHANGED
|
@@ -1211,7 +1211,7 @@ var AmazonNamespace = class {
|
|
|
1211
1211
|
*
|
|
1212
1212
|
* Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
|
|
1213
1213
|
*
|
|
1214
|
-
* Price: $0.
|
|
1214
|
+
* Price: $0.0013 per request.
|
|
1215
1215
|
*
|
|
1216
1216
|
* @example
|
|
1217
1217
|
* const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
|
|
@@ -4286,7 +4286,7 @@ var LinkedinNamespace = class {
|
|
|
4286
4286
|
*
|
|
4287
4287
|
* List the employees of a LinkedIn company by name or company URL, with optional job-title filtering.
|
|
4288
4288
|
*
|
|
4289
|
-
* Price: $0.
|
|
4289
|
+
* Price: $0.006 per request.
|
|
4290
4290
|
*
|
|
4291
4291
|
* @example
|
|
4292
4292
|
* const res = await client.linkedin.companyEmployees({ company: "stripe", limit: 3 });
|
|
@@ -6772,7 +6772,7 @@ var TiktokNamespace = class {
|
|
|
6772
6772
|
*
|
|
6773
6773
|
* 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.
|
|
6774
6774
|
*
|
|
6775
|
-
* Price: $0.
|
|
6775
|
+
* Price: $0.00116 per request plus $0 per result (maximum $0.00116).
|
|
6776
6776
|
*
|
|
6777
6777
|
* @example
|
|
6778
6778
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|
|
@@ -7098,7 +7098,7 @@ var TiktokNamespace = class {
|
|
|
7098
7098
|
*
|
|
7099
7099
|
* Sample TikTok's For You feed as served to a viewer in one country (caption, views, likes, comments, author). Returns a rotating sample, not a ranked chart.
|
|
7100
7100
|
*
|
|
7101
|
-
* Price: $0.
|
|
7101
|
+
* Price: $0.0012 per request.
|
|
7102
7102
|
*
|
|
7103
7103
|
* @example
|
|
7104
7104
|
* const res = await client.tiktok.trendingFeed({ region: "US" });
|
|
@@ -8451,7 +8451,7 @@ var YoutubeNamespace = class {
|
|
|
8451
8451
|
*
|
|
8452
8452
|
* Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
8453
8453
|
*
|
|
8454
|
-
* Price: $0.
|
|
8454
|
+
* Price: $0.0012 per request.
|
|
8455
8455
|
*
|
|
8456
8456
|
* @example
|
|
8457
8457
|
* const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|