Skip to content

Files

Latest commit

cb6ef17 · Mar 9, 2025

History

History
3104 lines (2268 loc) · 131 KB

DouyinAppV1ApiApi.md

File metadata and controls

3104 lines (2268 loc) · 131 KB

DouyinAppV1ApiApi

All URIs are relative to http://localhost

Method HTTP request Description
fetchGeneralSearchResultApiV1DouyinAppV1FetchGeneralSearchResultGet GET /api/v1/douyin/app/v1/fetch_general_search_result 获取指定关键词的综合搜索结果/Get comprehensive search results of specified keywords
fetchGeneralSearchResultApiV1DouyinAppV1FetchGeneralSearchResultGet_0 GET /api/v1/douyin/app/v1/fetch_general_search_result 获取指定关键词的综合搜索结果/Get comprehensive search results of specified keywords
fetchHashtagDetailApiV1DouyinAppV1FetchHashtagDetailGet GET /api/v1/douyin/app/v1/fetch_hashtag_detail 获取指定话题的详情数据/Get details of specified hashtag
fetchHashtagDetailApiV1DouyinAppV1FetchHashtagDetailGet_0 GET /api/v1/douyin/app/v1/fetch_hashtag_detail 获取指定话题的详情数据/Get details of specified hashtag
fetchHashtagSearchResultApiV1DouyinAppV1FetchHashtagSearchResultGet GET /api/v1/douyin/app/v1/fetch_hashtag_search_result 获取指定关键词的话题搜索结果/Get hashtag search results of specified keywords
fetchHashtagSearchResultApiV1DouyinAppV1FetchHashtagSearchResultGet_0 GET /api/v1/douyin/app/v1/fetch_hashtag_search_result 获取指定关键词的话题搜索结果/Get hashtag search results of specified keywords
fetchHashtagVideoListApiV1DouyinAppV1FetchHashtagVideoListGet GET /api/v1/douyin/app/v1/fetch_hashtag_video_list 获取指定话题的作品数据/Get video list of specified hashtag
fetchHashtagVideoListApiV1DouyinAppV1FetchHashtagVideoListGet_0 GET /api/v1/douyin/app/v1/fetch_hashtag_video_list 获取指定话题的作品数据/Get video list of specified hashtag
fetchHotBrandSearchApiV1DouyinAppV1FetchBrandHotSearchListDetailGet GET /api/v1/douyin/app/v1/fetch_brand_hot_search_list_detail 获取抖音品牌热榜具体分类数据/Get Douyin brand hot search list detail data
fetchHotBrandSearchApiV1DouyinAppV1FetchBrandHotSearchListDetailGet_0 GET /api/v1/douyin/app/v1/fetch_brand_hot_search_list_detail 获取抖音品牌热榜具体分类数据/Get Douyin brand hot search list detail data
fetchHotBrandSearchCategoryApiV1DouyinAppV1FetchBrandHotSearchListGet GET /api/v1/douyin/app/v1/fetch_brand_hot_search_list 获取抖音品牌热榜分类数据/Get Douyin brand hot search list data
fetchHotBrandSearchCategoryApiV1DouyinAppV1FetchBrandHotSearchListGet_0 GET /api/v1/douyin/app/v1/fetch_brand_hot_search_list 获取抖音品牌热榜分类数据/Get Douyin brand hot search list data
fetchHotSearchListApiV1DouyinAppV1FetchHotSearchListGet GET /api/v1/douyin/app/v1/fetch_hot_search_list 获取抖音热搜榜数据/Get Douyin hot search list data
fetchHotSearchListApiV1DouyinAppV1FetchHotSearchListGet_0 GET /api/v1/douyin/app/v1/fetch_hot_search_list 获取抖音热搜榜数据/Get Douyin hot search list data
fetchLiveHotSearchListApiV1DouyinAppV1FetchLiveHotSearchListGet GET /api/v1/douyin/app/v1/fetch_live_hot_search_list 获取抖音直播热搜榜数据/Get Douyin live hot search list data
fetchLiveHotSearchListApiV1DouyinAppV1FetchLiveHotSearchListGet_0 GET /api/v1/douyin/app/v1/fetch_live_hot_search_list 获取抖音直播热搜榜数据/Get Douyin live hot search list data
fetchMusicDetailApiV1DouyinAppV1FetchMusicDetailGet GET /api/v1/douyin/app/v1/fetch_music_detail 获取指定音乐的详情数据/Get details of specified music
fetchMusicDetailApiV1DouyinAppV1FetchMusicDetailGet_0 GET /api/v1/douyin/app/v1/fetch_music_detail 获取指定音乐的详情数据/Get details of specified music
fetchMusicHotSearchListApiV1DouyinAppV1FetchMusicHotSearchListGet GET /api/v1/douyin/app/v1/fetch_music_hot_search_list 获取抖音音乐热榜数据/Get Douyin music hot search list data
fetchMusicHotSearchListApiV1DouyinAppV1FetchMusicHotSearchListGet_0 GET /api/v1/douyin/app/v1/fetch_music_hot_search_list 获取抖音音乐热榜数据/Get Douyin music hot search list data
fetchMusicSearchResultApiV1DouyinAppV1FetchMusicSearchResultGet GET /api/v1/douyin/app/v1/fetch_music_search_result 获取指定关键词的音乐搜索结果/Get music search results of specified keywords
fetchMusicSearchResultApiV1DouyinAppV1FetchMusicSearchResultGet_0 GET /api/v1/douyin/app/v1/fetch_music_search_result 获取指定关键词的音乐搜索结果/Get music search results of specified keywords
fetchMusicVideoListApiV1DouyinAppV1FetchMusicVideoListGet GET /api/v1/douyin/app/v1/fetch_music_video_list 获取指定音乐的视频列表数据/Get video list of specified music
fetchMusicVideoListApiV1DouyinAppV1FetchMusicVideoListGet_0 GET /api/v1/douyin/app/v1/fetch_music_video_list 获取指定音乐的视频列表数据/Get video list of specified music
fetchOneVideoApiV1DouyinAppV1FetchOneVideoGet GET /api/v1/douyin/app/v1/fetch_one_video 获取单个作品数据/Get single video data
fetchOneVideoApiV1DouyinAppV1FetchOneVideoGet_0 GET /api/v1/douyin/app/v1/fetch_one_video 获取单个作品数据/Get single video data
fetchOneVideoByShareUrlApiV1DouyinAppV1FetchOneVideoByShareUrlGet GET /api/v1/douyin/app/v1/fetch_one_video_by_share_url 根据分享链接获取单个作品数据/Get single video data by sharing link
fetchOneVideoByShareUrlApiV1DouyinAppV1FetchOneVideoByShareUrlGet_0 GET /api/v1/douyin/app/v1/fetch_one_video_by_share_url 根据分享链接获取单个作品数据/Get single video data by sharing link
fetchUserLikeVideosApiV1DouyinAppV1FetchUserLikeVideosGet GET /api/v1/douyin/app/v1/fetch_user_like_videos 获取用户喜欢作品数据/Get user like video data
fetchUserLikeVideosApiV1DouyinAppV1FetchUserLikeVideosGet_0 GET /api/v1/douyin/app/v1/fetch_user_like_videos 获取用户喜欢作品数据/Get user like video data
fetchUserPostVideosApiV1DouyinAppV1FetchUserPostVideosGet GET /api/v1/douyin/app/v1/fetch_user_post_videos 获取用户主页作品数据/Get user homepage video data
fetchUserPostVideosApiV1DouyinAppV1FetchUserPostVideosGet_0 GET /api/v1/douyin/app/v1/fetch_user_post_videos 获取用户主页作品数据/Get user homepage video data
fetchUserSearchResultApiV1DouyinAppV1FetchUserSearchResultGet GET /api/v1/douyin/app/v1/fetch_user_search_result 获取指定关键词的用户搜索结果/Get user search results of specified keywords
fetchUserSearchResultApiV1DouyinAppV1FetchUserSearchResultGet_0 GET /api/v1/douyin/app/v1/fetch_user_search_result 获取指定关键词的用户搜索结果/Get user search results of specified keywords
fetchVideoCommentsApiV1DouyinAppV1FetchVideoCommentsGet GET /api/v1/douyin/app/v1/fetch_video_comments 获取单个视频评论数据/Get single video comments data
fetchVideoCommentsApiV1DouyinAppV1FetchVideoCommentsGet_0 GET /api/v1/douyin/app/v1/fetch_video_comments 获取单个视频评论数据/Get single video comments data
fetchVideoCommentsReplyApiV1DouyinAppV1FetchVideoCommentRepliesGet GET /api/v1/douyin/app/v1/fetch_video_comment_replies 获取指定视频的评论回复数据/Get comment replies data of specified video
fetchVideoCommentsReplyApiV1DouyinAppV1FetchVideoCommentRepliesGet_0 GET /api/v1/douyin/app/v1/fetch_video_comment_replies 获取指定视频的评论回复数据/Get comment replies data of specified video
fetchVideoSearchResultApiV1DouyinAppV1FetchVideoSearchResultGet GET /api/v1/douyin/app/v1/fetch_video_search_result 获取指定关键词的视频搜索结果/Get video search results of specified keywords
fetchVideoSearchResultApiV1DouyinAppV1FetchVideoSearchResultGet_0 GET /api/v1/douyin/app/v1/fetch_video_search_result 获取指定关键词的视频搜索结果/Get video search results of specified keywords
handlerUserProfileApiV1DouyinAppV1HandlerUserProfileGet GET /api/v1/douyin/app/v1/handler_user_profile 获取指定用户的信息/Get information of specified user
handlerUserProfileApiV1DouyinAppV1HandlerUserProfileGet_0 GET /api/v1/douyin/app/v1/handler_user_profile 获取指定用户的信息/Get information of specified user

