@getanyapi/sdk 0.48.3 → 0.50.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 +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +42 -21
- package/dist/index.d.ts +42 -21
- package/dist/index.js +4 -4
- 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);
|
|
@@ -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);
|
|
@@ -8018,7 +8018,7 @@ var YoutubeNamespace = class {
|
|
|
8018
8018
|
*
|
|
8019
8019
|
* Fetch the transcript/captions of a YouTube video or Short by URL or ID.
|
|
8020
8020
|
*
|
|
8021
|
-
* Price: $0.
|
|
8021
|
+
* Price: $0.0012 per request.
|
|
8022
8022
|
*
|
|
8023
8023
|
* @example
|
|
8024
8024
|
* const res = await client.youtube.videoTranscript({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|