@getanyapi/sdk 0.91.5 → 0.94.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 +120 -30
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +417 -76
- package/dist/index.d.ts +417 -76
- package/dist/index.js +120 -30
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1431,7 +1431,7 @@ var BookingNamespace = class {
|
|
|
1431
1431
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1432
1432
|
*
|
|
1433
1433
|
* @example
|
|
1434
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
1434
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-07", checkOut: "2026-11-09", limit: 3 });
|
|
1435
1435
|
*/
|
|
1436
1436
|
search(input, options) {
|
|
1437
1437
|
return this._core.run("booking.search", input, options);
|
|
@@ -1902,7 +1902,7 @@ var EbayNamespace = class {
|
|
|
1902
1902
|
*
|
|
1903
1903
|
* Fetch one eBay listing by URL and get the full offer record: price, condition, shipping, item location, seller feedback, quantity, watchers, and live auction state (bid count and end time).
|
|
1904
1904
|
*
|
|
1905
|
-
* Price: $0.
|
|
1905
|
+
* Price: $0.00075 per request.
|
|
1906
1906
|
*
|
|
1907
1907
|
* @example
|
|
1908
1908
|
* const res = await client.ebay.product({ url: "https://www.ebay.com/itm/133576802017" });
|
|
@@ -1928,7 +1928,7 @@ var EbayNamespace = class {
|
|
|
1928
1928
|
*
|
|
1929
1929
|
* Search eBay active listings by keyword with optional price-range, item-condition, listing-type, and sort filters and get title, price, condition, shipping, and seller in one normalized response.
|
|
1930
1930
|
*
|
|
1931
|
-
* Price: $0.
|
|
1931
|
+
* Price: $0.00075 per request.
|
|
1932
1932
|
*
|
|
1933
1933
|
* @example
|
|
1934
1934
|
* const res = await client.ebay.search({ query: "nintendo switch", limit: 3, sort: "price_low" });
|
|
@@ -3159,7 +3159,7 @@ var GoogleNamespace = class {
|
|
|
3159
3159
|
*
|
|
3160
3160
|
* Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is cheaper past roughly 20 results.
|
|
3161
3161
|
*
|
|
3162
|
-
* Price: $0.
|
|
3162
|
+
* Price: $0.0005 per request.
|
|
3163
3163
|
*
|
|
3164
3164
|
* @example
|
|
3165
3165
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -3322,7 +3322,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3322
3322
|
* Price: $0.0015 per request.
|
|
3323
3323
|
*
|
|
3324
3324
|
* @example
|
|
3325
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
3325
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-07", checkOut: "2026-11-09", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3326
3326
|
*/
|
|
3327
3327
|
details(input, options) {
|
|
3328
3328
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3335,7 +3335,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3335
3335
|
* Price: $0.0015 per request.
|
|
3336
3336
|
*
|
|
3337
3337
|
* @example
|
|
3338
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
3338
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-07", checkOut: "2026-11-09", country: "us", query: "hotels near times square new york" });
|
|
3339
3339
|
*/
|
|
3340
3340
|
search(input, options) {
|
|
3341
3341
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -3610,7 +3610,7 @@ var InstagramNamespace = class {
|
|
|
3610
3610
|
*
|
|
3611
3611
|
* Instagram posts published under a hashtag, newest first, read from its live chronological feed rather than a web search index. Built for monitoring: results arrive within a couple of minutes of posting, so engagement counts are usually still zero and reels do not appear (Instagram keeps those on a separate tab). For engagement-ranked results use instagram.hashtag_top_posts; for older relevance-ranked results use instagram.search_hashtag.
|
|
3612
3612
|
*
|
|
3613
|
-
* Price: $0.
|
|
3613
|
+
* Price: $0.0012 per request.
|
|
3614
3614
|
*
|
|
3615
3615
|
* @example
|
|
3616
3616
|
* const res = await client.instagram.hashtagRecentPosts({ hashtag: "skincare" });
|
|
@@ -3985,7 +3985,7 @@ var InstagramNamespace = class {
|
|
|
3985
3985
|
*
|
|
3986
3986
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
3987
3987
|
*
|
|
3988
|
-
* Price: $0.
|
|
3988
|
+
* Price: $0.00175 per request.
|
|
3989
3989
|
*
|
|
3990
3990
|
* @example
|
|
3991
3991
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -4351,7 +4351,7 @@ var LinkedinNamespace = class {
|
|
|
4351
4351
|
*
|
|
4352
4352
|
* Search LinkedIn job listings by title and location - full records with description, salary, applicant count, seniority, company details, and benefits. Up to 25 jobs per request.
|
|
4353
4353
|
*
|
|
4354
|
-
* Price: $0.
|
|
4354
|
+
* Price: $0.0286 per request plus $0 per result (maximum $0.0286).
|
|
4355
4355
|
*
|
|
4356
4356
|
* @example
|
|
4357
4357
|
* const res = await client.linkedin.jobs({ query: "software engineer", limit: 3, location: "United States", workplaceType: "remote" });
|
|
@@ -4359,6 +4359,22 @@ var LinkedinNamespace = class {
|
|
|
4359
4359
|
jobs(input, options) {
|
|
4360
4360
|
return this._core.run("linkedin.jobs", input, options);
|
|
4361
4361
|
}
|
|
4362
|
+
/**
|
|
4363
|
+
* Iterate every result of LinkedIn Jobs across pages.
|
|
4364
|
+
*
|
|
4365
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
4366
|
+
* result pages instead (each carries its own costUsd).
|
|
4367
|
+
*/
|
|
4368
|
+
iterJobs(input, options) {
|
|
4369
|
+
return paginate(
|
|
4370
|
+
this._core,
|
|
4371
|
+
"linkedin.jobs",
|
|
4372
|
+
input,
|
|
4373
|
+
"items",
|
|
4374
|
+
false,
|
|
4375
|
+
options
|
|
4376
|
+
);
|
|
4377
|
+
}
|
|
4362
4378
|
/**
|
|
4363
4379
|
* LinkedIn Jobs (index)
|
|
4364
4380
|
*
|
|
@@ -4372,6 +4388,22 @@ var LinkedinNamespace = class {
|
|
|
4372
4388
|
jobsThin(input, options) {
|
|
4373
4389
|
return this._core.run("linkedin.jobs_thin", input, options);
|
|
4374
4390
|
}
|
|
4391
|
+
/**
|
|
4392
|
+
* Iterate every result of LinkedIn Jobs (index) across pages.
|
|
4393
|
+
*
|
|
4394
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
4395
|
+
* result pages instead (each carries its own costUsd).
|
|
4396
|
+
*/
|
|
4397
|
+
iterJobsThin(input, options) {
|
|
4398
|
+
return paginate(
|
|
4399
|
+
this._core,
|
|
4400
|
+
"linkedin.jobs_thin",
|
|
4401
|
+
input,
|
|
4402
|
+
"items",
|
|
4403
|
+
false,
|
|
4404
|
+
options
|
|
4405
|
+
);
|
|
4406
|
+
}
|
|
4375
4407
|
/**
|
|
4376
4408
|
* LinkedIn Post
|
|
4377
4409
|
*
|
|
@@ -4463,6 +4495,22 @@ var LinkedinNamespace = class {
|
|
|
4463
4495
|
profilePostsFull(input, options) {
|
|
4464
4496
|
return this._core.run("linkedin.profile_posts_full", input, options);
|
|
4465
4497
|
}
|
|
4498
|
+
/**
|
|
4499
|
+
* Iterate every result of LinkedIn Profile Posts (full) across pages.
|
|
4500
|
+
*
|
|
4501
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
4502
|
+
* result pages instead (each carries its own costUsd).
|
|
4503
|
+
*/
|
|
4504
|
+
iterProfilePostsFull(input, options) {
|
|
4505
|
+
return paginate(
|
|
4506
|
+
this._core,
|
|
4507
|
+
"linkedin.profile_posts_full",
|
|
4508
|
+
input,
|
|
4509
|
+
"items",
|
|
4510
|
+
false,
|
|
4511
|
+
options
|
|
4512
|
+
);
|
|
4513
|
+
}
|
|
4466
4514
|
/**
|
|
4467
4515
|
* LinkedIn Profile Posts (basic)
|
|
4468
4516
|
*
|
|
@@ -4476,6 +4524,22 @@ var LinkedinNamespace = class {
|
|
|
4476
4524
|
profilePostsThin(input, options) {
|
|
4477
4525
|
return this._core.run("linkedin.profile_posts_thin", input, options);
|
|
4478
4526
|
}
|
|
4527
|
+
/**
|
|
4528
|
+
* Iterate every result of LinkedIn Profile Posts (basic) across pages.
|
|
4529
|
+
*
|
|
4530
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
4531
|
+
* result pages instead (each carries its own costUsd).
|
|
4532
|
+
*/
|
|
4533
|
+
iterProfilePostsThin(input, options) {
|
|
4534
|
+
return paginate(
|
|
4535
|
+
this._core,
|
|
4536
|
+
"linkedin.profile_posts_thin",
|
|
4537
|
+
input,
|
|
4538
|
+
"items",
|
|
4539
|
+
false,
|
|
4540
|
+
options
|
|
4541
|
+
);
|
|
4542
|
+
}
|
|
4479
4543
|
/**
|
|
4480
4544
|
* LinkedIn Profile Reactions
|
|
4481
4545
|
*
|
|
@@ -6511,7 +6575,7 @@ var TiktokNamespace = class {
|
|
|
6511
6575
|
*
|
|
6512
6576
|
* List the replies to a TikTok comment with cursor pagination (text, author, likes).
|
|
6513
6577
|
*
|
|
6514
|
-
* Price: $0.
|
|
6578
|
+
* Price: $0.0006 per request.
|
|
6515
6579
|
*
|
|
6516
6580
|
* @example
|
|
6517
6581
|
* const res = await client.tiktok.commentReplies({ commentId: "7623828115408274207", url: "https://www.tiktok.com/@stoolpresidente/video/7623818255903329566" });
|
|
@@ -6540,7 +6604,7 @@ var TiktokNamespace = class {
|
|
|
6540
6604
|
*
|
|
6541
6605
|
* List the followers of a TikTok account by username, returning each follower's profile basics.
|
|
6542
6606
|
*
|
|
6543
|
-
* Price: $0.
|
|
6607
|
+
* Price: $0.0008 per request.
|
|
6544
6608
|
*
|
|
6545
6609
|
* @example
|
|
6546
6610
|
* const res = await client.tiktok.followers({ handle: "stoolpresidente" });
|
|
@@ -6569,7 +6633,7 @@ var TiktokNamespace = class {
|
|
|
6569
6633
|
*
|
|
6570
6634
|
* List the accounts a TikTok user follows (handle, display name, follower count, bio) by username.
|
|
6571
6635
|
*
|
|
6572
|
-
* Price: $0.
|
|
6636
|
+
* Price: $0.0008 per request.
|
|
6573
6637
|
*
|
|
6574
6638
|
* @example
|
|
6575
6639
|
* const res = await client.tiktok.following({ handle: "stoolpresidente" });
|
|
@@ -6682,7 +6746,7 @@ var TiktokNamespace = class {
|
|
|
6682
6746
|
*
|
|
6683
6747
|
* Fetch a TikTok creator's public profile (followers, likes, bio, verification) by handle.
|
|
6684
6748
|
*
|
|
6685
|
-
* Price: $0.
|
|
6749
|
+
* Price: $0.0004 per request.
|
|
6686
6750
|
*
|
|
6687
6751
|
* @example
|
|
6688
6752
|
* const res = await client.tiktok.profile({ handle: "zachking" });
|
|
@@ -6779,7 +6843,7 @@ var TiktokNamespace = class {
|
|
|
6779
6843
|
*
|
|
6780
6844
|
* List a TikTok creator's recent videos (views, likes, comments) by handle with cursor pagination.
|
|
6781
6845
|
*
|
|
6782
|
-
* Price: $0.
|
|
6846
|
+
* Price: $0.0006 per request.
|
|
6783
6847
|
*
|
|
6784
6848
|
* @example
|
|
6785
6849
|
* const res = await client.tiktok.profileVideos({ handle: "zachking" });
|
|
@@ -6837,7 +6901,7 @@ var TiktokNamespace = class {
|
|
|
6837
6901
|
*
|
|
6838
6902
|
* Search TikTok by keyword and get matching videos (caption, views, likes, comments, shares) as normalized JSON.
|
|
6839
6903
|
*
|
|
6840
|
-
* Price: $0.
|
|
6904
|
+
* Price: $0.0006 per request.
|
|
6841
6905
|
*
|
|
6842
6906
|
* @example
|
|
6843
6907
|
* const res = await client.tiktok.searchKeyword({ query: "cooking", datePosted: 0, sortBy: "relevance" });
|
|
@@ -6895,7 +6959,7 @@ var TiktokNamespace = class {
|
|
|
6895
6959
|
*
|
|
6896
6960
|
* Get the search terms TikTok suggests for a keyword, each with its language and relative weight - the queries real TikTok users type around your topic.
|
|
6897
6961
|
*
|
|
6898
|
-
* Price: $0.
|
|
6962
|
+
* Price: $0.0008 per request.
|
|
6899
6963
|
*
|
|
6900
6964
|
* @example
|
|
6901
6965
|
* const res = await client.tiktok.searchSuggestions({ query: "protein powder" });
|
|
@@ -6908,7 +6972,7 @@ var TiktokNamespace = class {
|
|
|
6908
6972
|
*
|
|
6909
6973
|
* Search TikTok's top results for a keyword (caption, views, likes, comments, shares) with cursor pagination.
|
|
6910
6974
|
*
|
|
6911
|
-
* Price: $0.
|
|
6975
|
+
* Price: $0.0006 per request.
|
|
6912
6976
|
*
|
|
6913
6977
|
* @example
|
|
6914
6978
|
* const res = await client.tiktok.searchTop({ query: "funny" });
|
|
@@ -6937,7 +7001,7 @@ var TiktokNamespace = class {
|
|
|
6937
7001
|
*
|
|
6938
7002
|
* Search TikTok accounts by keyword (handle, nickname, follower count) with cursor pagination.
|
|
6939
7003
|
*
|
|
6940
|
-
* Price: $0.
|
|
7004
|
+
* Price: $0.0006 per request.
|
|
6941
7005
|
*
|
|
6942
7006
|
* @example
|
|
6943
7007
|
* const res = await client.tiktok.searchUsers({ query: "chef" });
|
|
@@ -6966,7 +7030,7 @@ var TiktokNamespace = class {
|
|
|
6966
7030
|
*
|
|
6967
7031
|
* Fetch details for a TikTok song or sound (title, author, duration, cover art, and how many videos use it).
|
|
6968
7032
|
*
|
|
6969
|
-
* Price: $0.
|
|
7033
|
+
* Price: $0.0006 per request.
|
|
6970
7034
|
*
|
|
6971
7035
|
* @example
|
|
6972
7036
|
* const res = await client.tiktok.song({ clipId: "7439295283975702544" });
|
|
@@ -6979,7 +7043,7 @@ var TiktokNamespace = class {
|
|
|
6979
7043
|
*
|
|
6980
7044
|
* List TikTok videos that use a given song or sound (with descriptions, authors, and engagement stats).
|
|
6981
7045
|
*
|
|
6982
|
-
* Price: $0.
|
|
7046
|
+
* Price: $0.0006 per request.
|
|
6983
7047
|
*
|
|
6984
7048
|
* @example
|
|
6985
7049
|
* const res = await client.tiktok.songVideos({ clipId: "7439295283975702544" });
|
|
@@ -7047,7 +7111,7 @@ var TiktokNamespace = class {
|
|
|
7047
7111
|
*
|
|
7048
7112
|
* Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
|
|
7049
7113
|
*
|
|
7050
|
-
* Price: $0.
|
|
7114
|
+
* Price: $0.0004 per request.
|
|
7051
7115
|
*
|
|
7052
7116
|
* @example
|
|
7053
7117
|
* const res = await client.tiktok.video({ url: "https://www.tiktok.com/@mrbeast/video/7654638524729216287?_r=1&u_code=elgjf3ff8cajhk&preview_pb=0&sharer_language=en&_d=elh6737j6kjl71&share_item_id=7654638524729216287&source=h5_m" });
|
|
@@ -7060,7 +7124,7 @@ var TiktokNamespace = class {
|
|
|
7060
7124
|
*
|
|
7061
7125
|
* List the comments on a TikTok video by URL with cursor pagination (text, author, likes, reply count).
|
|
7062
7126
|
*
|
|
7063
|
-
* Price: $0.
|
|
7127
|
+
* Price: $0.0006 per request.
|
|
7064
7128
|
*
|
|
7065
7129
|
* @example
|
|
7066
7130
|
* const res = await client.tiktok.videoComments({ url: "https://www.tiktok.com/@zachking/video/7650468599424945422?_r=1&u_code=f0hj7d780760m9&preview_pb=0&sharer_language=en&_d=f0hj7blh067h71&share_item_id=7650468599424945422&source=h5_m" });
|
|
@@ -7089,7 +7153,7 @@ var TiktokNamespace = class {
|
|
|
7089
7153
|
*
|
|
7090
7154
|
* Get the playable media files behind a TikTok video URL: the clean no-watermark MP4, the watermarked one TikTok's own save button produces, and the cover image, with duration and pixel dimensions. Photo-mode posts carry no video file - use tiktok.photos for those.
|
|
7091
7155
|
*
|
|
7092
|
-
* Price: $0.
|
|
7156
|
+
* Price: $0.0008 per request.
|
|
7093
7157
|
*
|
|
7094
7158
|
* @example
|
|
7095
7159
|
* const res = await client.tiktok.videoDownload({ url: "https://www.tiktok.com/@mrbeast/video/7654638524729216287" });
|
|
@@ -7763,7 +7827,7 @@ var UpworkNamespace = class {
|
|
|
7763
7827
|
*
|
|
7764
7828
|
* Search Upwork job postings by keyword, with up to 25 fresh listings per request.
|
|
7765
7829
|
*
|
|
7766
|
-
* Price: $0.
|
|
7830
|
+
* Price: $0.0011 per request plus $0.0011 per result (maximum $0.0286).
|
|
7767
7831
|
*
|
|
7768
7832
|
* @example
|
|
7769
7833
|
* const res = await client.upwork.jobs({ query: "web developer", jobType: "fixed", limit: 10 });
|
|
@@ -7792,6 +7856,32 @@ var WalmartNamespace = class {
|
|
|
7792
7856
|
product(input, options) {
|
|
7793
7857
|
return this._core.run("walmart.product", input, options);
|
|
7794
7858
|
}
|
|
7859
|
+
/**
|
|
7860
|
+
* Walmart Reviews
|
|
7861
|
+
*
|
|
7862
|
+
* Pull a page of 10 customer reviews for any Walmart product by URL, newest first or by relevance, helpfulness, or rating: rating, title, text, date, reviewer, and verified-purchase badge.
|
|
7863
|
+
*
|
|
7864
|
+
* Price: $0.00125 per request.
|
|
7865
|
+
*
|
|
7866
|
+
* @example
|
|
7867
|
+
* const res = await client.walmart.reviews({ url: "https://www.walmart.com/ip/Apple-AirPods-Pro-2/5689919121" });
|
|
7868
|
+
*/
|
|
7869
|
+
reviews(input, options) {
|
|
7870
|
+
return this._core.run("walmart.reviews", input, options);
|
|
7871
|
+
}
|
|
7872
|
+
/**
|
|
7873
|
+
* Walmart Search
|
|
7874
|
+
*
|
|
7875
|
+
* Search Walmart by keyword with optional sort, price-range, facet, and page filters and get title, price, rating, seller, and availability for each product in one normalized response.
|
|
7876
|
+
*
|
|
7877
|
+
* Price: $0.0009 per request.
|
|
7878
|
+
*
|
|
7879
|
+
* @example
|
|
7880
|
+
* const res = await client.walmart.search({ query: "airpods", sort: "best_seller" });
|
|
7881
|
+
*/
|
|
7882
|
+
search(input, options) {
|
|
7883
|
+
return this._core.run("walmart.search", input, options);
|
|
7884
|
+
}
|
|
7795
7885
|
};
|
|
7796
7886
|
|
|
7797
7887
|
// src/generated/platforms/web.ts
|
|
@@ -7844,7 +7934,7 @@ var WebNamespace = class {
|
|
|
7844
7934
|
*
|
|
7845
7935
|
* Capture a real-browser screenshot of any web page URL.
|
|
7846
7936
|
*
|
|
7847
|
-
* Price: $0.
|
|
7937
|
+
* Price: $0.0013 per request.
|
|
7848
7938
|
*
|
|
7849
7939
|
* @example
|
|
7850
7940
|
* const res = await client.web.screenshot({ url: "https://example.com" });
|
|
@@ -8025,7 +8115,7 @@ var YoutubeNamespace = class {
|
|
|
8025
8115
|
*
|
|
8026
8116
|
* Fetch a YouTube channel's stats (subscribers, video count, total views, description) and the links on its About page, by handle or channel ID.
|
|
8027
8117
|
*
|
|
8028
|
-
* Price: $0.
|
|
8118
|
+
* Price: $0.00045 per request.
|
|
8029
8119
|
*
|
|
8030
8120
|
* @example
|
|
8031
8121
|
* const res = await client.youtube.channel({ handle: "@mkbhd" });
|
|
@@ -8348,7 +8438,7 @@ var YoutubeNamespace = class {
|
|
|
8348
8438
|
*
|
|
8349
8439
|
* Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
8350
8440
|
*
|
|
8351
|
-
* Price: $0.
|
|
8441
|
+
* Price: $0.0008 per request.
|
|
8352
8442
|
*
|
|
8353
8443
|
* @example
|
|
8354
8444
|
* const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
|
@@ -8416,7 +8506,7 @@ var YoutubeNamespace = class {
|
|
|
8416
8506
|
*
|
|
8417
8507
|
* Fetch a YouTube video or Short transcript with timed segments and its provenance: whether the words are creator-written captions or machine speech recognition.
|
|
8418
8508
|
*
|
|
8419
|
-
* Price: $0.
|
|
8509
|
+
* Price: $0.003 per request.
|
|
8420
8510
|
*
|
|
8421
8511
|
* @example
|
|
8422
8512
|
* const res = await client.youtube.videoTranscriptFull({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
|
@@ -8474,12 +8564,12 @@ var ZhihuNamespace = class {
|
|
|
8474
8564
|
/**
|
|
8475
8565
|
* Zhihu Question Answers
|
|
8476
8566
|
*
|
|
8477
|
-
* List public answers to a Zhihu question with normalized authors and engagement data.
|
|
8567
|
+
* List the first page of public answers to a Zhihu question with normalized authors and engagement data. Pagination is not supported.
|
|
8478
8568
|
*
|
|
8479
8569
|
* Price: $0.0012 per request.
|
|
8480
8570
|
*
|
|
8481
8571
|
* @example
|
|
8482
|
-
* const res = await client.zhihu.questionAnswers({ questionId: "37811449", limit: 5,
|
|
8572
|
+
* const res = await client.zhihu.questionAnswers({ questionId: "37811449", limit: 5, order: "default" });
|
|
8483
8573
|
*/
|
|
8484
8574
|
questionAnswers(input, options) {
|
|
8485
8575
|
return this._core.run("zhihu.question_answers", input, options);
|