@getanyapi/sdk 0.48.2 → 0.49.0
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 +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +39 -22
- package/dist/index.d.ts +39 -22
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1894,7 +1894,7 @@ var DouyinNamespace = class {
|
|
|
1894
1894
|
* Price: $0.012 per request.
|
|
1895
1895
|
*
|
|
1896
1896
|
* @example
|
|
1897
|
-
* const res = await client.douyin.searchVideos({ query: "机器人", duration: "0", publishedWithin: 0, sort:
|
|
1897
|
+
* const res = await client.douyin.searchVideos({ query: "机器人", duration: "0", publishedWithin: 0, sort: "relevance" });
|
|
1898
1898
|
*/
|
|
1899
1899
|
searchVideos(input, options) {
|
|
1900
1900
|
return this._core.run("douyin.search_videos", input, options);
|
|
@@ -1907,7 +1907,7 @@ var DouyinNamespace = class {
|
|
|
1907
1907
|
* Price: $0.0012 per request.
|
|
1908
1908
|
*
|
|
1909
1909
|
* @example
|
|
1910
|
-
* const res = await client.douyin.userPosts({ secUserId: "MS4wLjABAAAANXSltcLCzDGmdNFI2Q_QixVTr67NiYzjKOIP5s03CAE", limit: 20, sort:
|
|
1910
|
+
* const res = await client.douyin.userPosts({ secUserId: "MS4wLjABAAAANXSltcLCzDGmdNFI2Q_QixVTr67NiYzjKOIP5s03CAE", limit: 20, sort: "newest" });
|
|
1911
1911
|
*/
|
|
1912
1912
|
userPosts(input, options) {
|
|
1913
1913
|
return this._core.run("douyin.user_posts", input, options);
|
|
@@ -4425,7 +4425,7 @@ var LinkedinNamespace = class {
|
|
|
4425
4425
|
*
|
|
4426
4426
|
* Search public LinkedIn posts by keyword (text, link, publish date).
|
|
4427
4427
|
*
|
|
4428
|
-
* Price: $0.
|
|
4428
|
+
* Price: $0.018 per request.
|
|
4429
4429
|
*
|
|
4430
4430
|
* @example
|
|
4431
4431
|
* const res = await client.linkedin.searchPosts({ query: "hiring", datePosted: "last-week" });
|
|
@@ -6492,7 +6492,7 @@ var TiktokNamespace = class {
|
|
|
6492
6492
|
* Price: $0.0007 per request.
|
|
6493
6493
|
*
|
|
6494
6494
|
* @example
|
|
6495
|
-
* const res = await client.tiktok.searchKeyword({ query: "cooking", datePosted: 0, sortBy:
|
|
6495
|
+
* const res = await client.tiktok.searchKeyword({ query: "cooking", datePosted: 0, sortBy: "relevance" });
|
|
6496
6496
|
*/
|
|
6497
6497
|
searchKeyword(input, options) {
|
|
6498
6498
|
return this._core.run("tiktok.search_keyword", input, options);
|
|
@@ -6560,7 +6560,7 @@ var TiktokNamespace = class {
|
|
|
6560
6560
|
*
|
|
6561
6561
|
* Search TikTok's top results for a keyword (caption, views, likes, comments, shares) with cursor pagination.
|
|
6562
6562
|
*
|
|
6563
|
-
* Price: $0.
|
|
6563
|
+
* Price: $0.0009 per request.
|
|
6564
6564
|
*
|
|
6565
6565
|
* @example
|
|
6566
6566
|
* const res = await client.tiktok.searchTop({ query: "funny" });
|