@getanyapi/sdk 0.178.0 → 0.178.2
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 +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -21272,7 +21272,7 @@ declare class GeminiNamespace {
|
|
|
21272
21272
|
*
|
|
21273
21273
|
* Ask Gemini a web-grounded question and receive an answer with source citations.
|
|
21274
21274
|
*
|
|
21275
|
-
* Price: $0.
|
|
21275
|
+
* Price: $0.0048 per request.
|
|
21276
21276
|
*
|
|
21277
21277
|
* @example
|
|
21278
21278
|
* const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -40112,7 +40112,7 @@ declare class LinkedinNamespace {
|
|
|
40112
40112
|
*
|
|
40113
40113
|
* Basic company: name, description, employee count, industry, logo, website, tagline. No follower count, founded year, office locations, or funding data - for those use linkedin.company.
|
|
40114
40114
|
*
|
|
40115
|
-
* Price: $0.
|
|
40115
|
+
* Price: $0.00079 per request.
|
|
40116
40116
|
*
|
|
40117
40117
|
* @example
|
|
40118
40118
|
* const res = await client.linkedin.companyThin({ url: "https://www.linkedin.com/company/stripe" });
|
|
@@ -40156,7 +40156,7 @@ declare class LinkedinNamespace {
|
|
|
40156
40156
|
*
|
|
40157
40157
|
* Fetch one LinkedIn job posting by URL: title, full description, location, salary when disclosed, applicant count, employment and workplace type, seniority, benefits, industries, apply links, posting and expiry dates, the hiring team, the applicant tracking system behind it, and the hiring company with its size, follower count, website and description.
|
|
40158
40158
|
*
|
|
40159
|
-
* Price: $0.
|
|
40159
|
+
* Price: $0.0015 per request.
|
|
40160
40160
|
*
|
|
40161
40161
|
* @example
|
|
40162
40162
|
* const res = await client.linkedin.job({ url: "https://www.linkedin.com/jobs/view/4431721875/" });
|
|
@@ -40316,7 +40316,7 @@ declare class LinkedinNamespace {
|
|
|
40316
40316
|
*
|
|
40317
40317
|
* Lightweight profile: name, avatar, location, followers, public id, current company, and a basic experience/education list (company + dates; job titles, the current-role flag and the connections label only where the source and the profile show them; no descriptions or skills; past companies may be redacted). For full experience detail, skills, certifications, and verified flags use linkedin.profile.
|
|
40318
40318
|
*
|
|
40319
|
-
* Price: $0.
|
|
40319
|
+
* Price: $0.0008 per request.
|
|
40320
40320
|
*
|
|
40321
40321
|
* @example
|
|
40322
40322
|
* const res = await client.linkedin.profileThin({ url: "https://www.linkedin.com/in/williamhgates" });
|
|
@@ -41452,7 +41452,7 @@ declare class MapsNamespace {
|
|
|
41452
41452
|
*
|
|
41453
41453
|
* Look up a place on Google Maps by name or search query (optionally scoped to a location) and get the best-matching place with available address, contact, rating, and coordinate details as normalized JSON.
|
|
41454
41454
|
*
|
|
41455
|
-
* Price: $0.
|
|
41455
|
+
* Price: $0.00099 per request.
|
|
41456
41456
|
*
|
|
41457
41457
|
* @example
|
|
41458
41458
|
* const res = await client.maps.place({ query: "Blue Bottle Coffee", location: "San Francisco, CA" });
|
|
@@ -41474,7 +41474,7 @@ declare class MapsNamespace {
|
|
|
41474
41474
|
*
|
|
41475
41475
|
* Search Google Maps for places matching a query and location: up to 20 normalized place records with ratings, addresses, and contact basics per request.
|
|
41476
41476
|
*
|
|
41477
|
-
* Price: $0.
|
|
41477
|
+
* Price: $0.0014 per request.
|
|
41478
41478
|
*
|
|
41479
41479
|
* @example
|
|
41480
41480
|
* const res = await client.maps.search({ location: "Austin, TX", query: "coffee", limit: 3 });
|
|
@@ -67537,7 +67537,7 @@ interface TiktokSearchPhotosInput {
|
|
|
67537
67537
|
*/
|
|
67538
67538
|
ignoreSources?: string[];
|
|
67539
67539
|
/**
|
|
67540
|
-
*
|
|
67540
|
+
* How many posts to ask for per page (1-30, default 30). This is a request, not a cap: a page can hold more or fewer posts than this, depending on the source that serves it. Follow nextCursor for more.
|
|
67541
67541
|
* Range: minimum 1, maximum 30.
|
|
67542
67542
|
* Default: 30.
|
|
67543
67543
|
*/
|
|
@@ -73503,7 +73503,7 @@ declare class TwitterNamespace {
|
|
|
73503
73503
|
*
|
|
73504
73504
|
* Fetch a single Twitter/X tweet by URL with its full text and engagement counts (likes, retweets, replies, quotes, bookmarks, views).
|
|
73505
73505
|
*
|
|
73506
|
-
* Price: $0.
|
|
73506
|
+
* Price: $0.00021 per request.
|
|
73507
73507
|
*
|
|
73508
73508
|
* @example
|
|
73509
73509
|
* const res = await client.twitter.tweet({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|
package/dist/index.d.ts
CHANGED
|
@@ -21272,7 +21272,7 @@ declare class GeminiNamespace {
|
|
|
21272
21272
|
*
|
|
21273
21273
|
* Ask Gemini a web-grounded question and receive an answer with source citations.
|
|
21274
21274
|
*
|
|
21275
|
-
* Price: $0.
|
|
21275
|
+
* Price: $0.0048 per request.
|
|
21276
21276
|
*
|
|
21277
21277
|
* @example
|
|
21278
21278
|
* const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -40112,7 +40112,7 @@ declare class LinkedinNamespace {
|
|
|
40112
40112
|
*
|
|
40113
40113
|
* Basic company: name, description, employee count, industry, logo, website, tagline. No follower count, founded year, office locations, or funding data - for those use linkedin.company.
|
|
40114
40114
|
*
|
|
40115
|
-
* Price: $0.
|
|
40115
|
+
* Price: $0.00079 per request.
|
|
40116
40116
|
*
|
|
40117
40117
|
* @example
|
|
40118
40118
|
* const res = await client.linkedin.companyThin({ url: "https://www.linkedin.com/company/stripe" });
|
|
@@ -40156,7 +40156,7 @@ declare class LinkedinNamespace {
|
|
|
40156
40156
|
*
|
|
40157
40157
|
* Fetch one LinkedIn job posting by URL: title, full description, location, salary when disclosed, applicant count, employment and workplace type, seniority, benefits, industries, apply links, posting and expiry dates, the hiring team, the applicant tracking system behind it, and the hiring company with its size, follower count, website and description.
|
|
40158
40158
|
*
|
|
40159
|
-
* Price: $0.
|
|
40159
|
+
* Price: $0.0015 per request.
|
|
40160
40160
|
*
|
|
40161
40161
|
* @example
|
|
40162
40162
|
* const res = await client.linkedin.job({ url: "https://www.linkedin.com/jobs/view/4431721875/" });
|
|
@@ -40316,7 +40316,7 @@ declare class LinkedinNamespace {
|
|
|
40316
40316
|
*
|
|
40317
40317
|
* Lightweight profile: name, avatar, location, followers, public id, current company, and a basic experience/education list (company + dates; job titles, the current-role flag and the connections label only where the source and the profile show them; no descriptions or skills; past companies may be redacted). For full experience detail, skills, certifications, and verified flags use linkedin.profile.
|
|
40318
40318
|
*
|
|
40319
|
-
* Price: $0.
|
|
40319
|
+
* Price: $0.0008 per request.
|
|
40320
40320
|
*
|
|
40321
40321
|
* @example
|
|
40322
40322
|
* const res = await client.linkedin.profileThin({ url: "https://www.linkedin.com/in/williamhgates" });
|
|
@@ -41452,7 +41452,7 @@ declare class MapsNamespace {
|
|
|
41452
41452
|
*
|
|
41453
41453
|
* Look up a place on Google Maps by name or search query (optionally scoped to a location) and get the best-matching place with available address, contact, rating, and coordinate details as normalized JSON.
|
|
41454
41454
|
*
|
|
41455
|
-
* Price: $0.
|
|
41455
|
+
* Price: $0.00099 per request.
|
|
41456
41456
|
*
|
|
41457
41457
|
* @example
|
|
41458
41458
|
* const res = await client.maps.place({ query: "Blue Bottle Coffee", location: "San Francisco, CA" });
|
|
@@ -41474,7 +41474,7 @@ declare class MapsNamespace {
|
|
|
41474
41474
|
*
|
|
41475
41475
|
* Search Google Maps for places matching a query and location: up to 20 normalized place records with ratings, addresses, and contact basics per request.
|
|
41476
41476
|
*
|
|
41477
|
-
* Price: $0.
|
|
41477
|
+
* Price: $0.0014 per request.
|
|
41478
41478
|
*
|
|
41479
41479
|
* @example
|
|
41480
41480
|
* const res = await client.maps.search({ location: "Austin, TX", query: "coffee", limit: 3 });
|
|
@@ -67537,7 +67537,7 @@ interface TiktokSearchPhotosInput {
|
|
|
67537
67537
|
*/
|
|
67538
67538
|
ignoreSources?: string[];
|
|
67539
67539
|
/**
|
|
67540
|
-
*
|
|
67540
|
+
* How many posts to ask for per page (1-30, default 30). This is a request, not a cap: a page can hold more or fewer posts than this, depending on the source that serves it. Follow nextCursor for more.
|
|
67541
67541
|
* Range: minimum 1, maximum 30.
|
|
67542
67542
|
* Default: 30.
|
|
67543
67543
|
*/
|
|
@@ -73503,7 +73503,7 @@ declare class TwitterNamespace {
|
|
|
73503
73503
|
*
|
|
73504
73504
|
* Fetch a single Twitter/X tweet by URL with its full text and engagement counts (likes, retweets, replies, quotes, bookmarks, views).
|
|
73505
73505
|
*
|
|
73506
|
-
* Price: $0.
|
|
73506
|
+
* Price: $0.00021 per request.
|
|
73507
73507
|
*
|
|
73508
73508
|
* @example
|
|
73509
73509
|
* const res = await client.twitter.tweet({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|
package/dist/index.js
CHANGED
|
@@ -3178,7 +3178,7 @@ var GeminiNamespace = class {
|
|
|
3178
3178
|
*
|
|
3179
3179
|
* Ask Gemini a web-grounded question and receive an answer with source citations.
|
|
3180
3180
|
*
|
|
3181
|
-
* Price: $0.
|
|
3181
|
+
* Price: $0.0048 per request.
|
|
3182
3182
|
*
|
|
3183
3183
|
* @example
|
|
3184
3184
|
* const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -5124,7 +5124,7 @@ var LinkedinNamespace = class {
|
|
|
5124
5124
|
*
|
|
5125
5125
|
* Basic company: name, description, employee count, industry, logo, website, tagline. No follower count, founded year, office locations, or funding data - for those use linkedin.company.
|
|
5126
5126
|
*
|
|
5127
|
-
* Price: $0.
|
|
5127
|
+
* Price: $0.00079 per request.
|
|
5128
5128
|
*
|
|
5129
5129
|
* @example
|
|
5130
5130
|
* const res = await client.linkedin.companyThin({ url: "https://www.linkedin.com/company/stripe" });
|
|
@@ -5176,7 +5176,7 @@ var LinkedinNamespace = class {
|
|
|
5176
5176
|
*
|
|
5177
5177
|
* Fetch one LinkedIn job posting by URL: title, full description, location, salary when disclosed, applicant count, employment and workplace type, seniority, benefits, industries, apply links, posting and expiry dates, the hiring team, the applicant tracking system behind it, and the hiring company with its size, follower count, website and description.
|
|
5178
5178
|
*
|
|
5179
|
-
* Price: $0.
|
|
5179
|
+
* Price: $0.0015 per request.
|
|
5180
5180
|
*
|
|
5181
5181
|
* @example
|
|
5182
5182
|
* const res = await client.linkedin.job({ url: "https://www.linkedin.com/jobs/view/4431721875/" });
|
|
@@ -5396,7 +5396,7 @@ var LinkedinNamespace = class {
|
|
|
5396
5396
|
*
|
|
5397
5397
|
* Lightweight profile: name, avatar, location, followers, public id, current company, and a basic experience/education list (company + dates; job titles, the current-role flag and the connections label only where the source and the profile show them; no descriptions or skills; past companies may be redacted). For full experience detail, skills, certifications, and verified flags use linkedin.profile.
|
|
5398
5398
|
*
|
|
5399
|
-
* Price: $0.
|
|
5399
|
+
* Price: $0.0008 per request.
|
|
5400
5400
|
*
|
|
5401
5401
|
* @example
|
|
5402
5402
|
* const res = await client.linkedin.profileThin({ url: "https://www.linkedin.com/in/williamhgates" });
|
|
@@ -5600,7 +5600,7 @@ var MapsNamespace = class {
|
|
|
5600
5600
|
*
|
|
5601
5601
|
* Look up a place on Google Maps by name or search query (optionally scoped to a location) and get the best-matching place with available address, contact, rating, and coordinate details as normalized JSON.
|
|
5602
5602
|
*
|
|
5603
|
-
* Price: $0.
|
|
5603
|
+
* Price: $0.00099 per request.
|
|
5604
5604
|
*
|
|
5605
5605
|
* @example
|
|
5606
5606
|
* const res = await client.maps.place({ query: "Blue Bottle Coffee", location: "San Francisco, CA" });
|
|
@@ -5626,7 +5626,7 @@ var MapsNamespace = class {
|
|
|
5626
5626
|
*
|
|
5627
5627
|
* Search Google Maps for places matching a query and location: up to 20 normalized place records with ratings, addresses, and contact basics per request.
|
|
5628
5628
|
*
|
|
5629
|
-
* Price: $0.
|
|
5629
|
+
* Price: $0.0014 per request.
|
|
5630
5630
|
*
|
|
5631
5631
|
* @example
|
|
5632
5632
|
* const res = await client.maps.search({ location: "Austin, TX", query: "coffee", limit: 3 });
|
|
@@ -9040,7 +9040,7 @@ var TwitterNamespace = class {
|
|
|
9040
9040
|
*
|
|
9041
9041
|
* Fetch a single Twitter/X tweet by URL with its full text and engagement counts (likes, retweets, replies, quotes, bookmarks, views).
|
|
9042
9042
|
*
|
|
9043
|
-
* Price: $0.
|
|
9043
|
+
* Price: $0.00021 per request.
|
|
9044
9044
|
*
|
|
9045
9045
|
* @example
|
|
9046
9046
|
* const res = await client.twitter.tweet({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|