@getanyapi/sdk 0.162.1 → 0.162.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 +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3075,7 +3075,7 @@ declare class AmazonNamespace {
|
|
|
3075
3075
|
*
|
|
3076
3076
|
* Fetch full Amazon product details (title, brand, price when in stock, images, ratings, review count, variants, and attributes) from a product URL.
|
|
3077
3077
|
*
|
|
3078
|
-
* Price: $0.
|
|
3078
|
+
* Price: $0.0008 per request.
|
|
3079
3079
|
*
|
|
3080
3080
|
* @example
|
|
3081
3081
|
* const res = await client.amazon.product({ url: "https://www.amazon.com/dp/B00NTCH52W" });
|
|
@@ -24126,7 +24126,7 @@ declare class GoogleNamespace {
|
|
|
24126
24126
|
*
|
|
24127
24127
|
* Search Google News by keyword and get fresh articles (headlines, sources, links, and publish times) as clean JSON.
|
|
24128
24128
|
*
|
|
24129
|
-
* Price: $0.
|
|
24129
|
+
* Price: $0.00089 per request.
|
|
24130
24130
|
*
|
|
24131
24131
|
* @example
|
|
24132
24132
|
* const res = await client.google.news({ query: "openai", gl: "us", hl: "en" });
|
|
@@ -31846,7 +31846,7 @@ declare class InstagramNamespace {
|
|
|
31846
31846
|
*
|
|
31847
31847
|
* Search Instagram for users, hashtags, or places by keyword and get matching results with names, counts, and links.
|
|
31848
31848
|
*
|
|
31849
|
-
* Price: $0.
|
|
31849
|
+
* Price: $0.0032 per request.
|
|
31850
31850
|
*
|
|
31851
31851
|
* @example
|
|
31852
31852
|
* const res = await client.instagram.search({ query: "nasa" });
|
|
@@ -39516,7 +39516,7 @@ declare class LinkedinNamespace {
|
|
|
39516
39516
|
*
|
|
39517
39517
|
* Fetch a rich LinkedIn member profile by URL: name, headline, avatar, location, connections and followers, current position, and full work experience with job titles, descriptions, dates, employment/workplace type, and per-role skills, plus education, skills, certifications, honors and awards, languages, projects, publications, and verified/premium/open-to-work flags.
|
|
39518
39518
|
*
|
|
39519
|
-
* Price: $0.
|
|
39519
|
+
* Price: $0.0025 per request.
|
|
39520
39520
|
*
|
|
39521
39521
|
* @example
|
|
39522
39522
|
* const res = await client.linkedin.profile({ url: "https://www.linkedin.com/in/patrickcollison" });
|
|
@@ -53372,7 +53372,7 @@ interface RedditSearchInput {
|
|
|
53372
53372
|
*/
|
|
53373
53373
|
preferLatencyUnderMs?: number;
|
|
53374
53374
|
/**
|
|
53375
|
-
* Free-text search across all of Reddit. Reddit's field operators are supported inside the string: subreddit:<name> to scope to one subreddit, author:<user>, title:<text>, selftext:<text>, self:yes|no, nsfw:yes|no, and boolean AND/OR/NOT. To restrict to a single subreddit you can use subreddit:<name> here, or use the reddit.subreddit_posts SKU for a plain subreddit listing.
|
|
53375
|
+
* Free-text search across all of Reddit. The words are searched exactly as given: Reddit's default spelling correction is not applied. Reddit's field operators are supported inside the string: subreddit:<name> to scope to one subreddit, author:<user>, title:<text>, selftext:<text>, self:yes|no, nsfw:yes|no, and boolean AND/OR/NOT. To restrict to a single subreddit you can use subreddit:<name> here, or use the reddit.subreddit_posts SKU for a plain subreddit listing.
|
|
53376
53376
|
*/
|
|
53377
53377
|
query: string;
|
|
53378
53378
|
/**
|
|
@@ -72745,7 +72745,7 @@ declare class TwitterNamespace {
|
|
|
72745
72745
|
*
|
|
72746
72746
|
* Resolve the linear self-thread containing an X (Twitter) post, from its root through the author's linked continuations. This excludes replies from other users.
|
|
72747
72747
|
*
|
|
72748
|
-
* Price: $0.
|
|
72748
|
+
* Price: $0.0004 per request.
|
|
72749
72749
|
*
|
|
72750
72750
|
* @example
|
|
72751
72751
|
* const res = await client.twitter.thread({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|
|
@@ -77581,7 +77581,7 @@ declare class YoutubeNamespace {
|
|
|
77581
77581
|
*
|
|
77582
77582
|
* Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
77583
77583
|
*
|
|
77584
|
-
* Price: $0.
|
|
77584
|
+
* Price: $0.00072 per request.
|
|
77585
77585
|
*
|
|
77586
77586
|
* @example
|
|
77587
77587
|
* const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
package/dist/index.d.ts
CHANGED
|
@@ -3075,7 +3075,7 @@ declare class AmazonNamespace {
|
|
|
3075
3075
|
*
|
|
3076
3076
|
* Fetch full Amazon product details (title, brand, price when in stock, images, ratings, review count, variants, and attributes) from a product URL.
|
|
3077
3077
|
*
|
|
3078
|
-
* Price: $0.
|
|
3078
|
+
* Price: $0.0008 per request.
|
|
3079
3079
|
*
|
|
3080
3080
|
* @example
|
|
3081
3081
|
* const res = await client.amazon.product({ url: "https://www.amazon.com/dp/B00NTCH52W" });
|
|
@@ -24126,7 +24126,7 @@ declare class GoogleNamespace {
|
|
|
24126
24126
|
*
|
|
24127
24127
|
* Search Google News by keyword and get fresh articles (headlines, sources, links, and publish times) as clean JSON.
|
|
24128
24128
|
*
|
|
24129
|
-
* Price: $0.
|
|
24129
|
+
* Price: $0.00089 per request.
|
|
24130
24130
|
*
|
|
24131
24131
|
* @example
|
|
24132
24132
|
* const res = await client.google.news({ query: "openai", gl: "us", hl: "en" });
|
|
@@ -31846,7 +31846,7 @@ declare class InstagramNamespace {
|
|
|
31846
31846
|
*
|
|
31847
31847
|
* Search Instagram for users, hashtags, or places by keyword and get matching results with names, counts, and links.
|
|
31848
31848
|
*
|
|
31849
|
-
* Price: $0.
|
|
31849
|
+
* Price: $0.0032 per request.
|
|
31850
31850
|
*
|
|
31851
31851
|
* @example
|
|
31852
31852
|
* const res = await client.instagram.search({ query: "nasa" });
|
|
@@ -39516,7 +39516,7 @@ declare class LinkedinNamespace {
|
|
|
39516
39516
|
*
|
|
39517
39517
|
* Fetch a rich LinkedIn member profile by URL: name, headline, avatar, location, connections and followers, current position, and full work experience with job titles, descriptions, dates, employment/workplace type, and per-role skills, plus education, skills, certifications, honors and awards, languages, projects, publications, and verified/premium/open-to-work flags.
|
|
39518
39518
|
*
|
|
39519
|
-
* Price: $0.
|
|
39519
|
+
* Price: $0.0025 per request.
|
|
39520
39520
|
*
|
|
39521
39521
|
* @example
|
|
39522
39522
|
* const res = await client.linkedin.profile({ url: "https://www.linkedin.com/in/patrickcollison" });
|
|
@@ -53372,7 +53372,7 @@ interface RedditSearchInput {
|
|
|
53372
53372
|
*/
|
|
53373
53373
|
preferLatencyUnderMs?: number;
|
|
53374
53374
|
/**
|
|
53375
|
-
* Free-text search across all of Reddit. Reddit's field operators are supported inside the string: subreddit:<name> to scope to one subreddit, author:<user>, title:<text>, selftext:<text>, self:yes|no, nsfw:yes|no, and boolean AND/OR/NOT. To restrict to a single subreddit you can use subreddit:<name> here, or use the reddit.subreddit_posts SKU for a plain subreddit listing.
|
|
53375
|
+
* Free-text search across all of Reddit. The words are searched exactly as given: Reddit's default spelling correction is not applied. Reddit's field operators are supported inside the string: subreddit:<name> to scope to one subreddit, author:<user>, title:<text>, selftext:<text>, self:yes|no, nsfw:yes|no, and boolean AND/OR/NOT. To restrict to a single subreddit you can use subreddit:<name> here, or use the reddit.subreddit_posts SKU for a plain subreddit listing.
|
|
53376
53376
|
*/
|
|
53377
53377
|
query: string;
|
|
53378
53378
|
/**
|
|
@@ -72745,7 +72745,7 @@ declare class TwitterNamespace {
|
|
|
72745
72745
|
*
|
|
72746
72746
|
* Resolve the linear self-thread containing an X (Twitter) post, from its root through the author's linked continuations. This excludes replies from other users.
|
|
72747
72747
|
*
|
|
72748
|
-
* Price: $0.
|
|
72748
|
+
* Price: $0.0004 per request.
|
|
72749
72749
|
*
|
|
72750
72750
|
* @example
|
|
72751
72751
|
* const res = await client.twitter.thread({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|
|
@@ -77581,7 +77581,7 @@ declare class YoutubeNamespace {
|
|
|
77581
77581
|
*
|
|
77582
77582
|
* Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
77583
77583
|
*
|
|
77584
|
-
* Price: $0.
|
|
77584
|
+
* Price: $0.00072 per request.
|
|
77585
77585
|
*
|
|
77586
77586
|
* @example
|
|
77587
77587
|
* const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
package/dist/index.js
CHANGED
|
@@ -1265,7 +1265,7 @@ var AmazonNamespace = class {
|
|
|
1265
1265
|
*
|
|
1266
1266
|
* Fetch full Amazon product details (title, brand, price when in stock, images, ratings, review count, variants, and attributes) from a product URL.
|
|
1267
1267
|
*
|
|
1268
|
-
* Price: $0.
|
|
1268
|
+
* Price: $0.0008 per request.
|
|
1269
1269
|
*
|
|
1270
1270
|
* @example
|
|
1271
1271
|
* const res = await client.amazon.product({ url: "https://www.amazon.com/dp/B00NTCH52W" });
|
|
@@ -3605,7 +3605,7 @@ var GoogleNamespace = class {
|
|
|
3605
3605
|
*
|
|
3606
3606
|
* Search Google News by keyword and get fresh articles (headlines, sources, links, and publish times) as clean JSON.
|
|
3607
3607
|
*
|
|
3608
|
-
* Price: $0.
|
|
3608
|
+
* Price: $0.00089 per request.
|
|
3609
3609
|
*
|
|
3610
3610
|
* @example
|
|
3611
3611
|
* const res = await client.google.news({ query: "openai", gl: "us", hl: "en" });
|
|
@@ -4467,7 +4467,7 @@ var InstagramNamespace = class {
|
|
|
4467
4467
|
*
|
|
4468
4468
|
* Search Instagram for users, hashtags, or places by keyword and get matching results with names, counts, and links.
|
|
4469
4469
|
*
|
|
4470
|
-
* Price: $0.
|
|
4470
|
+
* Price: $0.0032 per request.
|
|
4471
4471
|
*
|
|
4472
4472
|
* @example
|
|
4473
4473
|
* const res = await client.instagram.search({ query: "nasa" });
|
|
@@ -5239,7 +5239,7 @@ var LinkedinNamespace = class {
|
|
|
5239
5239
|
*
|
|
5240
5240
|
* Fetch a rich LinkedIn member profile by URL: name, headline, avatar, location, connections and followers, current position, and full work experience with job titles, descriptions, dates, employment/workplace type, and per-role skills, plus education, skills, certifications, honors and awards, languages, projects, publications, and verified/premium/open-to-work flags.
|
|
5241
5241
|
*
|
|
5242
|
-
* Price: $0.
|
|
5242
|
+
* Price: $0.0025 per request.
|
|
5243
5243
|
*
|
|
5244
5244
|
* @example
|
|
5245
5245
|
* const res = await client.linkedin.profile({ url: "https://www.linkedin.com/in/patrickcollison" });
|
|
@@ -8954,7 +8954,7 @@ var TwitterNamespace = class {
|
|
|
8954
8954
|
*
|
|
8955
8955
|
* Resolve the linear self-thread containing an X (Twitter) post, from its root through the author's linked continuations. This excludes replies from other users.
|
|
8956
8956
|
*
|
|
8957
|
-
* Price: $0.
|
|
8957
|
+
* Price: $0.0004 per request.
|
|
8958
8958
|
*
|
|
8959
8959
|
* @example
|
|
8960
8960
|
* const res = await client.twitter.thread({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|
|
@@ -9738,7 +9738,7 @@ var YoutubeNamespace = class {
|
|
|
9738
9738
|
*
|
|
9739
9739
|
* Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
9740
9740
|
*
|
|
9741
|
-
* Price: $0.
|
|
9741
|
+
* Price: $0.00072 per request.
|
|
9742
9742
|
*
|
|
9743
9743
|
* @example
|
|
9744
9744
|
* const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|