@getanyapi/sdk 0.101.2 → 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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -3
- 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 });
|
|
@@ -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;
|
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 });
|
|
@@ -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;
|
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 });
|
|
@@ -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" });
|