@getanyapi/sdk 0.34.4 → 0.35.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 +19 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +55 -56
- package/dist/index.d.ts +55 -56
- package/dist/index.js +19 -19
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1984,9 +1984,9 @@ var EmailNamespace = class {
|
|
|
1984
1984
|
/**
|
|
1985
1985
|
* Email Verifier
|
|
1986
1986
|
*
|
|
1987
|
-
* Verify an email address for deliverability: a status verdict (
|
|
1987
|
+
* Verify an email address for deliverability: a status verdict (good, risky, or bad) with domain, mailbox, catch-all, disposable, and role signals plus a confidence score. Malformed addresses are rejected by the input schema with no charge; every syntactically valid address returns a billed verdict, including undeliverable ones.
|
|
1988
1988
|
*
|
|
1989
|
-
* Price: $0 per request
|
|
1989
|
+
* Price: $0.0066 per request.
|
|
1990
1990
|
*
|
|
1991
1991
|
* @example
|
|
1992
1992
|
* const res = await client.email.verify({ email: "patrick@stripe.com" });
|
|
@@ -3710,7 +3710,7 @@ var InstagramNamespace = class {
|
|
|
3710
3710
|
*
|
|
3711
3711
|
* Search Instagram for users, hashtags, or places by keyword and get matching results with names, counts, and links.
|
|
3712
3712
|
*
|
|
3713
|
-
* Price: $0.
|
|
3713
|
+
* Price: $0.0036 per request.
|
|
3714
3714
|
*
|
|
3715
3715
|
* @example
|
|
3716
3716
|
* const res = await client.instagram.search({ query: "nasa" });
|
|
@@ -4027,7 +4027,7 @@ var LinkedinNamespace = class {
|
|
|
4027
4027
|
*
|
|
4028
4028
|
* List a LinkedIn company page's recent posts by URL: full text, canonical link, publish date, author, engagement counts with a per-reaction breakdown, and attached media.
|
|
4029
4029
|
*
|
|
4030
|
-
* Price: $0.
|
|
4030
|
+
* Price: $0.005 per request.
|
|
4031
4031
|
*
|
|
4032
4032
|
* @example
|
|
4033
4033
|
* const res = await client.linkedin.companyPosts({ url: "https://www.linkedin.com/company/stripe", limit: 10 });
|
|
@@ -4092,7 +4092,7 @@ var LinkedinNamespace = class {
|
|
|
4092
4092
|
*
|
|
4093
4093
|
* Cheap job index: title, company, location, posted date, URL. No description, salary, applicant counts, or seniority - for those use linkedin.jobs.
|
|
4094
4094
|
*
|
|
4095
|
-
* Price: $0.
|
|
4095
|
+
* Price: $0.00066 per request.
|
|
4096
4096
|
*
|
|
4097
4097
|
* @example
|
|
4098
4098
|
* const res = await client.linkedin.jobsThin({ query: "software engineer", limit: 3, location: "United States", workplaceType: "remote" });
|
|
@@ -4118,7 +4118,7 @@ var LinkedinNamespace = class {
|
|
|
4118
4118
|
*
|
|
4119
4119
|
* List comments on a LinkedIn post - full text, commenter name/URL/job title, timestamps, and engagement.
|
|
4120
4120
|
*
|
|
4121
|
-
* Price: $0 per request
|
|
4121
|
+
* Price: $0.005 per request.
|
|
4122
4122
|
*
|
|
4123
4123
|
* @example
|
|
4124
4124
|
* const res = await client.linkedin.postComments({ url: "https://www.linkedin.com/posts/stripe_philip-kl%C3%B6ckner-in-conversation-with-conor-activity-7477791740645564416-tIbZ", limit: 10 });
|
|
@@ -4131,7 +4131,7 @@ var LinkedinNamespace = class {
|
|
|
4131
4131
|
*
|
|
4132
4132
|
* List who reacted to a LinkedIn post - reactor name, profile URL, job title, and reaction type. Lead-gen grade.
|
|
4133
4133
|
*
|
|
4134
|
-
* Price: $0 per request
|
|
4134
|
+
* Price: $0.005 per request.
|
|
4135
4135
|
*
|
|
4136
4136
|
* @example
|
|
4137
4137
|
* const res = await client.linkedin.postReactions({ url: "https://www.linkedin.com/posts/satyanadella_today-were-bringing-skills-to-copilot-for-activity-7475945433668694017--kvG", limit: 5 });
|
|
@@ -4157,10 +4157,10 @@ var LinkedinNamespace = class {
|
|
|
4157
4157
|
*
|
|
4158
4158
|
* 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.
|
|
4159
4159
|
*
|
|
4160
|
-
* Price: $0.
|
|
4160
|
+
* Price: $0.004 per request.
|
|
4161
4161
|
*
|
|
4162
4162
|
* @example
|
|
4163
|
-
* const res = await client.linkedin.profile({ url: "https://www.linkedin.com/in/
|
|
4163
|
+
* const res = await client.linkedin.profile({ url: "https://www.linkedin.com/in/patrickcollison" });
|
|
4164
4164
|
*/
|
|
4165
4165
|
profile(input, options) {
|
|
4166
4166
|
return this._core.run("linkedin.profile", input, options);
|
|
@@ -4170,7 +4170,7 @@ var LinkedinNamespace = class {
|
|
|
4170
4170
|
*
|
|
4171
4171
|
* Fetch recent public LinkedIn profile posts with enriched author, engagement, article, newsletter, media, annotation, repost, and social activity details.
|
|
4172
4172
|
*
|
|
4173
|
-
* Price: $0.
|
|
4173
|
+
* Price: $0.005 per request.
|
|
4174
4174
|
*
|
|
4175
4175
|
* @example
|
|
4176
4176
|
* const res = await client.linkedin.profilePostsFull({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
|
|
@@ -4183,7 +4183,7 @@ var LinkedinNamespace = class {
|
|
|
4183
4183
|
*
|
|
4184
4184
|
* Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields.
|
|
4185
4185
|
*
|
|
4186
|
-
* Price: $0 per request
|
|
4186
|
+
* Price: $0.005 per request.
|
|
4187
4187
|
*
|
|
4188
4188
|
* @example
|
|
4189
4189
|
* const res = await client.linkedin.profilePostsThin({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
|
|
@@ -4209,7 +4209,7 @@ var LinkedinNamespace = class {
|
|
|
4209
4209
|
*
|
|
4210
4210
|
* Search LinkedIn companies by keyword with optional location filtering, returning normalized company records.
|
|
4211
4211
|
*
|
|
4212
|
-
* Price: $0.
|
|
4212
|
+
* Price: $0.005 per request.
|
|
4213
4213
|
*
|
|
4214
4214
|
* @example
|
|
4215
4215
|
* const res = await client.linkedin.searchCompanies({ query: "fintech", limit: 3 });
|
|
@@ -4251,7 +4251,7 @@ var LinkedinNamespace = class {
|
|
|
4251
4251
|
*
|
|
4252
4252
|
* Search public LinkedIn posts with rich author, engagement, attachment, and poll details.
|
|
4253
4253
|
*
|
|
4254
|
-
* Price: $0 per request
|
|
4254
|
+
* Price: $0.005 per request.
|
|
4255
4255
|
*
|
|
4256
4256
|
* @example
|
|
4257
4257
|
* const res = await client.linkedin.searchPostsFull({ query: "artificial intelligence", datePosted: "last-week", limit: 10, sort: "relevance" });
|
|
@@ -4327,7 +4327,7 @@ var MapsNamespace = class {
|
|
|
4327
4327
|
* Price: $0.00175 per request.
|
|
4328
4328
|
*
|
|
4329
4329
|
* @example
|
|
4330
|
-
* const res = await client.maps.place({ query: "Blue Bottle Coffee", location: "San Francisco, CA"
|
|
4330
|
+
* const res = await client.maps.place({ query: "Blue Bottle Coffee", location: "San Francisco, CA" });
|
|
4331
4331
|
*/
|
|
4332
4332
|
place(input, options) {
|
|
4333
4333
|
return this._core.run("maps.place", input, options);
|
|
@@ -4353,7 +4353,7 @@ var MapsNamespace = class {
|
|
|
4353
4353
|
* Price: $0.00175 per request.
|
|
4354
4354
|
*
|
|
4355
4355
|
* @example
|
|
4356
|
-
* const res = await client.maps.search({ location: "Austin, TX", query: "coffee", limit: 3
|
|
4356
|
+
* const res = await client.maps.search({ location: "Austin, TX", query: "coffee", limit: 3 });
|
|
4357
4357
|
*/
|
|
4358
4358
|
search(input, options) {
|
|
4359
4359
|
return this._core.run("maps.search", input, options);
|
|
@@ -5130,7 +5130,7 @@ var RednoteNamespace = class {
|
|
|
5130
5130
|
* Price: $0.012 per request.
|
|
5131
5131
|
*
|
|
5132
5132
|
* @example
|
|
5133
|
-
* const res = await client.rednote.note({ noteId: "
|
|
5133
|
+
* const res = await client.rednote.note({ noteId: "6a8fe7c20000000026003bbf" });
|
|
5134
5134
|
*/
|
|
5135
5135
|
note(input, options) {
|
|
5136
5136
|
return this._core.run("rednote.note", input, options);
|
|
@@ -5981,7 +5981,7 @@ var TiktokNamespace = class {
|
|
|
5981
5981
|
*
|
|
5982
5982
|
* List recent TikTok videos for a hashtag (creator, caption, views, likes, shares).
|
|
5983
5983
|
*
|
|
5984
|
-
* Price: $0.
|
|
5984
|
+
* Price: $0.0036 per request.
|
|
5985
5985
|
*
|
|
5986
5986
|
* @example
|
|
5987
5987
|
* const res = await client.tiktok.hashtagVideos({ hashtag: "cooking", limit: 3 });
|
|
@@ -6578,7 +6578,7 @@ var TrustpilotNamespace = class {
|
|
|
6578
6578
|
*
|
|
6579
6579
|
* Pull Trustpilot reviews for any company by brand name: star ratings, review text, dates, and reviewer details as clean JSON.
|
|
6580
6580
|
*
|
|
6581
|
-
* Price: $0.
|
|
6581
|
+
* Price: $0.00225 per request.
|
|
6582
6582
|
*
|
|
6583
6583
|
* @example
|
|
6584
6584
|
* const res = await client.trustpilot.reviews({ company: "stripe.com", limit: 3 });
|
|
@@ -7045,7 +7045,7 @@ var WebNamespace = class {
|
|
|
7045
7045
|
* Price: $0.0007 per request.
|
|
7046
7046
|
*
|
|
7047
7047
|
* @example
|
|
7048
|
-
* const res = await client.web.scrape({ url: "https://example.com", formats: ["markdown", "
|
|
7048
|
+
* const res = await client.web.scrape({ url: "https://example.com", formats: ["markdown", "html"], onlyMainContent: false });
|
|
7049
7049
|
*/
|
|
7050
7050
|
scrape(input, options) {
|
|
7051
7051
|
return this._core.run("web.scrape", input, options);
|