fetchGeneralSearchResultApiV1DouyinAppV1FetchGeneralSearchResultGet

ResponseModel fetchGeneralSearchResultApiV1DouyinAppV1FetchGeneralSearchResultGet(keyword, offset, count, sortType, publishTime)

获取指定关键词的综合搜索结果/Get comprehensive search results of specified keywords

[中文] ### 用途: - 获取指定关键词的综合搜索结果 ### 参数: - keyword: 关键词 - offset: 偏移量 - count: 数量,请保持默认,否则会出现BUG。 - sort_type: 0:综合排序 1:最多点赞 2:最新发布 - publish_time: 0:不限 1:最近一天 7:最近一周 183:最近半年 ### 返回: - 综合搜索结果 # [English] ### Purpose: - Get comprehensive search results of specified keywords ### Parameters: - keyword: Keyword - offset: Offset - count: Number Please keep the default, otherwise there will be BUG. - sort_type: 0: Comprehensive sorting 1: Most likes 2: Latest release - publish_time: 0: Unlimited 1: Last day 7: Last week 183: Last half year ### Return: - Comprehensive search results # [示例/Example] keyword = "中华娘" offset = 0 count = 20 sort_type = 0 publish_time = 0

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String keyword = 中华娘; // String | 关键词/Keyword
        Integer offset = 0; // Integer | 偏移量/Offset
        Integer count = 20; // Integer | 数量/Number
        Integer sortType = 56; // Integer | 排序类型/Sort type
        Integer publishTime = 56; // Integer | 发布时间/Publish time
        try {
            ResponseModel result = apiInstance.fetchGeneralSearchResultApiV1DouyinAppV1FetchGeneralSearchResultGet(keyword, offset, count, sortType, publishTime);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchGeneralSearchResultApiV1DouyinAppV1FetchGeneralSearchResultGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
keyword String 关键词/Keyword
offset Integer 偏移量/Offset [optional] [default to 0]
count Integer 数量/Number [optional] [default to 20]
sortType Integer 排序类型/Sort type [optional]
publishTime Integer 发布时间/Publish time [optional]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchGeneralSearchResultApiV1DouyinAppV1FetchGeneralSearchResultGet_0

ResponseModel fetchGeneralSearchResultApiV1DouyinAppV1FetchGeneralSearchResultGet_0(keyword, offset, count, sortType, publishTime)

获取指定关键词的综合搜索结果/Get comprehensive search results of specified keywords

[中文] ### 用途: - 获取指定关键词的综合搜索结果 ### 参数: - keyword: 关键词 - offset: 偏移量 - count: 数量,请保持默认,否则会出现BUG。 - sort_type: 0:综合排序 1:最多点赞 2:最新发布 - publish_time: 0:不限 1:最近一天 7:最近一周 183:最近半年 ### 返回: - 综合搜索结果 # [English] ### Purpose: - Get comprehensive search results of specified keywords ### Parameters: - keyword: Keyword - offset: Offset - count: Number Please keep the default, otherwise there will be BUG. - sort_type: 0: Comprehensive sorting 1: Most likes 2: Latest release - publish_time: 0: Unlimited 1: Last day 7: Last week 183: Last half year ### Return: - Comprehensive search results # [示例/Example] keyword = "中华娘" offset = 0 count = 20 sort_type = 0 publish_time = 0

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String keyword = 中华娘; // String | 关键词/Keyword
        Integer offset = 0; // Integer | 偏移量/Offset
        Integer count = 20; // Integer | 数量/Number
        Integer sortType = 56; // Integer | 排序类型/Sort type
        Integer publishTime = 56; // Integer | 发布时间/Publish time
        try {
            ResponseModel result = apiInstance.fetchGeneralSearchResultApiV1DouyinAppV1FetchGeneralSearchResultGet_0(keyword, offset, count, sortType, publishTime);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchGeneralSearchResultApiV1DouyinAppV1FetchGeneralSearchResultGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
keyword String 关键词/Keyword
offset Integer 偏移量/Offset [optional] [default to 0]
count Integer 数量/Number [optional] [default to 20]
sortType Integer 排序类型/Sort type [optional]
publishTime Integer 发布时间/Publish time [optional]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchHashtagDetailApiV1DouyinAppV1FetchHashtagDetailGet

ResponseModel fetchHashtagDetailApiV1DouyinAppV1FetchHashtagDetailGet(chId)

获取指定话题的详情数据/Get details of specified hashtag

[中文] ### 用途: - 获取指定话题的详情数据 ### 参数: - ch_id: 话题id ### 返回: - 话题详情数据 # [English] ### Purpose: - Get details of specified hashtag ### Parameters: - ch_id: Hashtag id ### Return: - Hashtag details data # [示例/Example] ch_id = 1575791821492238

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        Integer chId = 1575791821492238; // Integer | 话题id/Hashtag id
        try {
            ResponseModel result = apiInstance.fetchHashtagDetailApiV1DouyinAppV1FetchHashtagDetailGet(chId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchHashtagDetailApiV1DouyinAppV1FetchHashtagDetailGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
chId Integer 话题id/Hashtag id

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchHashtagDetailApiV1DouyinAppV1FetchHashtagDetailGet_0

ResponseModel fetchHashtagDetailApiV1DouyinAppV1FetchHashtagDetailGet_0(chId)

获取指定话题的详情数据/Get details of specified hashtag

[中文] ### 用途: - 获取指定话题的详情数据 ### 参数: - ch_id: 话题id ### 返回: - 话题详情数据 # [English] ### Purpose: - Get details of specified hashtag ### Parameters: - ch_id: Hashtag id ### Return: - Hashtag details data # [示例/Example] ch_id = 1575791821492238

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        Integer chId = 1575791821492238; // Integer | 话题id/Hashtag id
        try {
            ResponseModel result = apiInstance.fetchHashtagDetailApiV1DouyinAppV1FetchHashtagDetailGet_0(chId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchHashtagDetailApiV1DouyinAppV1FetchHashtagDetailGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
chId Integer 话题id/Hashtag id

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchHashtagSearchResultApiV1DouyinAppV1FetchHashtagSearchResultGet

ResponseModel fetchHashtagSearchResultApiV1DouyinAppV1FetchHashtagSearchResultGet(keyword, offset, count)

获取指定关键词的话题搜索结果/Get hashtag search results of specified keywords

[中文] ### 用途: - 获取指定关键词的话题搜索结果 ### 参数: - keyword: 关键词 - offset: 偏移量 - count: 数量,请保持默认,否则会出现BUG。 ### 返回: - 话题搜索结果 # [English] ### Purpose: - Get hashtag search results of specified keywords ### Parameters: - keyword: Keyword - offset: Offset - count: Number Please keep the default, otherwise there will be BUG. ### Return: - Hashtag search results # [示例/Example] keyword = "中华娘" offset = 0 count = 20

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String keyword = 中华娘; // String | 关键词/Keyword
        Integer offset = 0; // Integer | 偏移量/Offset
        Integer count = 20; // Integer | 数量/Number
        try {
            ResponseModel result = apiInstance.fetchHashtagSearchResultApiV1DouyinAppV1FetchHashtagSearchResultGet(keyword, offset, count);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchHashtagSearchResultApiV1DouyinAppV1FetchHashtagSearchResultGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
keyword String 关键词/Keyword
offset Integer 偏移量/Offset [optional] [default to 0]
count Integer 数量/Number [optional] [default to 20]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchHashtagSearchResultApiV1DouyinAppV1FetchHashtagSearchResultGet_0

ResponseModel fetchHashtagSearchResultApiV1DouyinAppV1FetchHashtagSearchResultGet_0(keyword, offset, count)

获取指定关键词的话题搜索结果/Get hashtag search results of specified keywords

[中文] ### 用途: - 获取指定关键词的话题搜索结果 ### 参数: - keyword: 关键词 - offset: 偏移量 - count: 数量,请保持默认,否则会出现BUG。 ### 返回: - 话题搜索结果 # [English] ### Purpose: - Get hashtag search results of specified keywords ### Parameters: - keyword: Keyword - offset: Offset - count: Number Please keep the default, otherwise there will be BUG. ### Return: - Hashtag search results # [示例/Example] keyword = "中华娘" offset = 0 count = 20

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String keyword = 中华娘; // String | 关键词/Keyword
        Integer offset = 0; // Integer | 偏移量/Offset
        Integer count = 20; // Integer | 数量/Number
        try {
            ResponseModel result = apiInstance.fetchHashtagSearchResultApiV1DouyinAppV1FetchHashtagSearchResultGet_0(keyword, offset, count);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchHashtagSearchResultApiV1DouyinAppV1FetchHashtagSearchResultGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
keyword String 关键词/Keyword
offset Integer 偏移量/Offset [optional] [default to 0]
count Integer 数量/Number [optional] [default to 20]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchHashtagVideoListApiV1DouyinAppV1FetchHashtagVideoListGet

ResponseModel fetchHashtagVideoListApiV1DouyinAppV1FetchHashtagVideoListGet(chId, cursor, sortType, count)

获取指定话题的作品数据/Get video list of specified hashtag

[中文] ### 用途: - 获取指定话题的作品数据 ### 参数: - ch_id: 话题id - cursor: 游标,用于翻页,第一页为0,第二页为第一次响应中的cursor值。 - sort_type: 0:综合排序 1:最多点赞 2:最新发布 - count: 数量,请保持默认,否则会出现BUG。 ### 返回: - 话题作品数据 # [English] ### Purpose: - Get video list of specified hashtag ### Parameters: - ch_id: Hashtag id - cursor: Cursor, used for paging, the first page is 0, the second page is the cursor value in the first response. - sort_type: 0: Comprehensive sorting 1: Most likes 2: Latest release - count: Number Please keep the default, otherwise there will be BUG. ### Return: - Hashtag video list data # [示例/Example] ch_id = 1575791821492238 cursor = 0 sort_type = 0 count = 10

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        Integer chId = 1575791821492238; // Integer | 话题id/Hashtag id
        Integer cursor = 0; // Integer | 游标/Cursor
        Integer sortType = 0; // Integer | 排序类型/Sort type
        Integer count = 10; // Integer | 数量/Number
        try {
            ResponseModel result = apiInstance.fetchHashtagVideoListApiV1DouyinAppV1FetchHashtagVideoListGet(chId, cursor, sortType, count);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchHashtagVideoListApiV1DouyinAppV1FetchHashtagVideoListGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
chId Integer 话题id/Hashtag id
cursor Integer 游标/Cursor [optional] [default to 0]
sortType Integer 排序类型/Sort type [optional] [default to 0]
count Integer 数量/Number [optional] [default to 10]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchHashtagVideoListApiV1DouyinAppV1FetchHashtagVideoListGet_0

ResponseModel fetchHashtagVideoListApiV1DouyinAppV1FetchHashtagVideoListGet_0(chId, cursor, sortType, count)

获取指定话题的作品数据/Get video list of specified hashtag

[中文] ### 用途: - 获取指定话题的作品数据 ### 参数: - ch_id: 话题id - cursor: 游标,用于翻页,第一页为0,第二页为第一次响应中的cursor值。 - sort_type: 0:综合排序 1:最多点赞 2:最新发布 - count: 数量,请保持默认,否则会出现BUG。 ### 返回: - 话题作品数据 # [English] ### Purpose: - Get video list of specified hashtag ### Parameters: - ch_id: Hashtag id - cursor: Cursor, used for paging, the first page is 0, the second page is the cursor value in the first response. - sort_type: 0: Comprehensive sorting 1: Most likes 2: Latest release - count: Number Please keep the default, otherwise there will be BUG. ### Return: - Hashtag video list data # [示例/Example] ch_id = 1575791821492238 cursor = 0 sort_type = 0 count = 10

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        Integer chId = 1575791821492238; // Integer | 话题id/Hashtag id
        Integer cursor = 0; // Integer | 游标/Cursor
        Integer sortType = 0; // Integer | 排序类型/Sort type
        Integer count = 10; // Integer | 数量/Number
        try {
            ResponseModel result = apiInstance.fetchHashtagVideoListApiV1DouyinAppV1FetchHashtagVideoListGet_0(chId, cursor, sortType, count);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchHashtagVideoListApiV1DouyinAppV1FetchHashtagVideoListGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
chId Integer 话题id/Hashtag id
cursor Integer 游标/Cursor [optional] [default to 0]
sortType Integer 排序类型/Sort type [optional] [default to 0]
count Integer 数量/Number [optional] [default to 10]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchHotBrandSearchApiV1DouyinAppV1FetchBrandHotSearchListDetailGet

ResponseModel fetchHotBrandSearchApiV1DouyinAppV1FetchBrandHotSearchListDetailGet(categoryId)

获取抖音品牌热榜具体分类数据/Get Douyin brand hot search list detail data

[中文] ### 用途: - 获取抖音品牌热榜具体分类数据 ### 参数: - category_id: 分类id ### 返回: - 品牌热搜榜具体分类数据 # [English] ### Purpose: - Get Douyin brand hot search list detail data ### Parameters: - category_id: Category id ### Return: - Hot brand search list detail data # [示例/Example] category_id = 10

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        Integer categoryId = 10; // Integer | 分类id/Category id
        try {
            ResponseModel result = apiInstance.fetchHotBrandSearchApiV1DouyinAppV1FetchBrandHotSearchListDetailGet(categoryId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchHotBrandSearchApiV1DouyinAppV1FetchBrandHotSearchListDetailGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
categoryId Integer 分类id/Category id

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchHotBrandSearchApiV1DouyinAppV1FetchBrandHotSearchListDetailGet_0

ResponseModel fetchHotBrandSearchApiV1DouyinAppV1FetchBrandHotSearchListDetailGet_0(categoryId)

获取抖音品牌热榜具体分类数据/Get Douyin brand hot search list detail data

[中文] ### 用途: - 获取抖音品牌热榜具体分类数据 ### 参数: - category_id: 分类id ### 返回: - 品牌热搜榜具体分类数据 # [English] ### Purpose: - Get Douyin brand hot search list detail data ### Parameters: - category_id: Category id ### Return: - Hot brand search list detail data # [示例/Example] category_id = 10

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        Integer categoryId = 10; // Integer | 分类id/Category id
        try {
            ResponseModel result = apiInstance.fetchHotBrandSearchApiV1DouyinAppV1FetchBrandHotSearchListDetailGet_0(categoryId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchHotBrandSearchApiV1DouyinAppV1FetchBrandHotSearchListDetailGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
categoryId Integer 分类id/Category id

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchHotBrandSearchCategoryApiV1DouyinAppV1FetchBrandHotSearchListGet

ResponseModel fetchHotBrandSearchCategoryApiV1DouyinAppV1FetchBrandHotSearchListGet()

获取抖音品牌热榜分类数据/Get Douyin brand hot search list data

[中文] ### 用途: - 获取抖音品牌热榜分类数据 ### 返回: - 品牌热搜榜分类数据 # [English] ### Purpose: - Get Douyin brand hot search category data ### Return: - Hot brand search category data # [示例/Example] pass

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        try {
            ResponseModel result = apiInstance.fetchHotBrandSearchCategoryApiV1DouyinAppV1FetchBrandHotSearchListGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchHotBrandSearchCategoryApiV1DouyinAppV1FetchBrandHotSearchListGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -

fetchHotBrandSearchCategoryApiV1DouyinAppV1FetchBrandHotSearchListGet_0

ResponseModel fetchHotBrandSearchCategoryApiV1DouyinAppV1FetchBrandHotSearchListGet_0()

获取抖音品牌热榜分类数据/Get Douyin brand hot search list data

[中文] ### 用途: - 获取抖音品牌热榜分类数据 ### 返回: - 品牌热搜榜分类数据 # [English] ### Purpose: - Get Douyin brand hot search category data ### Return: - Hot brand search category data # [示例/Example] pass

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        try {
            ResponseModel result = apiInstance.fetchHotBrandSearchCategoryApiV1DouyinAppV1FetchBrandHotSearchListGet_0();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchHotBrandSearchCategoryApiV1DouyinAppV1FetchBrandHotSearchListGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -

fetchHotSearchListApiV1DouyinAppV1FetchHotSearchListGet

ResponseModel fetchHotSearchListApiV1DouyinAppV1FetchHotSearchListGet()

获取抖音热搜榜数据/Get Douyin hot search list data

[中文] ### 用途: - 获取抖音热搜榜数据 ### 返回: - 热搜榜数据 # [English] ### Purpose: - Get Douyin hot search list data ### Return: - Hot search list data # [示例/Example] pass

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        try {
            ResponseModel result = apiInstance.fetchHotSearchListApiV1DouyinAppV1FetchHotSearchListGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchHotSearchListApiV1DouyinAppV1FetchHotSearchListGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -

fetchHotSearchListApiV1DouyinAppV1FetchHotSearchListGet_0

ResponseModel fetchHotSearchListApiV1DouyinAppV1FetchHotSearchListGet_0()

获取抖音热搜榜数据/Get Douyin hot search list data

[中文] ### 用途: - 获取抖音热搜榜数据 ### 返回: - 热搜榜数据 # [English] ### Purpose: - Get Douyin hot search list data ### Return: - Hot search list data # [示例/Example] pass

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        try {
            ResponseModel result = apiInstance.fetchHotSearchListApiV1DouyinAppV1FetchHotSearchListGet_0();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchHotSearchListApiV1DouyinAppV1FetchHotSearchListGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -

fetchLiveHotSearchListApiV1DouyinAppV1FetchLiveHotSearchListGet

ResponseModel fetchLiveHotSearchListApiV1DouyinAppV1FetchLiveHotSearchListGet()

获取抖音直播热搜榜数据/Get Douyin live hot search list data

[中文] ### 用途: - 获取抖音直播热搜榜数据 ### 返回: - 直播热搜榜数据 # [English] ### Purpose: - Get Douyin live hot search list data ### Return: - Live hot search list data # [示例/Example] pass

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        try {
            ResponseModel result = apiInstance.fetchLiveHotSearchListApiV1DouyinAppV1FetchLiveHotSearchListGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchLiveHotSearchListApiV1DouyinAppV1FetchLiveHotSearchListGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -

fetchLiveHotSearchListApiV1DouyinAppV1FetchLiveHotSearchListGet_0

ResponseModel fetchLiveHotSearchListApiV1DouyinAppV1FetchLiveHotSearchListGet_0()

获取抖音直播热搜榜数据/Get Douyin live hot search list data

[中文] ### 用途: - 获取抖音直播热搜榜数据 ### 返回: - 直播热搜榜数据 # [English] ### Purpose: - Get Douyin live hot search list data ### Return: - Live hot search list data # [示例/Example] pass

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        try {
            ResponseModel result = apiInstance.fetchLiveHotSearchListApiV1DouyinAppV1FetchLiveHotSearchListGet_0();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchLiveHotSearchListApiV1DouyinAppV1FetchLiveHotSearchListGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -

fetchMusicDetailApiV1DouyinAppV1FetchMusicDetailGet

ResponseModel fetchMusicDetailApiV1DouyinAppV1FetchMusicDetailGet(musicId)

获取指定音乐的详情数据/Get details of specified music

[中文] ### 用途: - 获取指定音乐的详情数据 ### 参数: - music_id: 音乐id ### 返回: - 音乐详情数据 # [English] ### Purpose: - Get details of specified music ### Parameters: - music_id: Music id ### Return: - Music details data # [示例/Example] music_id = "7136850194742315016"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String musicId = 7136850194742315016; // String | 音乐id/Music id
        try {
            ResponseModel result = apiInstance.fetchMusicDetailApiV1DouyinAppV1FetchMusicDetailGet(musicId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchMusicDetailApiV1DouyinAppV1FetchMusicDetailGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
musicId String 音乐id/Music id

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchMusicDetailApiV1DouyinAppV1FetchMusicDetailGet_0

ResponseModel fetchMusicDetailApiV1DouyinAppV1FetchMusicDetailGet_0(musicId)

获取指定音乐的详情数据/Get details of specified music

[中文] ### 用途: - 获取指定音乐的详情数据 ### 参数: - music_id: 音乐id ### 返回: - 音乐详情数据 # [English] ### Purpose: - Get details of specified music ### Parameters: - music_id: Music id ### Return: - Music details data # [示例/Example] music_id = "7136850194742315016"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String musicId = 7136850194742315016; // String | 音乐id/Music id
        try {
            ResponseModel result = apiInstance.fetchMusicDetailApiV1DouyinAppV1FetchMusicDetailGet_0(musicId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchMusicDetailApiV1DouyinAppV1FetchMusicDetailGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
musicId String 音乐id/Music id

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchMusicHotSearchListApiV1DouyinAppV1FetchMusicHotSearchListGet

ResponseModel fetchMusicHotSearchListApiV1DouyinAppV1FetchMusicHotSearchListGet()

获取抖音音乐热榜数据/Get Douyin music hot search list data

[中文] ### 用途: - 获取抖音音乐热榜数据 ### 返回: - 音乐热搜榜数据 # [English] ### Purpose: - Get Douyin music hot search list data ### Return: - Music hot search list data # [示例/Example] pass

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        try {
            ResponseModel result = apiInstance.fetchMusicHotSearchListApiV1DouyinAppV1FetchMusicHotSearchListGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchMusicHotSearchListApiV1DouyinAppV1FetchMusicHotSearchListGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -

fetchMusicHotSearchListApiV1DouyinAppV1FetchMusicHotSearchListGet_0

ResponseModel fetchMusicHotSearchListApiV1DouyinAppV1FetchMusicHotSearchListGet_0()

获取抖音音乐热榜数据/Get Douyin music hot search list data

[中文] ### 用途: - 获取抖音音乐热榜数据 ### 返回: - 音乐热搜榜数据 # [English] ### Purpose: - Get Douyin music hot search list data ### Return: - Music hot search list data # [示例/Example] pass

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        try {
            ResponseModel result = apiInstance.fetchMusicHotSearchListApiV1DouyinAppV1FetchMusicHotSearchListGet_0();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchMusicHotSearchListApiV1DouyinAppV1FetchMusicHotSearchListGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -

fetchMusicSearchResultApiV1DouyinAppV1FetchMusicSearchResultGet

ResponseModel fetchMusicSearchResultApiV1DouyinAppV1FetchMusicSearchResultGet(keyword, offset, count)

获取指定关键词的音乐搜索结果/Get music search results of specified keywords

[中文] ### 用途: - 获取指定关键词的音乐搜索结果 ### 参数: - keyword: 关键词 - offset: 偏移量 - count: 数量,请保持默认,否则会出现BUG。 ### 返回: - 音乐搜索结果 # [English] ### Purpose: - Get music search results of specified keywords ### Parameters: - keyword: Keyword - offset: Offset - count: Number Please keep the default, otherwise there will be BUG. ### Return: - Music search results # [示例/Example] keyword = "中华娘" offset = 0 count = 20

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String keyword = 中华娘; // String | 关键词/Keyword
        Integer offset = 0; // Integer | 偏移量/Offset
        Integer count = 20; // Integer | 数量/Number
        try {
            ResponseModel result = apiInstance.fetchMusicSearchResultApiV1DouyinAppV1FetchMusicSearchResultGet(keyword, offset, count);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchMusicSearchResultApiV1DouyinAppV1FetchMusicSearchResultGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
keyword String 关键词/Keyword
offset Integer 偏移量/Offset [optional] [default to 0]
count Integer 数量/Number [optional] [default to 20]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchMusicSearchResultApiV1DouyinAppV1FetchMusicSearchResultGet_0

ResponseModel fetchMusicSearchResultApiV1DouyinAppV1FetchMusicSearchResultGet_0(keyword, offset, count)

获取指定关键词的音乐搜索结果/Get music search results of specified keywords

[中文] ### 用途: - 获取指定关键词的音乐搜索结果 ### 参数: - keyword: 关键词 - offset: 偏移量 - count: 数量,请保持默认,否则会出现BUG。 ### 返回: - 音乐搜索结果 # [English] ### Purpose: - Get music search results of specified keywords ### Parameters: - keyword: Keyword - offset: Offset - count: Number Please keep the default, otherwise there will be BUG. ### Return: - Music search results # [示例/Example] keyword = "中华娘" offset = 0 count = 20

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String keyword = 中华娘; // String | 关键词/Keyword
        Integer offset = 0; // Integer | 偏移量/Offset
        Integer count = 20; // Integer | 数量/Number
        try {
            ResponseModel result = apiInstance.fetchMusicSearchResultApiV1DouyinAppV1FetchMusicSearchResultGet_0(keyword, offset, count);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchMusicSearchResultApiV1DouyinAppV1FetchMusicSearchResultGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
keyword String 关键词/Keyword
offset Integer 偏移量/Offset [optional] [default to 0]
count Integer 数量/Number [optional] [default to 20]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchMusicVideoListApiV1DouyinAppV1FetchMusicVideoListGet

ResponseModel fetchMusicVideoListApiV1DouyinAppV1FetchMusicVideoListGet(musicId, cursor, count)

获取指定音乐的视频列表数据/Get video list of specified music

[中文] ### 用途: - 获取指定音乐的视频列表数据 ### 参数: - music_id: 音乐id - cursor: 游标,第一次为0,第二次为第一次响应中的cursor值。 - count: 数量,请保持默认,否则会出现BUG。 ### 返回: - 音乐视频列表数据 # [English] ### Purpose: - Get video list of specified music ### Parameters: - music_id: Music id - cursor: Cursor, the first time is 0, the second time is the cursor value in the first response. - count: Number Please keep the default, otherwise there will be BUG. ### Return: - Music video list data # [示例/Example] music_id = "7136850194742315016" cursor = 0 count = 10

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String musicId = 7136850194742315016; // String | 音乐id/Music id
        Integer cursor = 0; // Integer | 游标/Cursor
        Integer count = 10; // Integer | 数量/Number
        try {
            ResponseModel result = apiInstance.fetchMusicVideoListApiV1DouyinAppV1FetchMusicVideoListGet(musicId, cursor, count);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchMusicVideoListApiV1DouyinAppV1FetchMusicVideoListGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
musicId String 音乐id/Music id
cursor Integer 游标/Cursor [optional] [default to 0]
count Integer 数量/Number [optional] [default to 10]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchMusicVideoListApiV1DouyinAppV1FetchMusicVideoListGet_0

ResponseModel fetchMusicVideoListApiV1DouyinAppV1FetchMusicVideoListGet_0(musicId, cursor, count)

获取指定音乐的视频列表数据/Get video list of specified music

[中文] ### 用途: - 获取指定音乐的视频列表数据 ### 参数: - music_id: 音乐id - cursor: 游标,第一次为0,第二次为第一次响应中的cursor值。 - count: 数量,请保持默认,否则会出现BUG。 ### 返回: - 音乐视频列表数据 # [English] ### Purpose: - Get video list of specified music ### Parameters: - music_id: Music id - cursor: Cursor, the first time is 0, the second time is the cursor value in the first response. - count: Number Please keep the default, otherwise there will be BUG. ### Return: - Music video list data # [示例/Example] music_id = "7136850194742315016" cursor = 0 count = 10

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String musicId = 7136850194742315016; // String | 音乐id/Music id
        Integer cursor = 0; // Integer | 游标/Cursor
        Integer count = 10; // Integer | 数量/Number
        try {
            ResponseModel result = apiInstance.fetchMusicVideoListApiV1DouyinAppV1FetchMusicVideoListGet_0(musicId, cursor, count);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchMusicVideoListApiV1DouyinAppV1FetchMusicVideoListGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
musicId String 音乐id/Music id
cursor Integer 游标/Cursor [optional] [default to 0]
count Integer 数量/Number [optional] [default to 10]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchOneVideoApiV1DouyinAppV1FetchOneVideoGet

ResponseModel fetchOneVideoApiV1DouyinAppV1FetchOneVideoGet(awemeId)

获取单个作品数据/Get single video data

[中文] ### 用途: - 获取单个作品数据,APP V1版本接口只能获取视频数据,无法获取图文数据,如果需要获取图文数据,请使用APP V2或者V3版本的接口。 ### 参数: - aweme_id: 作品id ### 返回: - 作品数据 # [English] ### Purpose: - Get single video data, the APP V1 version interface can only get video data, and cannot get graphic data. If you need to get graphic data, please use the interface of APP V2 or V3 version. ### Parameters: - aweme_id: Video id ### Return: - Video data # [示例/Example] aweme_id = "7372484719365098803"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String awemeId = 7372484719365098803; // String | 作品id/Video id
        try {
            ResponseModel result = apiInstance.fetchOneVideoApiV1DouyinAppV1FetchOneVideoGet(awemeId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchOneVideoApiV1DouyinAppV1FetchOneVideoGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
awemeId String 作品id/Video id

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchOneVideoApiV1DouyinAppV1FetchOneVideoGet_0

ResponseModel fetchOneVideoApiV1DouyinAppV1FetchOneVideoGet_0(awemeId)

获取单个作品数据/Get single video data

[中文] ### 用途: - 获取单个作品数据,APP V1版本接口只能获取视频数据,无法获取图文数据,如果需要获取图文数据,请使用APP V2或者V3版本的接口。 ### 参数: - aweme_id: 作品id ### 返回: - 作品数据 # [English] ### Purpose: - Get single video data, the APP V1 version interface can only get video data, and cannot get graphic data. If you need to get graphic data, please use the interface of APP V2 or V3 version. ### Parameters: - aweme_id: Video id ### Return: - Video data # [示例/Example] aweme_id = "7372484719365098803"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String awemeId = 7372484719365098803; // String | 作品id/Video id
        try {
            ResponseModel result = apiInstance.fetchOneVideoApiV1DouyinAppV1FetchOneVideoGet_0(awemeId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchOneVideoApiV1DouyinAppV1FetchOneVideoGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
awemeId String 作品id/Video id

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchOneVideoByShareUrlApiV1DouyinAppV1FetchOneVideoByShareUrlGet

ResponseModel fetchOneVideoByShareUrlApiV1DouyinAppV1FetchOneVideoByShareUrlGet(shareUrl)

根据分享链接获取单个作品数据/Get single video data by sharing link

[中文] ### 用途: - 根据分享链接获取单个作品数据 ### 参数: - share_url: 分享链接 ### 返回: - 作品数据 # [English] ### Purpose: - Get single video data by sharing link ### Parameters: - share_url: Share link ### Return: - Video data # [示例/Example] share_url = "https://v.douyin.com/e3x2fjE/\"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String shareUrl = https://v.douyin.com/e3x2fjE/; // String | 分享链接/Share link
        try {
            ResponseModel result = apiInstance.fetchOneVideoByShareUrlApiV1DouyinAppV1FetchOneVideoByShareUrlGet(shareUrl);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchOneVideoByShareUrlApiV1DouyinAppV1FetchOneVideoByShareUrlGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
shareUrl String 分享链接/Share link

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchOneVideoByShareUrlApiV1DouyinAppV1FetchOneVideoByShareUrlGet_0

ResponseModel fetchOneVideoByShareUrlApiV1DouyinAppV1FetchOneVideoByShareUrlGet_0(shareUrl)

根据分享链接获取单个作品数据/Get single video data by sharing link

[中文] ### 用途: - 根据分享链接获取单个作品数据 ### 参数: - share_url: 分享链接 ### 返回: - 作品数据 # [English] ### Purpose: - Get single video data by sharing link ### Parameters: - share_url: Share link ### Return: - Video data # [示例/Example] share_url = "https://v.douyin.com/e3x2fjE/\"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String shareUrl = https://v.douyin.com/e3x2fjE/; // String | 分享链接/Share link
        try {
            ResponseModel result = apiInstance.fetchOneVideoByShareUrlApiV1DouyinAppV1FetchOneVideoByShareUrlGet_0(shareUrl);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchOneVideoByShareUrlApiV1DouyinAppV1FetchOneVideoByShareUrlGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
shareUrl String 分享链接/Share link

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchUserLikeVideosApiV1DouyinAppV1FetchUserLikeVideosGet

ResponseModel fetchUserLikeVideosApiV1DouyinAppV1FetchUserLikeVideosGet(secUserId, maxCursor, counts)

获取用户喜欢作品数据/Get user like video data

[中文] ### 用途: - 获取用户喜欢作品数据 ### 参数: - sec_user_id: 用户sec_user_id - max_cursor: 最大游标,用于翻页,第一页为0,第二页为第一次响应中的max_cursor值。 - count: 最大数量 ### 返回: - 用户作品数据 # [English] ### Purpose: - Get user like video data ### Parameters: - sec_user_id: User sec_user_id - max_cursor: Maximum cursor, used for paging, the first page is 0, the second page is the max_cursor value in the first response. - count: Maximum count number ### Return: - User video data # [示例/Example] sec_user_id = "MS4wLjABAAAAW9FWcqS7RdQAWPd2AA5fL_ilmqsIFUCQ_Iym6Yh9_cUa6ZRqVLjVQSUjlHrfXY1Y" max_cursor = 0 counts = 20

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String secUserId = MS4wLjABAAAAW9FWcqS7RdQAWPd2AA5fL_ilmqsIFUCQ_Iym6Yh9_cUa6ZRqVLjVQSUjlHrfXY1Y; // String | 用户sec_user_id/User sec_user_id
        Integer maxCursor = 0; // Integer | 最大游标/Maximum cursor
        Integer counts = 20; // Integer | 每页数量/Number per page
        try {
            ResponseModel result = apiInstance.fetchUserLikeVideosApiV1DouyinAppV1FetchUserLikeVideosGet(secUserId, maxCursor, counts);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchUserLikeVideosApiV1DouyinAppV1FetchUserLikeVideosGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
secUserId String 用户sec_user_id/User sec_user_id
maxCursor Integer 最大游标/Maximum cursor [optional] [default to 0]
counts Integer 每页数量/Number per page [optional] [default to 20]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchUserLikeVideosApiV1DouyinAppV1FetchUserLikeVideosGet_0

ResponseModel fetchUserLikeVideosApiV1DouyinAppV1FetchUserLikeVideosGet_0(secUserId, maxCursor, counts)

获取用户喜欢作品数据/Get user like video data

[中文] ### 用途: - 获取用户喜欢作品数据 ### 参数: - sec_user_id: 用户sec_user_id - max_cursor: 最大游标,用于翻页,第一页为0,第二页为第一次响应中的max_cursor值。 - count: 最大数量 ### 返回: - 用户作品数据 # [English] ### Purpose: - Get user like video data ### Parameters: - sec_user_id: User sec_user_id - max_cursor: Maximum cursor, used for paging, the first page is 0, the second page is the max_cursor value in the first response. - count: Maximum count number ### Return: - User video data # [示例/Example] sec_user_id = "MS4wLjABAAAAW9FWcqS7RdQAWPd2AA5fL_ilmqsIFUCQ_Iym6Yh9_cUa6ZRqVLjVQSUjlHrfXY1Y" max_cursor = 0 counts = 20

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String secUserId = MS4wLjABAAAAW9FWcqS7RdQAWPd2AA5fL_ilmqsIFUCQ_Iym6Yh9_cUa6ZRqVLjVQSUjlHrfXY1Y; // String | 用户sec_user_id/User sec_user_id
        Integer maxCursor = 0; // Integer | 最大游标/Maximum cursor
        Integer counts = 20; // Integer | 每页数量/Number per page
        try {
            ResponseModel result = apiInstance.fetchUserLikeVideosApiV1DouyinAppV1FetchUserLikeVideosGet_0(secUserId, maxCursor, counts);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchUserLikeVideosApiV1DouyinAppV1FetchUserLikeVideosGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
secUserId String 用户sec_user_id/User sec_user_id
maxCursor Integer 最大游标/Maximum cursor [optional] [default to 0]
counts Integer 每页数量/Number per page [optional] [default to 20]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchUserPostVideosApiV1DouyinAppV1FetchUserPostVideosGet

ResponseModel fetchUserPostVideosApiV1DouyinAppV1FetchUserPostVideosGet(secUserId, maxCursor, count)

获取用户主页作品数据/Get user homepage video data

[中文] ### 用途: - 获取用户主页作品数据 ### 参数: - sec_user_id: 用户sec_user_id - max_cursor: 最大游标,用于翻页,第一页为0,第二页为第一次响应中的max_cursor值。 - count: 最大数量 ### 返回: - 用户作品数据 # [English] ### Purpose: - Get user homepage video data ### Parameters: - sec_user_id: User sec_user_id - max_cursor: Maximum cursor, used for paging, the first page is 0, the second page is the max_cursor value in the first response. - count: Maximum count number ### Return: - User video data # [示例/Example] sec_user_id = "MS4wLjABAAAANXSltcLCzDGmdNFI2Q_QixVTr67NiYzjKOIP5s03CAE" max_cursor = 0 counts = 20

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String secUserId = MS4wLjABAAAANXSltcLCzDGmdNFI2Q_QixVTr67NiYzjKOIP5s03CAE; // String | 用户sec_user_id/User sec_user_id
        Integer maxCursor = 0; // Integer | 最大游标/Maximum cursor
        Integer count = 20; // Integer | 每页数量/Number per page
        try {
            ResponseModel result = apiInstance.fetchUserPostVideosApiV1DouyinAppV1FetchUserPostVideosGet(secUserId, maxCursor, count);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchUserPostVideosApiV1DouyinAppV1FetchUserPostVideosGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
secUserId String 用户sec_user_id/User sec_user_id
maxCursor Integer 最大游标/Maximum cursor [optional] [default to 0]
count Integer 每页数量/Number per page [optional] [default to 20]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchUserPostVideosApiV1DouyinAppV1FetchUserPostVideosGet_0

ResponseModel fetchUserPostVideosApiV1DouyinAppV1FetchUserPostVideosGet_0(secUserId, maxCursor, count)

获取用户主页作品数据/Get user homepage video data

[中文] ### 用途: - 获取用户主页作品数据 ### 参数: - sec_user_id: 用户sec_user_id - max_cursor: 最大游标,用于翻页,第一页为0,第二页为第一次响应中的max_cursor值。 - count: 最大数量 ### 返回: - 用户作品数据 # [English] ### Purpose: - Get user homepage video data ### Parameters: - sec_user_id: User sec_user_id - max_cursor: Maximum cursor, used for paging, the first page is 0, the second page is the max_cursor value in the first response. - count: Maximum count number ### Return: - User video data # [示例/Example] sec_user_id = "MS4wLjABAAAANXSltcLCzDGmdNFI2Q_QixVTr67NiYzjKOIP5s03CAE" max_cursor = 0 counts = 20

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String secUserId = MS4wLjABAAAANXSltcLCzDGmdNFI2Q_QixVTr67NiYzjKOIP5s03CAE; // String | 用户sec_user_id/User sec_user_id
        Integer maxCursor = 0; // Integer | 最大游标/Maximum cursor
        Integer count = 20; // Integer | 每页数量/Number per page
        try {
            ResponseModel result = apiInstance.fetchUserPostVideosApiV1DouyinAppV1FetchUserPostVideosGet_0(secUserId, maxCursor, count);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchUserPostVideosApiV1DouyinAppV1FetchUserPostVideosGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
secUserId String 用户sec_user_id/User sec_user_id
maxCursor Integer 最大游标/Maximum cursor [optional] [default to 0]
count Integer 每页数量/Number per page [optional] [default to 20]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchUserSearchResultApiV1DouyinAppV1FetchUserSearchResultGet

ResponseModel fetchUserSearchResultApiV1DouyinAppV1FetchUserSearchResultGet(keyword, offset, count)

获取指定关键词的用户搜索结果/Get user search results of specified keywords

[中文] ### 用途: - 获取指定关键词的用户搜索结果 ### 参数: - keyword: 关键词 - offset: 偏移量 - count: 数量,请保持默认,否则会出现BUG。 ### 返回: - 用户搜索结果 # [English] ### Purpose: - Get user search results of specified keywords ### Parameters: - keyword: Keyword - offset: Offset - count: Number Please keep the default, otherwise there will be BUG. ### Return: - User search results # [示例/Example] keyword = "动漫" offset = 0 count = 20

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String keyword = 中华娘; // String | 关键词/Keyword
        Integer offset = 0; // Integer | 偏移量/Offset
        Integer count = 20; // Integer | 数量/Number
        try {
            ResponseModel result = apiInstance.fetchUserSearchResultApiV1DouyinAppV1FetchUserSearchResultGet(keyword, offset, count);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchUserSearchResultApiV1DouyinAppV1FetchUserSearchResultGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
keyword String 关键词/Keyword
offset Integer 偏移量/Offset [optional] [default to 0]
count Integer 数量/Number [optional] [default to 20]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchUserSearchResultApiV1DouyinAppV1FetchUserSearchResultGet_0

ResponseModel fetchUserSearchResultApiV1DouyinAppV1FetchUserSearchResultGet_0(keyword, offset, count)

获取指定关键词的用户搜索结果/Get user search results of specified keywords

[中文] ### 用途: - 获取指定关键词的用户搜索结果 ### 参数: - keyword: 关键词 - offset: 偏移量 - count: 数量,请保持默认,否则会出现BUG。 ### 返回: - 用户搜索结果 # [English] ### Purpose: - Get user search results of specified keywords ### Parameters: - keyword: Keyword - offset: Offset - count: Number Please keep the default, otherwise there will be BUG. ### Return: - User search results # [示例/Example] keyword = "动漫" offset = 0 count = 20

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String keyword = 中华娘; // String | 关键词/Keyword
        Integer offset = 0; // Integer | 偏移量/Offset
        Integer count = 20; // Integer | 数量/Number
        try {
            ResponseModel result = apiInstance.fetchUserSearchResultApiV1DouyinAppV1FetchUserSearchResultGet_0(keyword, offset, count);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchUserSearchResultApiV1DouyinAppV1FetchUserSearchResultGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
keyword String 关键词/Keyword
offset Integer 偏移量/Offset [optional] [default to 0]
count Integer 数量/Number [optional] [default to 20]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchVideoCommentsApiV1DouyinAppV1FetchVideoCommentsGet

ResponseModel fetchVideoCommentsApiV1DouyinAppV1FetchVideoCommentsGet(awemeId, cursor, count)

获取单个视频评论数据/Get single video comments data

[中文] ### 用途: - 获取单个视频评论数据 ### 参数: - aweme_id: 作品id - cursor: 游标,用于翻页,第一页为0,第二页为第一次响应中的cursor值。 - count: 数量,请保持默认,否则会出现BUG。 ### 返回: - 评论数据 # [English] ### Purpose: - Get single video comments data ### Parameters: - aweme_id: Video id - cursor: Cursor, used for paging, the first page is 0, the second page is the cursor value in the first response. - count: Number Please keep the default, otherwise there will be BUG. ### Return: - Comments data # [示例/Example] aweme_id = "7372484719365098803" cursor = 0 count = 20

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String awemeId = 7372484719365098803; // String | 作品id/Video id
        Integer cursor = 0; // Integer | 游标/Cursor
        Integer count = 20; // Integer | 数量/Number
        try {
            ResponseModel result = apiInstance.fetchVideoCommentsApiV1DouyinAppV1FetchVideoCommentsGet(awemeId, cursor, count);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchVideoCommentsApiV1DouyinAppV1FetchVideoCommentsGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
awemeId String 作品id/Video id
cursor Integer 游标/Cursor [optional] [default to 0]
count Integer 数量/Number [optional] [default to 20]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchVideoCommentsApiV1DouyinAppV1FetchVideoCommentsGet_0

ResponseModel fetchVideoCommentsApiV1DouyinAppV1FetchVideoCommentsGet_0(awemeId, cursor, count)

获取单个视频评论数据/Get single video comments data

[中文] ### 用途: - 获取单个视频评论数据 ### 参数: - aweme_id: 作品id - cursor: 游标,用于翻页,第一页为0,第二页为第一次响应中的cursor值。 - count: 数量,请保持默认,否则会出现BUG。 ### 返回: - 评论数据 # [English] ### Purpose: - Get single video comments data ### Parameters: - aweme_id: Video id - cursor: Cursor, used for paging, the first page is 0, the second page is the cursor value in the first response. - count: Number Please keep the default, otherwise there will be BUG. ### Return: - Comments data # [示例/Example] aweme_id = "7372484719365098803" cursor = 0 count = 20

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String awemeId = 7372484719365098803; // String | 作品id/Video id
        Integer cursor = 0; // Integer | 游标/Cursor
        Integer count = 20; // Integer | 数量/Number
        try {
            ResponseModel result = apiInstance.fetchVideoCommentsApiV1DouyinAppV1FetchVideoCommentsGet_0(awemeId, cursor, count);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchVideoCommentsApiV1DouyinAppV1FetchVideoCommentsGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
awemeId String 作品id/Video id
cursor Integer 游标/Cursor [optional] [default to 0]
count Integer 数量/Number [optional] [default to 20]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchVideoCommentsReplyApiV1DouyinAppV1FetchVideoCommentRepliesGet

ResponseModel fetchVideoCommentsReplyApiV1DouyinAppV1FetchVideoCommentRepliesGet(itemId, commentId, cursor, count)

获取指定视频的评论回复数据/Get comment replies data of specified video

[中文] ### 用途: - 获取指定视频的评论回复数据 ### 参数: - item_id: 作品id - comment_id: 评论id - cursor: 游标,用于翻页,第一页为0,第二页为第一次响应中的cursor值。 - count: 数量,请保持默认,否则会出现BUG。 ### 返回: - 评论回复数据 # [English] ### Purpose: - Get comment replies data of specified video ### Parameters: - item_id: Video id - comment_id: Comment id - cursor: Cursor, used for paging, the first page is 0, the second page is the cursor value in the first response. - count: Number Please keep the default, otherwise there will be BUG. ### Return: - Comment replies data # [示例/Example] aweme_id = "7354666303006723354" comment_id = "7354669356632638218" cursor = 0 count = 20

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String itemId = 7354666303006723354; // String | 作品id/Video id
        String commentId = 7354669356632638218; // String | 评论id/Comment id
        Integer cursor = 0; // Integer | 游标/Cursor
        Integer count = 20; // Integer | 数量/Number
        try {
            ResponseModel result = apiInstance.fetchVideoCommentsReplyApiV1DouyinAppV1FetchVideoCommentRepliesGet(itemId, commentId, cursor, count);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchVideoCommentsReplyApiV1DouyinAppV1FetchVideoCommentRepliesGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
itemId String 作品id/Video id
commentId String 评论id/Comment id
cursor Integer 游标/Cursor [optional] [default to 0]
count Integer 数量/Number [optional] [default to 20]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchVideoCommentsReplyApiV1DouyinAppV1FetchVideoCommentRepliesGet_0

ResponseModel fetchVideoCommentsReplyApiV1DouyinAppV1FetchVideoCommentRepliesGet_0(itemId, commentId, cursor, count)

获取指定视频的评论回复数据/Get comment replies data of specified video

[中文] ### 用途: - 获取指定视频的评论回复数据 ### 参数: - item_id: 作品id - comment_id: 评论id - cursor: 游标,用于翻页,第一页为0,第二页为第一次响应中的cursor值。 - count: 数量,请保持默认,否则会出现BUG。 ### 返回: - 评论回复数据 # [English] ### Purpose: - Get comment replies data of specified video ### Parameters: - item_id: Video id - comment_id: Comment id - cursor: Cursor, used for paging, the first page is 0, the second page is the cursor value in the first response. - count: Number Please keep the default, otherwise there will be BUG. ### Return: - Comment replies data # [示例/Example] aweme_id = "7354666303006723354" comment_id = "7354669356632638218" cursor = 0 count = 20

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String itemId = 7354666303006723354; // String | 作品id/Video id
        String commentId = 7354669356632638218; // String | 评论id/Comment id
        Integer cursor = 0; // Integer | 游标/Cursor
        Integer count = 20; // Integer | 数量/Number
        try {
            ResponseModel result = apiInstance.fetchVideoCommentsReplyApiV1DouyinAppV1FetchVideoCommentRepliesGet_0(itemId, commentId, cursor, count);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchVideoCommentsReplyApiV1DouyinAppV1FetchVideoCommentRepliesGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
itemId String 作品id/Video id
commentId String 评论id/Comment id
cursor Integer 游标/Cursor [optional] [default to 0]
count Integer 数量/Number [optional] [default to 20]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchVideoSearchResultApiV1DouyinAppV1FetchVideoSearchResultGet

ResponseModel fetchVideoSearchResultApiV1DouyinAppV1FetchVideoSearchResultGet(keyword, offset, count, sortType, publishTime)

获取指定关键词的视频搜索结果/Get video search results of specified keywords

[中文] ### 用途: - 获取指定关键词的视频搜索结果 ### 参数: - keyword: 关键词 - offset: 偏移量 - count: 数量,请保持默认,否则会出现BUG。 - sort_type: 0:综合排序 1:最多点赞 2:最新发布 - publish_time: 0:不限 1:最近一天 7:最近一周 183:最近半年 ### 返回: - 视频搜索结果 # [English] ### Purpose: - Get video search results of specified keywords ### Parameters: - keyword: Keyword - offset: Offset - count: Number Please keep the default, otherwise there will be BUG. - sort_type: 0: Comprehensive sorting 1: Most likes 2: Latest release - publish_time: 0: Unlimited 1: Last day 7: Last week 183: Last half year ### Return: - Video search results # [示例/Example] keyword = "中华娘" offset = 0 count = 20 sort_type = 0 publish_time = 0

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String keyword = 中华娘; // String | 关键词/Keyword
        Integer offset = 0; // Integer | 偏移量/Offset
        Integer count = 20; // Integer | 数量/Number
        Integer sortType = 56; // Integer | 排序类型/Sort type
        Integer publishTime = 56; // Integer | 发布时间/Publish time
        try {
            ResponseModel result = apiInstance.fetchVideoSearchResultApiV1DouyinAppV1FetchVideoSearchResultGet(keyword, offset, count, sortType, publishTime);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchVideoSearchResultApiV1DouyinAppV1FetchVideoSearchResultGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
keyword String 关键词/Keyword
offset Integer 偏移量/Offset [optional] [default to 0]
count Integer 数量/Number [optional] [default to 20]
sortType Integer 排序类型/Sort type [optional]
publishTime Integer 发布时间/Publish time [optional]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

fetchVideoSearchResultApiV1DouyinAppV1FetchVideoSearchResultGet_0

ResponseModel fetchVideoSearchResultApiV1DouyinAppV1FetchVideoSearchResultGet_0(keyword, offset, count, sortType, publishTime)

获取指定关键词的视频搜索结果/Get video search results of specified keywords

[中文] ### 用途: - 获取指定关键词的视频搜索结果 ### 参数: - keyword: 关键词 - offset: 偏移量 - count: 数量,请保持默认,否则会出现BUG。 - sort_type: 0:综合排序 1:最多点赞 2:最新发布 - publish_time: 0:不限 1:最近一天 7:最近一周 183:最近半年 ### 返回: - 视频搜索结果 # [English] ### Purpose: - Get video search results of specified keywords ### Parameters: - keyword: Keyword - offset: Offset - count: Number Please keep the default, otherwise there will be BUG. - sort_type: 0: Comprehensive sorting 1: Most likes 2: Latest release - publish_time: 0: Unlimited 1: Last day 7: Last week 183: Last half year ### Return: - Video search results # [示例/Example] keyword = "中华娘" offset = 0 count = 20 sort_type = 0 publish_time = 0

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String keyword = 中华娘; // String | 关键词/Keyword
        Integer offset = 0; // Integer | 偏移量/Offset
        Integer count = 20; // Integer | 数量/Number
        Integer sortType = 56; // Integer | 排序类型/Sort type
        Integer publishTime = 56; // Integer | 发布时间/Publish time
        try {
            ResponseModel result = apiInstance.fetchVideoSearchResultApiV1DouyinAppV1FetchVideoSearchResultGet_0(keyword, offset, count, sortType, publishTime);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#fetchVideoSearchResultApiV1DouyinAppV1FetchVideoSearchResultGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
keyword String 关键词/Keyword
offset Integer 偏移量/Offset [optional] [default to 0]
count Integer 数量/Number [optional] [default to 20]
sortType Integer 排序类型/Sort type [optional]
publishTime Integer 发布时间/Publish time [optional]

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

handlerUserProfileApiV1DouyinAppV1HandlerUserProfileGet

ResponseModel handlerUserProfileApiV1DouyinAppV1HandlerUserProfileGet(secUserId)

获取指定用户的信息/Get information of specified user

[中文] ### 用途: - 获取指定用户的信息 ### 参数: - sec_user_id: 用户sec_user_id ### 返回: - 用户信息 # [English] ### Purpose: - Get information of specified user ### Parameters: - sec_user_id: User sec_user_id ### Return: - User information # [示例/Example] sec_user_id = "MS4wLjABAAAAW9FWcqS7RdQAWPd2AA5fL_ilmqsIFUCQ_Iym6Yh9_cUa6ZRqVLjVQSUjlHrfXY1Y"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String secUserId = MS4wLjABAAAAW9FWcqS7RdQAWPd2AA5fL_ilmqsIFUCQ_Iym6Yh9_cUa6ZRqVLjVQSUjlHrfXY1Y; // String | 用户sec_user_id/User sec_user_id
        try {
            ResponseModel result = apiInstance.handlerUserProfileApiV1DouyinAppV1HandlerUserProfileGet(secUserId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#handlerUserProfileApiV1DouyinAppV1HandlerUserProfileGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
secUserId String 用户sec_user_id/User sec_user_id

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -

handlerUserProfileApiV1DouyinAppV1HandlerUserProfileGet_0

ResponseModel handlerUserProfileApiV1DouyinAppV1HandlerUserProfileGet_0(secUserId)

获取指定用户的信息/Get information of specified user

[中文] ### 用途: - 获取指定用户的信息 ### 参数: - sec_user_id: 用户sec_user_id ### 返回: - 用户信息 # [English] ### Purpose: - Get information of specified user ### Parameters: - sec_user_id: User sec_user_id ### Return: - User information # [示例/Example] sec_user_id = "MS4wLjABAAAAW9FWcqS7RdQAWPd2AA5fL_ilmqsIFUCQ_Iym6Yh9_cUa6ZRqVLjVQSUjlHrfXY1Y"

Example

// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.DouyinAppV1ApiApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("http://localhost");
        
        // Configure HTTP bearer authorization: bearer
        HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
        bearer.setBearerToken("BEARER TOKEN");

        DouyinAppV1ApiApi apiInstance = new DouyinAppV1ApiApi(defaultClient);
        String secUserId = MS4wLjABAAAAW9FWcqS7RdQAWPd2AA5fL_ilmqsIFUCQ_Iym6Yh9_cUa6ZRqVLjVQSUjlHrfXY1Y; // String | 用户sec_user_id/User sec_user_id
        try {
            ResponseModel result = apiInstance.handlerUserProfileApiV1DouyinAppV1HandlerUserProfileGet_0(secUserId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DouyinAppV1ApiApi#handlerUserProfileApiV1DouyinAppV1HandlerUserProfileGet_0");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
secUserId String 用户sec_user_id/User sec_user_id

Return type

ResponseModel

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -
422 Validation Error -