Skip to content

Latest commit

 

History

History
2472 lines (1792 loc) · 110 KB

KuaishouAppApiApi.md

File metadata and controls

2472 lines (1792 loc) · 110 KB

KuaishouAppApiApi

All URIs are relative to http://localhost

Method HTTP request Description
fetchBrandTopListApiV1KuaishouAppFetchBrandTopListGet GET /api/v1/kuaishou/app/fetch_brand_top_list 快手品牌榜单/Kuaishou brand top list
fetchBrandTopListApiV1KuaishouAppFetchBrandTopListGet_0 GET /api/v1/kuaishou/app/fetch_brand_top_list 快手品牌榜单/Kuaishou brand top list
fetchHotBoardCategoriesApiV1KuaishouAppFetchHotBoardCategoriesGet GET /api/v1/kuaishou/app/fetch_hot_board_categories 快手热榜分类/Kuaishou hot categories
fetchHotBoardCategoriesApiV1KuaishouAppFetchHotBoardCategoriesGet_0 GET /api/v1/kuaishou/app/fetch_hot_board_categories 快手热榜分类/Kuaishou hot categories
fetchHotBoardDetailApiV1KuaishouAppFetchHotBoardDetailGet GET /api/v1/kuaishou/app/fetch_hot_board_detail 快手热榜详情/Kuaishou hot board detail
fetchHotBoardDetailApiV1KuaishouAppFetchHotBoardDetailGet_0 GET /api/v1/kuaishou/app/fetch_hot_board_detail 快手热榜详情/Kuaishou hot board detail
fetchHotSearchPersonApiV1KuaishouAppFetchHotSearchPersonGet GET /api/v1/kuaishou/app/fetch_hot_search_person 快手热搜人物榜单/Kuaishou hot search person board
fetchHotSearchPersonApiV1KuaishouAppFetchHotSearchPersonGet_0 GET /api/v1/kuaishou/app/fetch_hot_search_person 快手热搜人物榜单/Kuaishou hot search person board
fetchLiveTopListApiV1KuaishouAppFetchLiveTopListGet GET /api/v1/kuaishou/app/fetch_live_top_list 快手直播榜单/Kuaishou live top list
fetchLiveTopListApiV1KuaishouAppFetchLiveTopListGet_0 GET /api/v1/kuaishou/app/fetch_live_top_list 快手直播榜单/Kuaishou live top list
fetchOneUserV2ApiV1KuaishouAppFetchOneUserV2Get GET /api/v1/kuaishou/app/fetch_one_user_v2 获取单个用户数据V2/Get single user data V2
fetchOneUserV2ApiV1KuaishouAppFetchOneUserV2Get_0 GET /api/v1/kuaishou/app/fetch_one_user_v2 获取单个用户数据V2/Get single user data V2
fetchOneVideoByShareTextApiV1KuaishouAppFetchOneVideoByUrlGet GET /api/v1/kuaishou/app/fetch_one_video_by_url 根据链接获取单个作品数据/Fetch single video by URL
fetchOneVideoByShareTextApiV1KuaishouAppFetchOneVideoByUrlGet_0 GET /api/v1/kuaishou/app/fetch_one_video_by_url 根据链接获取单个作品数据/Fetch single video by URL
fetchOneVideoV1ApiV1KuaishouAppFetchOneVideoGet GET /api/v1/kuaishou/app/fetch_one_video 快手单一视频查询接口V1/Kuaishou single video query API V1
fetchOneVideoV1ApiV1KuaishouAppFetchOneVideoGet_0 GET /api/v1/kuaishou/app/fetch_one_video 快手单一视频查询接口V1/Kuaishou single video query API V1
fetchOneVideoV2ApiV1KuaishouAppFetchOneVideoV2Get GET /api/v1/kuaishou/app/fetch_one_video_v2 快手单一视频查询接口V2/Kuaishou single video query API V2
fetchOneVideoV2ApiV1KuaishouAppFetchOneVideoV2Get_0 GET /api/v1/kuaishou/app/fetch_one_video_v2 快手单一视频查询接口V2/Kuaishou single video query API V2
fetchShoppingTopListApiV1KuaishouAppFetchShoppingTopListGet GET /api/v1/kuaishou/app/fetch_shopping_top_list 快手购物榜单/Kuaishou shopping top list
fetchShoppingTopListApiV1KuaishouAppFetchShoppingTopListGet_0 GET /api/v1/kuaishou/app/fetch_shopping_top_list 快手购物榜单/Kuaishou shopping top list
fetchUserHotPostApiV1KuaishouAppFetchUserHotPostGet GET /api/v1/kuaishou/app/fetch_user_hot_post 获取用户热门作品数据/Get user hot post data
fetchUserHotPostApiV1KuaishouAppFetchUserHotPostGet_0 GET /api/v1/kuaishou/app/fetch_user_hot_post 获取用户热门作品数据/Get user hot post data
fetchUserLiveInfoApiV1KuaishouAppFetchUserLiveInfoGet GET /api/v1/kuaishou/app/fetch_user_live_info 获取用户直播信息/Get user live info
fetchUserLiveInfoApiV1KuaishouAppFetchUserLiveInfoGet_0 GET /api/v1/kuaishou/app/fetch_user_live_info 获取用户直播信息/Get user live info
fetchUserPostV2ApiV1KuaishouAppFetchUserPostV2Get GET /api/v1/kuaishou/app/fetch_user_post_v2 用户视频列表V2/User video list V2
fetchUserPostV2ApiV1KuaishouAppFetchUserPostV2Get_0 GET /api/v1/kuaishou/app/fetch_user_post_v2 用户视频列表V2/User video list V2
fetchVideoCommentApiV1KuaishouAppFetchOneVideoCommentGet GET /api/v1/kuaishou/app/fetch_one_video_comment 获取单个作品评论数据/Get single video comment data
fetchVideoCommentApiV1KuaishouAppFetchOneVideoCommentGet_0 GET /api/v1/kuaishou/app/fetch_one_video_comment 获取单个作品评论数据/Get single video comment data
generateKuaishouShareLinkApiV1KuaishouAppGenerateKuaishouShareLinkGet GET /api/v1/kuaishou/app/generate_kuaishou_share_link 生成快手分享链接/Generate Kuaishou share link
generateKuaishouShareLinkApiV1KuaishouAppGenerateKuaishouShareLinkGet_0 GET /api/v1/kuaishou/app/generate_kuaishou_share_link 生成快手分享链接/Generate Kuaishou share link
searchUserV2ApiV1KuaishouAppSearchUserV2Get GET /api/v1/kuaishou/app/search_user_v2 搜索用户V2/Search user V2
searchUserV2ApiV1KuaishouAppSearchUserV2Get_0 GET /api/v1/kuaishou/app/search_user_v2 搜索用户V2/Search user V2
searchVideoV2ApiV1KuaishouAppSearchVideoV2Get GET /api/v1/kuaishou/app/search_video_v2 搜索视频V2/Search video V2
searchVideoV2ApiV1KuaishouAppSearchVideoV2Get_0 GET /api/v1/kuaishou/app/search_video_v2 搜索视频V2/Search video V2

fetchBrandTopListApiV1KuaishouAppFetchBrandTopListGet

ResponseModel fetchBrandTopListApiV1KuaishouAppFetchBrandTopListGet(subTabId, subTabName)

快手品牌榜单/Kuaishou brand top list

[中文] ### 用途: - 快手品牌榜单 ### 参数: 获取快手品牌榜单,支持多个子榜单,具体参数如下: - 品牌榜单热门美妆榜对应参数: - subTabId = 0 - subTabName = None - 品牌榜单热门服饰榜对应参数: - subTabId = 131 - subTabName = "服饰" - 品牌榜单热门汽车榜对应参数: - subTabId = 1 - subTabName = "汽车" - 品牌榜单热门游戏榜对应参数: - subTabId = 25 - subTabName = "游戏" - 品牌榜单热门医疗健康榜对应参数: - subTabId = 24 - subTabName = "医疗健康" - 品牌榜单热门3C数码榜对应参数: - subTabId = 130 - subTabName = "3C数码" - 品牌榜单热门手机榜对应参数: - subTabId = 128 - subTabName = "手机" - 品牌榜单热门家电榜对应参数: - subTabId = 11 - subTabName = "家电" - 品牌榜单热门母婴榜对应参数: - subTabId = 4 - subTabName = "母婴" - 品牌榜单热门食品饮料榜对应参数: - subTabId = 2 - subTabName = "食品饮料" ### 返回: - 榜单数据 # [English] ### Purpose: - Kuaishou brand top list ### Parameters: Get the Kuaishou brand top list, support multiple sub-top lists, specific parameters are as follows: - Corresponding parameters for the brand hot beauty list: - subTabId = 0 - subTabName = None - Corresponding parameters for the brand hot clothing list: - subTabId = 131 - subTabName = "Clothing" - Corresponding parameters for the brand hot car list: - subTabId = 1 - subTabName = "Car" - Corresponding parameters for the brand hot game list: - subTabId = 25 - subTabName = "Game" - Corresponding parameters for the brand hot medical health list: - subTabId = 24 - subTabName = "Medical Health" - Corresponding parameters for the brand hot 3C digital list: - subTabId = 130 - subTabName = "3C Digital" - Corresponding parameters for the brand hot mobile phone list: - subTabId = 128 - subTabName = "Mobile Phone" - Corresponding parameters for the brand hot home appliance list: - subTabId = 11 - subTabName = "Home Appliance" - Corresponding parameters for the brand hot maternal and child list: - subTabId = 4 - subTabName = "Maternal and Child" - Corresponding parameters for the brand hot food and beverage list: - subTabId = 2 - subTabName = "Food and Beverage" ### Returns: - List data # [示例/Example] subTabId = 0 subTabName = None

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        Integer subTabId = 0; // Integer | 
        String subTabName = "\"\""; // String | 
        try {
            ResponseModel result = apiInstance.fetchBrandTopListApiV1KuaishouAppFetchBrandTopListGet(subTabId, subTabName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchBrandTopListApiV1KuaishouAppFetchBrandTopListGet");
            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
subTabId Integer [optional] [default to 0]
subTabName String [optional] [default to ""]

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 -

fetchBrandTopListApiV1KuaishouAppFetchBrandTopListGet_0

ResponseModel fetchBrandTopListApiV1KuaishouAppFetchBrandTopListGet_0(subTabId, subTabName)

快手品牌榜单/Kuaishou brand top list

[中文] ### 用途: - 快手品牌榜单 ### 参数: 获取快手品牌榜单,支持多个子榜单,具体参数如下: - 品牌榜单热门美妆榜对应参数: - subTabId = 0 - subTabName = None - 品牌榜单热门服饰榜对应参数: - subTabId = 131 - subTabName = "服饰" - 品牌榜单热门汽车榜对应参数: - subTabId = 1 - subTabName = "汽车" - 品牌榜单热门游戏榜对应参数: - subTabId = 25 - subTabName = "游戏" - 品牌榜单热门医疗健康榜对应参数: - subTabId = 24 - subTabName = "医疗健康" - 品牌榜单热门3C数码榜对应参数: - subTabId = 130 - subTabName = "3C数码" - 品牌榜单热门手机榜对应参数: - subTabId = 128 - subTabName = "手机" - 品牌榜单热门家电榜对应参数: - subTabId = 11 - subTabName = "家电" - 品牌榜单热门母婴榜对应参数: - subTabId = 4 - subTabName = "母婴" - 品牌榜单热门食品饮料榜对应参数: - subTabId = 2 - subTabName = "食品饮料" ### 返回: - 榜单数据 # [English] ### Purpose: - Kuaishou brand top list ### Parameters: Get the Kuaishou brand top list, support multiple sub-top lists, specific parameters are as follows: - Corresponding parameters for the brand hot beauty list: - subTabId = 0 - subTabName = None - Corresponding parameters for the brand hot clothing list: - subTabId = 131 - subTabName = "Clothing" - Corresponding parameters for the brand hot car list: - subTabId = 1 - subTabName = "Car" - Corresponding parameters for the brand hot game list: - subTabId = 25 - subTabName = "Game" - Corresponding parameters for the brand hot medical health list: - subTabId = 24 - subTabName = "Medical Health" - Corresponding parameters for the brand hot 3C digital list: - subTabId = 130 - subTabName = "3C Digital" - Corresponding parameters for the brand hot mobile phone list: - subTabId = 128 - subTabName = "Mobile Phone" - Corresponding parameters for the brand hot home appliance list: - subTabId = 11 - subTabName = "Home Appliance" - Corresponding parameters for the brand hot maternal and child list: - subTabId = 4 - subTabName = "Maternal and Child" - Corresponding parameters for the brand hot food and beverage list: - subTabId = 2 - subTabName = "Food and Beverage" ### Returns: - List data # [示例/Example] subTabId = 0 subTabName = None

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        Integer subTabId = 0; // Integer | 
        String subTabName = "\"\""; // String | 
        try {
            ResponseModel result = apiInstance.fetchBrandTopListApiV1KuaishouAppFetchBrandTopListGet_0(subTabId, subTabName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchBrandTopListApiV1KuaishouAppFetchBrandTopListGet_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
subTabId Integer [optional] [default to 0]
subTabName String [optional] [default to ""]

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 -

fetchHotBoardCategoriesApiV1KuaishouAppFetchHotBoardCategoriesGet

ResponseModel fetchHotBoardCategoriesApiV1KuaishouAppFetchHotBoardCategoriesGet()

快手热榜分类/Kuaishou hot categories

[中文] ### 用途: - 快手热榜分类 ### 返回: - 分类数据 # [English] ### Purpose: - Kuaishou hot categories ### Returns: - Categories data

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        try {
            ResponseModel result = apiInstance.fetchHotBoardCategoriesApiV1KuaishouAppFetchHotBoardCategoriesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchHotBoardCategoriesApiV1KuaishouAppFetchHotBoardCategoriesGet");
            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 -

fetchHotBoardCategoriesApiV1KuaishouAppFetchHotBoardCategoriesGet_0

ResponseModel fetchHotBoardCategoriesApiV1KuaishouAppFetchHotBoardCategoriesGet_0()

快手热榜分类/Kuaishou hot categories

[中文] ### 用途: - 快手热榜分类 ### 返回: - 分类数据 # [English] ### Purpose: - Kuaishou hot categories ### Returns: - Categories data

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        try {
            ResponseModel result = apiInstance.fetchHotBoardCategoriesApiV1KuaishouAppFetchHotBoardCategoriesGet_0();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchHotBoardCategoriesApiV1KuaishouAppFetchHotBoardCategoriesGet_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 -

fetchHotBoardDetailApiV1KuaishouAppFetchHotBoardDetailGet

ResponseModel fetchHotBoardDetailApiV1KuaishouAppFetchHotBoardDetailGet(boardType, boardId)

快手热榜详情/Kuaishou hot board detail

[中文] ### 用途: - 快手热榜详情 ### 参数: - boardType: 榜单类型 - boardId: 榜单ID - boardType 和 boardId 可以从热榜分类接口中获取。 ### 返回: - 详情数据 # [English] ### Purpose: - Kuaishou hot board detail ### Parameters: - boardType: Board type - boardId: Board ID - boardType and boardId can be obtained from the hot board categories interface. ### Returns: - Detail data # [示例/Example] boardType = 1 boardId = 1

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        Integer boardType = 1; // Integer | 
        Integer boardId = 56; // Integer | 
        try {
            ResponseModel result = apiInstance.fetchHotBoardDetailApiV1KuaishouAppFetchHotBoardDetailGet(boardType, boardId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchHotBoardDetailApiV1KuaishouAppFetchHotBoardDetailGet");
            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
boardType Integer [optional] [default to 1]
boardId Integer [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 -

fetchHotBoardDetailApiV1KuaishouAppFetchHotBoardDetailGet_0

ResponseModel fetchHotBoardDetailApiV1KuaishouAppFetchHotBoardDetailGet_0(boardType, boardId)

快手热榜详情/Kuaishou hot board detail

[中文] ### 用途: - 快手热榜详情 ### 参数: - boardType: 榜单类型 - boardId: 榜单ID - boardType 和 boardId 可以从热榜分类接口中获取。 ### 返回: - 详情数据 # [English] ### Purpose: - Kuaishou hot board detail ### Parameters: - boardType: Board type - boardId: Board ID - boardType and boardId can be obtained from the hot board categories interface. ### Returns: - Detail data # [示例/Example] boardType = 1 boardId = 1

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        Integer boardType = 1; // Integer | 
        Integer boardId = 56; // Integer | 
        try {
            ResponseModel result = apiInstance.fetchHotBoardDetailApiV1KuaishouAppFetchHotBoardDetailGet_0(boardType, boardId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchHotBoardDetailApiV1KuaishouAppFetchHotBoardDetailGet_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
boardType Integer [optional] [default to 1]
boardId Integer [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 -

fetchHotSearchPersonApiV1KuaishouAppFetchHotSearchPersonGet

ResponseModel fetchHotSearchPersonApiV1KuaishouAppFetchHotSearchPersonGet()

快手热搜人物榜单/Kuaishou hot search person board

[中文] ### 用途: - 快手热搜人物榜单 ### 返回: - 榜单数据 # [English] ### Purpose: - Kuaishou hot search person board ### Returns: - Board data

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        try {
            ResponseModel result = apiInstance.fetchHotSearchPersonApiV1KuaishouAppFetchHotSearchPersonGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchHotSearchPersonApiV1KuaishouAppFetchHotSearchPersonGet");
            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 -

fetchHotSearchPersonApiV1KuaishouAppFetchHotSearchPersonGet_0

ResponseModel fetchHotSearchPersonApiV1KuaishouAppFetchHotSearchPersonGet_0()

快手热搜人物榜单/Kuaishou hot search person board

[中文] ### 用途: - 快手热搜人物榜单 ### 返回: - 榜单数据 # [English] ### Purpose: - Kuaishou hot search person board ### Returns: - Board data

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        try {
            ResponseModel result = apiInstance.fetchHotSearchPersonApiV1KuaishouAppFetchHotSearchPersonGet_0();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchHotSearchPersonApiV1KuaishouAppFetchHotSearchPersonGet_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 -

fetchLiveTopListApiV1KuaishouAppFetchLiveTopListGet

ResponseModel fetchLiveTopListApiV1KuaishouAppFetchLiveTopListGet(subTabId, subTabName)

快手直播榜单/Kuaishou live top list

[中文] ### 用途: - 快手直播榜单 ### 参数: 获取快手直播榜单,支持多个子榜单,具体参数如下: - 直播总榜对应参数: - subTabId = 0 - subTabName = None - 直播音乐榜对应参数: - subTabId = 102 - subTabName = "音乐" - 直播舞蹈榜对应参数: - subTabId = 107 - subTabName = "舞蹈" - 直播颜值榜对应参数: - subTabId = 101 - subTabName = "颜值" - 直播国艺榜对应参数: - subTabId = 105 - subTabName = "国艺" - 直播相亲榜对应参数: - subTabId = 111 - subTabName = "相亲" - 直播游戏榜对应参数: - subTabId = 106 - subTabName = "游戏" - 直播二次元榜对应参数: - subTabId = 110 - subTabName = "二次元" - 直播故事榜对应参数: - subTabId = 104 - subTabName = "故事" - 直播团播榜对应参数: - subTabId = 113 - subTabName = "团播" - 直播九宫格榜对应参数: - subTabId = 114 - subTabName = "九宫格" ### 返回: - 榜单数据 # [English] ### Purpose: - Kuaishou live top list ### Parameters: Get the Kuaishou live top list, support multiple sub-top lists, specific parameters are as follows: - Corresponding parameters for the live total list: - subTabId = 0 - subTabName = None - Corresponding parameters for the live music list: - subTabId = 102 - subTabName = "Music" - Corresponding parameters for the live dance list: - subTabId = 107 - subTabName = "Dance" - Corresponding parameters for the live beauty list: - subTabId = 101 - subTabName = "Beauty" - Corresponding parameters for the live national art list: - subTabId = 105 - subTabName = "National Art" - Corresponding parameters for the live blind date list: - subTabId = 111 - subTabName = "Blind Date" - Corresponding parameters for the live game list: - subTabId = 106 - subTabName = "Game" - Corresponding parameters for the live second element list: - subTabId = 110 - subTabName = "Second Element" - Corresponding parameters for the live story list: - subTabId = 104 - subTabName = "Story" - Corresponding parameters for the live group broadcast list: - subTabId = 113 - subTabName = "Group Broadcast" - Corresponding parameters for the live nine-grid list: - subTabId = 114 - subTabName = "Nine Grid" ### Returns: - List data # [示例/Example] subTabId = 0 subTabName = None

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        Integer subTabId = 0; // Integer | 
        String subTabName = "\"\""; // String | 
        try {
            ResponseModel result = apiInstance.fetchLiveTopListApiV1KuaishouAppFetchLiveTopListGet(subTabId, subTabName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchLiveTopListApiV1KuaishouAppFetchLiveTopListGet");
            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
subTabId Integer [optional] [default to 0]
subTabName String [optional] [default to ""]

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 -

fetchLiveTopListApiV1KuaishouAppFetchLiveTopListGet_0

ResponseModel fetchLiveTopListApiV1KuaishouAppFetchLiveTopListGet_0(subTabId, subTabName)

快手直播榜单/Kuaishou live top list

[中文] ### 用途: - 快手直播榜单 ### 参数: 获取快手直播榜单,支持多个子榜单,具体参数如下: - 直播总榜对应参数: - subTabId = 0 - subTabName = None - 直播音乐榜对应参数: - subTabId = 102 - subTabName = "音乐" - 直播舞蹈榜对应参数: - subTabId = 107 - subTabName = "舞蹈" - 直播颜值榜对应参数: - subTabId = 101 - subTabName = "颜值" - 直播国艺榜对应参数: - subTabId = 105 - subTabName = "国艺" - 直播相亲榜对应参数: - subTabId = 111 - subTabName = "相亲" - 直播游戏榜对应参数: - subTabId = 106 - subTabName = "游戏" - 直播二次元榜对应参数: - subTabId = 110 - subTabName = "二次元" - 直播故事榜对应参数: - subTabId = 104 - subTabName = "故事" - 直播团播榜对应参数: - subTabId = 113 - subTabName = "团播" - 直播九宫格榜对应参数: - subTabId = 114 - subTabName = "九宫格" ### 返回: - 榜单数据 # [English] ### Purpose: - Kuaishou live top list ### Parameters: Get the Kuaishou live top list, support multiple sub-top lists, specific parameters are as follows: - Corresponding parameters for the live total list: - subTabId = 0 - subTabName = None - Corresponding parameters for the live music list: - subTabId = 102 - subTabName = "Music" - Corresponding parameters for the live dance list: - subTabId = 107 - subTabName = "Dance" - Corresponding parameters for the live beauty list: - subTabId = 101 - subTabName = "Beauty" - Corresponding parameters for the live national art list: - subTabId = 105 - subTabName = "National Art" - Corresponding parameters for the live blind date list: - subTabId = 111 - subTabName = "Blind Date" - Corresponding parameters for the live game list: - subTabId = 106 - subTabName = "Game" - Corresponding parameters for the live second element list: - subTabId = 110 - subTabName = "Second Element" - Corresponding parameters for the live story list: - subTabId = 104 - subTabName = "Story" - Corresponding parameters for the live group broadcast list: - subTabId = 113 - subTabName = "Group Broadcast" - Corresponding parameters for the live nine-grid list: - subTabId = 114 - subTabName = "Nine Grid" ### Returns: - List data # [示例/Example] subTabId = 0 subTabName = None

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        Integer subTabId = 0; // Integer | 
        String subTabName = "\"\""; // String | 
        try {
            ResponseModel result = apiInstance.fetchLiveTopListApiV1KuaishouAppFetchLiveTopListGet_0(subTabId, subTabName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchLiveTopListApiV1KuaishouAppFetchLiveTopListGet_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
subTabId Integer [optional] [default to 0]
subTabName String [optional] [default to ""]

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 -

fetchOneUserV2ApiV1KuaishouAppFetchOneUserV2Get

ResponseModel fetchOneUserV2ApiV1KuaishouAppFetchOneUserV2Get(userId)

获取单个用户数据V2/Get single user data V2

[中文] ### 用途: - 获取单个用户数据 V2 - 此接口收费较贵,但稳定性更高,具体价格请在用户后台查看价格表。 ### 参数: - user_id: 支持`eid`或`userId`,eid是用户主页链接中的一部分,user_id则可以从不同的接口中获取。 - 两种用户ID都可以使用,下面是两种用户ID的示例,这两个ID都指向同一个用户: - eid = "3xz63mn6fngqtiq" - userId = "228905802" ### 返回: - 用户数据 # [English] ### Purpose: - Fetch single user data V2 - This API is more expensive, but more stable, please check the price list in the user background for specific prices. ### Parameters: - user_id: Supports `eid` or `userId`, `eid` is part of the user profile link, and `user_id` can be obtained from different interfaces. - Both user IDs can be used, here are examples of the two user IDs, both of which point to the same user: - eid = "3xz63mn6fngqtiq" - userId = "228905802" ### Returns: - User data # [示例/Example] user_id = "3xz63mn6fngqtiq"

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        String userId = 3xz63mn6fngqtiq; // String | 
        try {
            ResponseModel result = apiInstance.fetchOneUserV2ApiV1KuaishouAppFetchOneUserV2Get(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchOneUserV2ApiV1KuaishouAppFetchOneUserV2Get");
            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
userId String

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 -

fetchOneUserV2ApiV1KuaishouAppFetchOneUserV2Get_0

ResponseModel fetchOneUserV2ApiV1KuaishouAppFetchOneUserV2Get_0(userId)

获取单个用户数据V2/Get single user data V2

[中文] ### 用途: - 获取单个用户数据 V2 - 此接口收费较贵,但稳定性更高,具体价格请在用户后台查看价格表。 ### 参数: - user_id: 支持`eid`或`userId`,eid是用户主页链接中的一部分,user_id则可以从不同的接口中获取。 - 两种用户ID都可以使用,下面是两种用户ID的示例,这两个ID都指向同一个用户: - eid = "3xz63mn6fngqtiq" - userId = "228905802" ### 返回: - 用户数据 # [English] ### Purpose: - Fetch single user data V2 - This API is more expensive, but more stable, please check the price list in the user background for specific prices. ### Parameters: - user_id: Supports `eid` or `userId`, `eid` is part of the user profile link, and `user_id` can be obtained from different interfaces. - Both user IDs can be used, here are examples of the two user IDs, both of which point to the same user: - eid = "3xz63mn6fngqtiq" - userId = "228905802" ### Returns: - User data # [示例/Example] user_id = "3xz63mn6fngqtiq"

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        String userId = 3xz63mn6fngqtiq; // String | 
        try {
            ResponseModel result = apiInstance.fetchOneUserV2ApiV1KuaishouAppFetchOneUserV2Get_0(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchOneUserV2ApiV1KuaishouAppFetchOneUserV2Get_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
userId String

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 -

fetchOneVideoByShareTextApiV1KuaishouAppFetchOneVideoByUrlGet

ResponseModel fetchOneVideoByShareTextApiV1KuaishouAppFetchOneVideoByUrlGet(shareText)

根据链接获取单个作品数据/Fetch single video by URL

[中文] ### 用途: - 根据链接获取单个作品数据,此接口默认使用价格更便宜的V1接口进行请求。 ### 参数: - share_text: 作品链接或分享文本 ### 返回: - 视频数据 # [English] ### Purpose: - Fetch single video by URL, this API defaults to using the cheaper V1 API for requests. ### Parameters: - share_text: Photo URL or share text ### Returns: - Video data # [示例/Example] share_text = "https://v.kuaishou.com/cNYP0Z\"

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        String shareText = https://v.kuaishou.com/cNYP0Z; // String | 
        try {
            ResponseModel result = apiInstance.fetchOneVideoByShareTextApiV1KuaishouAppFetchOneVideoByUrlGet(shareText);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchOneVideoByShareTextApiV1KuaishouAppFetchOneVideoByUrlGet");
            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
shareText String

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 -

fetchOneVideoByShareTextApiV1KuaishouAppFetchOneVideoByUrlGet_0

ResponseModel fetchOneVideoByShareTextApiV1KuaishouAppFetchOneVideoByUrlGet_0(shareText)

根据链接获取单个作品数据/Fetch single video by URL

[中文] ### 用途: - 根据链接获取单个作品数据,此接口默认使用价格更便宜的V1接口进行请求。 ### 参数: - share_text: 作品链接或分享文本 ### 返回: - 视频数据 # [English] ### Purpose: - Fetch single video by URL, this API defaults to using the cheaper V1 API for requests. ### Parameters: - share_text: Photo URL or share text ### Returns: - Video data # [示例/Example] share_text = "https://v.kuaishou.com/cNYP0Z\"

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        String shareText = https://v.kuaishou.com/cNYP0Z; // String | 
        try {
            ResponseModel result = apiInstance.fetchOneVideoByShareTextApiV1KuaishouAppFetchOneVideoByUrlGet_0(shareText);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchOneVideoByShareTextApiV1KuaishouAppFetchOneVideoByUrlGet_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
shareText String

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 -

fetchOneVideoV1ApiV1KuaishouAppFetchOneVideoGet

ResponseModel fetchOneVideoV1ApiV1KuaishouAppFetchOneVideoGet(photoId)

快手单一视频查询接口V1/Kuaishou single video query API V1

[中文] ### 用途: - 获取单个作品数据,如果此接口连续请求失败,可以尝试使用价格更昂贵的V2接口进行冗余请求。 ### 参数: - photo_id: 作品ID,作品ID可以从分享链接中提取 ### 返回: - 视频数据 # [English] ### Purpose: - Fetch single video data, if this API continuously fails, you can try to use the more expensive V2 API for redundant requests. ### Parameters: - photo_id: Photo ID, the photo ID can be extracted from the share link ### Returns: - Video data # [示例/Example] photo_id = "3xhpk3xcf6e4iac"

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        String photoId = 3xhpk3xcf6e4iac; // String | 
        try {
            ResponseModel result = apiInstance.fetchOneVideoV1ApiV1KuaishouAppFetchOneVideoGet(photoId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchOneVideoV1ApiV1KuaishouAppFetchOneVideoGet");
            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
photoId String

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 -

fetchOneVideoV1ApiV1KuaishouAppFetchOneVideoGet_0

ResponseModel fetchOneVideoV1ApiV1KuaishouAppFetchOneVideoGet_0(photoId)

快手单一视频查询接口V1/Kuaishou single video query API V1

[中文] ### 用途: - 获取单个作品数据,如果此接口连续请求失败,可以尝试使用价格更昂贵的V2接口进行冗余请求。 ### 参数: - photo_id: 作品ID,作品ID可以从分享链接中提取 ### 返回: - 视频数据 # [English] ### Purpose: - Fetch single video data, if this API continuously fails, you can try to use the more expensive V2 API for redundant requests. ### Parameters: - photo_id: Photo ID, the photo ID can be extracted from the share link ### Returns: - Video data # [示例/Example] photo_id = "3xhpk3xcf6e4iac"

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        String photoId = 3xhpk3xcf6e4iac; // String | 
        try {
            ResponseModel result = apiInstance.fetchOneVideoV1ApiV1KuaishouAppFetchOneVideoGet_0(photoId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchOneVideoV1ApiV1KuaishouAppFetchOneVideoGet_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
photoId String

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 -

fetchOneVideoV2ApiV1KuaishouAppFetchOneVideoV2Get

ResponseModel fetchOneVideoV2ApiV1KuaishouAppFetchOneVideoV2Get(photoId)

快手单一视频查询接口V2/Kuaishou single video query API V2

[中文] ### 用途: - 获取单个作品数据接口 V2,此接口仅作为备选接口,收费较贵,但稳定性更高。 - 此接口请求价格为 0.01 美元/次,请求不成功不收费。 ### 参数: - photo_id: 作品ID ### 返回: - 视频数据 # [English] ### Purpose: - Single video query API V2, this API is only used as an alternative API, it is more expensive, but more stable. - The request price of this API is 0.01 USD/time, and the request is not successful without charge. ### Parameters: - photo_id: Photo ID ### Returns: - Video data # [示例/Example] photo_id = "3xtdqvdnqd3psuc"

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        String photoId = 3xtdqvdnqd3psuc; // String | 
        try {
            ResponseModel result = apiInstance.fetchOneVideoV2ApiV1KuaishouAppFetchOneVideoV2Get(photoId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchOneVideoV2ApiV1KuaishouAppFetchOneVideoV2Get");
            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
photoId String

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 -

fetchOneVideoV2ApiV1KuaishouAppFetchOneVideoV2Get_0

ResponseModel fetchOneVideoV2ApiV1KuaishouAppFetchOneVideoV2Get_0(photoId)

快手单一视频查询接口V2/Kuaishou single video query API V2

[中文] ### 用途: - 获取单个作品数据接口 V2,此接口仅作为备选接口,收费较贵,但稳定性更高。 - 此接口请求价格为 0.01 美元/次,请求不成功不收费。 ### 参数: - photo_id: 作品ID ### 返回: - 视频数据 # [English] ### Purpose: - Single video query API V2, this API is only used as an alternative API, it is more expensive, but more stable. - The request price of this API is 0.01 USD/time, and the request is not successful without charge. ### Parameters: - photo_id: Photo ID ### Returns: - Video data # [示例/Example] photo_id = "3xtdqvdnqd3psuc"

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        String photoId = 3xtdqvdnqd3psuc; // String | 
        try {
            ResponseModel result = apiInstance.fetchOneVideoV2ApiV1KuaishouAppFetchOneVideoV2Get_0(photoId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchOneVideoV2ApiV1KuaishouAppFetchOneVideoV2Get_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
photoId String

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 -

fetchShoppingTopListApiV1KuaishouAppFetchShoppingTopListGet

ResponseModel fetchShoppingTopListApiV1KuaishouAppFetchShoppingTopListGet(subTabId, subTabName)

快手购物榜单/Kuaishou shopping top list

[中文] ### 用途: - 快手购物榜单 ### 参数: 获取快手购物榜单,支持多个子榜单,具体参数如下: - 购物榜单热门主播榜对应参数: - subTabId = 0 - subTabName = None - 购物榜单热销商品榜对应参数: - subTabId = 102 - subTabName = "热销商品" ### 返回: - 榜单数据 # [English] ### Purpose: - Kuaishou shopping top list ### Parameters: Get the Kuaishou shopping top list, support multiple sub-top lists, specific parameters are as follows: - Corresponding parameters for the shopping hot anchor list: - subTabId = 0 - subTabName = None - Corresponding parameters for the shopping hot selling product list: - subTabId = 102 - subTabName = "Hot Selling Product" ### Returns: - List data # [示例/Example] subTabId = 0 subTabName = None

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        Integer subTabId = 0; // Integer | 
        String subTabName = "\"\""; // String | 
        try {
            ResponseModel result = apiInstance.fetchShoppingTopListApiV1KuaishouAppFetchShoppingTopListGet(subTabId, subTabName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchShoppingTopListApiV1KuaishouAppFetchShoppingTopListGet");
            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
subTabId Integer [optional] [default to 0]
subTabName String [optional] [default to ""]

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 -

fetchShoppingTopListApiV1KuaishouAppFetchShoppingTopListGet_0

ResponseModel fetchShoppingTopListApiV1KuaishouAppFetchShoppingTopListGet_0(subTabId, subTabName)

快手购物榜单/Kuaishou shopping top list

[中文] ### 用途: - 快手购物榜单 ### 参数: 获取快手购物榜单,支持多个子榜单,具体参数如下: - 购物榜单热门主播榜对应参数: - subTabId = 0 - subTabName = None - 购物榜单热销商品榜对应参数: - subTabId = 102 - subTabName = "热销商品" ### 返回: - 榜单数据 # [English] ### Purpose: - Kuaishou shopping top list ### Parameters: Get the Kuaishou shopping top list, support multiple sub-top lists, specific parameters are as follows: - Corresponding parameters for the shopping hot anchor list: - subTabId = 0 - subTabName = None - Corresponding parameters for the shopping hot selling product list: - subTabId = 102 - subTabName = "Hot Selling Product" ### Returns: - List data # [示例/Example] subTabId = 0 subTabName = None

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        Integer subTabId = 0; // Integer | 
        String subTabName = "\"\""; // String | 
        try {
            ResponseModel result = apiInstance.fetchShoppingTopListApiV1KuaishouAppFetchShoppingTopListGet_0(subTabId, subTabName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchShoppingTopListApiV1KuaishouAppFetchShoppingTopListGet_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
subTabId Integer [optional] [default to 0]
subTabName String [optional] [default to ""]

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 -

fetchUserHotPostApiV1KuaishouAppFetchUserHotPostGet

ResponseModel fetchUserHotPostApiV1KuaishouAppFetchUserHotPostGet(userId, pcursor)

获取用户热门作品数据/Get user hot post data

[中文] ### 用途: - 获取用户热门作品数据 ### 参数: - user_id: 用户ID,此接口只支持用户ID,不支持用户eid,也就是输入必须要是纯数字ID。 - user_id 可以从获取单个用户数据接口中获取。 - pcursor: 作品游标,第一次请求为空,后续请求使用返回响应中的pcursor值进行翻页。 ### 返回: - 作品数据 # [English] ### Purpose: - Get user hot post data ### Parameters: - user_id: User ID, this API only supports user ID, not user eid, that is, the input must be a pure digital ID. - user_id can be obtained from the get single user data interface. - pcursor: Post cursor, empty for the first request, and use the pcursor value in the returned response for subsequent requests. ### Returns: - Post data # [示例/Example] user_id = "228905802" pcursor = None

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        String userId = 228905802; // String | 
        String pcursor = "pcursor_example"; // String | 
        try {
            ResponseModel result = apiInstance.fetchUserHotPostApiV1KuaishouAppFetchUserHotPostGet(userId, pcursor);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchUserHotPostApiV1KuaishouAppFetchUserHotPostGet");
            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
userId String
pcursor String [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 -

fetchUserHotPostApiV1KuaishouAppFetchUserHotPostGet_0

ResponseModel fetchUserHotPostApiV1KuaishouAppFetchUserHotPostGet_0(userId, pcursor)

获取用户热门作品数据/Get user hot post data

[中文] ### 用途: - 获取用户热门作品数据 ### 参数: - user_id: 用户ID,此接口只支持用户ID,不支持用户eid,也就是输入必须要是纯数字ID。 - user_id 可以从获取单个用户数据接口中获取。 - pcursor: 作品游标,第一次请求为空,后续请求使用返回响应中的pcursor值进行翻页。 ### 返回: - 作品数据 # [English] ### Purpose: - Get user hot post data ### Parameters: - user_id: User ID, this API only supports user ID, not user eid, that is, the input must be a pure digital ID. - user_id can be obtained from the get single user data interface. - pcursor: Post cursor, empty for the first request, and use the pcursor value in the returned response for subsequent requests. ### Returns: - Post data # [示例/Example] user_id = "228905802" pcursor = None

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        String userId = 228905802; // String | 
        String pcursor = "pcursor_example"; // String | 
        try {
            ResponseModel result = apiInstance.fetchUserHotPostApiV1KuaishouAppFetchUserHotPostGet_0(userId, pcursor);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchUserHotPostApiV1KuaishouAppFetchUserHotPostGet_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
userId String
pcursor String [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 -

fetchUserLiveInfoApiV1KuaishouAppFetchUserLiveInfoGet

ResponseModel fetchUserLiveInfoApiV1KuaishouAppFetchUserLiveInfoGet(userId)

获取用户直播信息/Get user live info

[中文] ### 用途: - 获取用户直播信息 ### 参数: - user_id: 用户ID,此接口只支持用户ID,不支持用户eid,也就是输入必须要是纯数字ID。 - user_id 可以从获取单个用户数据接口中获取。 ### 返回: - 直播信息 # [English] ### Purpose: - Get user live info ### Parameters: - user_id: User ID, this API only supports user ID, not user eid, that is, the input must be a pure digital ID. - user_id can be obtained from the get single user data interface. ### Returns: - Live info # [示例/Example] user_id = "1377082950"

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        String userId = 1377082950; // String | 
        try {
            ResponseModel result = apiInstance.fetchUserLiveInfoApiV1KuaishouAppFetchUserLiveInfoGet(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchUserLiveInfoApiV1KuaishouAppFetchUserLiveInfoGet");
            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
userId String

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 -

fetchUserLiveInfoApiV1KuaishouAppFetchUserLiveInfoGet_0

ResponseModel fetchUserLiveInfoApiV1KuaishouAppFetchUserLiveInfoGet_0(userId)

获取用户直播信息/Get user live info

[中文] ### 用途: - 获取用户直播信息 ### 参数: - user_id: 用户ID,此接口只支持用户ID,不支持用户eid,也就是输入必须要是纯数字ID。 - user_id 可以从获取单个用户数据接口中获取。 ### 返回: - 直播信息 # [English] ### Purpose: - Get user live info ### Parameters: - user_id: User ID, this API only supports user ID, not user eid, that is, the input must be a pure digital ID. - user_id can be obtained from the get single user data interface. ### Returns: - Live info # [示例/Example] user_id = "1377082950"

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        String userId = 1377082950; // String | 
        try {
            ResponseModel result = apiInstance.fetchUserLiveInfoApiV1KuaishouAppFetchUserLiveInfoGet_0(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchUserLiveInfoApiV1KuaishouAppFetchUserLiveInfoGet_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
userId String

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 -

fetchUserPostV2ApiV1KuaishouAppFetchUserPostV2Get

ResponseModel fetchUserPostV2ApiV1KuaishouAppFetchUserPostV2Get(userId, pcursor)

用户视频列表V2/User video list V2

[中文] ### 用途: - 用户视频列表 V2 - 此接口收费较贵,但稳定性更高,具体价格请在用户后台查看价格表。 ### 参数: - user_id: 用户ID,此接口只支持用户ID,不支持用户eid,也就是输入必须要是纯数字ID。 - user_id 可以从获取单个用户数据接口中获取。 - pcursor: 视频游标,第一次请求为空,后续请求使用返回响应中的pcursor值进行翻页。 ### 返回: - 视频数据 # [English] ### Purpose: - User video list V2 - This API is more expensive, but more stable, please check the price list in the user background for specific prices. ### Parameters: - user_id: User ID, this API only supports user ID, not user eid, that is, the input must be a pure digital ID. - user_id can be obtained from the get single user data interface. - pcursor: Video cursor, empty for the first request, and use the pcursor value in the returned response for subsequent requests. ### Returns: - Videos data # [示例/Example] user_id = "228905802" pcursor = None

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        String userId = 228905802; // String | 
        String pcursor = "pcursor_example"; // String | 
        try {
            ResponseModel result = apiInstance.fetchUserPostV2ApiV1KuaishouAppFetchUserPostV2Get(userId, pcursor);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchUserPostV2ApiV1KuaishouAppFetchUserPostV2Get");
            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
userId String
pcursor String [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 -

fetchUserPostV2ApiV1KuaishouAppFetchUserPostV2Get_0

ResponseModel fetchUserPostV2ApiV1KuaishouAppFetchUserPostV2Get_0(userId, pcursor)

用户视频列表V2/User video list V2

[中文] ### 用途: - 用户视频列表 V2 - 此接口收费较贵,但稳定性更高,具体价格请在用户后台查看价格表。 ### 参数: - user_id: 用户ID,此接口只支持用户ID,不支持用户eid,也就是输入必须要是纯数字ID。 - user_id 可以从获取单个用户数据接口中获取。 - pcursor: 视频游标,第一次请求为空,后续请求使用返回响应中的pcursor值进行翻页。 ### 返回: - 视频数据 # [English] ### Purpose: - User video list V2 - This API is more expensive, but more stable, please check the price list in the user background for specific prices. ### Parameters: - user_id: User ID, this API only supports user ID, not user eid, that is, the input must be a pure digital ID. - user_id can be obtained from the get single user data interface. - pcursor: Video cursor, empty for the first request, and use the pcursor value in the returned response for subsequent requests. ### Returns: - Videos data # [示例/Example] user_id = "228905802" pcursor = None

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        String userId = 228905802; // String | 
        String pcursor = "pcursor_example"; // String | 
        try {
            ResponseModel result = apiInstance.fetchUserPostV2ApiV1KuaishouAppFetchUserPostV2Get_0(userId, pcursor);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchUserPostV2ApiV1KuaishouAppFetchUserPostV2Get_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
userId String
pcursor String [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 -

fetchVideoCommentApiV1KuaishouAppFetchOneVideoCommentGet

ResponseModel fetchVideoCommentApiV1KuaishouAppFetchOneVideoCommentGet(photoId, pcursor)

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

[中文] ### 用途: - 获取单个作品评论数据 ### 参数: - photo_id: 作品ID - pcursor: 评论游标,第一次请求为空,后续请求使用返回响应中的pcursor值进行翻页。 ### 返回: - 评论数据 # [English] ### Purpose: - Fetch single video comment data ### Parameters: - photo_id: Photo ID - pcursor: Comment cursor, empty for the first request, and use the pcursor value in the returned response for subsequent requests. ### Returns: - Comments data # [示例/Example] photo_id = "3x7gxp2zhgjv832" pcursor = None

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        String photoId = 3x7gxp2zhgjv832; // String | 
        String pcursor = "pcursor_example"; // String | 
        try {
            ResponseModel result = apiInstance.fetchVideoCommentApiV1KuaishouAppFetchOneVideoCommentGet(photoId, pcursor);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchVideoCommentApiV1KuaishouAppFetchOneVideoCommentGet");
            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
photoId String
pcursor String [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 -

fetchVideoCommentApiV1KuaishouAppFetchOneVideoCommentGet_0

ResponseModel fetchVideoCommentApiV1KuaishouAppFetchOneVideoCommentGet_0(photoId, pcursor)

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

[中文] ### 用途: - 获取单个作品评论数据 ### 参数: - photo_id: 作品ID - pcursor: 评论游标,第一次请求为空,后续请求使用返回响应中的pcursor值进行翻页。 ### 返回: - 评论数据 # [English] ### Purpose: - Fetch single video comment data ### Parameters: - photo_id: Photo ID - pcursor: Comment cursor, empty for the first request, and use the pcursor value in the returned response for subsequent requests. ### Returns: - Comments data # [示例/Example] photo_id = "3x7gxp2zhgjv832" pcursor = None

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        String photoId = 3x7gxp2zhgjv832; // String | 
        String pcursor = "pcursor_example"; // String | 
        try {
            ResponseModel result = apiInstance.fetchVideoCommentApiV1KuaishouAppFetchOneVideoCommentGet_0(photoId, pcursor);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#fetchVideoCommentApiV1KuaishouAppFetchOneVideoCommentGet_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
photoId String
pcursor String [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 -

generateKuaishouShareLinkApiV1KuaishouAppGenerateKuaishouShareLinkGet

ResponseModel generateKuaishouShareLinkApiV1KuaishouAppGenerateKuaishouShareLinkGet(shareObjectId)

生成快手分享链接/Generate Kuaishou share link

[中文] ### 用途: - 生成快手分享链接 ### 参数: - shareObjectId: 作品ID ### 返回: - 分享链接 # [English] ### Purpose: - Generate Kuaishou share link ### Parameters: - photo_id: Photo ID ### Returns: - Share link # [示例/Example] shareObjectId = "3xg5wjqdtekbb3u"

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        String shareObjectId = 3xg5wjqdtekbb3u; // String | 
        try {
            ResponseModel result = apiInstance.generateKuaishouShareLinkApiV1KuaishouAppGenerateKuaishouShareLinkGet(shareObjectId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#generateKuaishouShareLinkApiV1KuaishouAppGenerateKuaishouShareLinkGet");
            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
shareObjectId String

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 -

generateKuaishouShareLinkApiV1KuaishouAppGenerateKuaishouShareLinkGet_0

ResponseModel generateKuaishouShareLinkApiV1KuaishouAppGenerateKuaishouShareLinkGet_0(shareObjectId)

生成快手分享链接/Generate Kuaishou share link

[中文] ### 用途: - 生成快手分享链接 ### 参数: - shareObjectId: 作品ID ### 返回: - 分享链接 # [English] ### Purpose: - Generate Kuaishou share link ### Parameters: - photo_id: Photo ID ### Returns: - Share link # [示例/Example] shareObjectId = "3xg5wjqdtekbb3u"

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        String shareObjectId = 3xg5wjqdtekbb3u; // String | 
        try {
            ResponseModel result = apiInstance.generateKuaishouShareLinkApiV1KuaishouAppGenerateKuaishouShareLinkGet_0(shareObjectId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#generateKuaishouShareLinkApiV1KuaishouAppGenerateKuaishouShareLinkGet_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
shareObjectId String

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 -

searchUserV2ApiV1KuaishouAppSearchUserV2Get

ResponseModel searchUserV2ApiV1KuaishouAppSearchUserV2Get(keyword, page)

搜索用户V2/Search user V2

[中文] ### 用途: - 搜索用户 V2 - 此接口收费较贵,但稳定性更高,具体价格请在用户后台查看价格表。 ### 参数: - keyword: 搜索关键词 - page: 用户页数,从1开始 ### 返回: - 用户数据 # [English] ### Purpose: - Search user V2 - This API is more expensive, but more stable, please check the price list in the user background for specific prices. ### Parameters: - keyword: Search keyword - page: User page number, starting from 1 ### Returns: - User data # [示例/Example] keyword = "人工智能" page = "1"

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        String keyword = 人工智能; // String | 
        String page = "\"1\""; // String | 
        try {
            ResponseModel result = apiInstance.searchUserV2ApiV1KuaishouAppSearchUserV2Get(keyword, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#searchUserV2ApiV1KuaishouAppSearchUserV2Get");
            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
page String [optional] [default to "1"]

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 -

searchUserV2ApiV1KuaishouAppSearchUserV2Get_0

ResponseModel searchUserV2ApiV1KuaishouAppSearchUserV2Get_0(keyword, page)

搜索用户V2/Search user V2

[中文] ### 用途: - 搜索用户 V2 - 此接口收费较贵,但稳定性更高,具体价格请在用户后台查看价格表。 ### 参数: - keyword: 搜索关键词 - page: 用户页数,从1开始 ### 返回: - 用户数据 # [English] ### Purpose: - Search user V2 - This API is more expensive, but more stable, please check the price list in the user background for specific prices. ### Parameters: - keyword: Search keyword - page: User page number, starting from 1 ### Returns: - User data # [示例/Example] keyword = "人工智能" page = "1"

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        String keyword = 人工智能; // String | 
        String page = "\"1\""; // String | 
        try {
            ResponseModel result = apiInstance.searchUserV2ApiV1KuaishouAppSearchUserV2Get_0(keyword, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#searchUserV2ApiV1KuaishouAppSearchUserV2Get_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
page String [optional] [default to "1"]

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 -

searchVideoV2ApiV1KuaishouAppSearchVideoV2Get

ResponseModel searchVideoV2ApiV1KuaishouAppSearchVideoV2Get(keyword, page)

搜索视频V2/Search video V2

[中文] ### 用途: - 搜索视频 V2 - 此接口收费较贵,但稳定性更高,具体价格请在用户后台查看价格表。 ### 参数: - keyword: 搜索关键词 - page: 视频页数,从1开始 ### 返回: - 视频数据 # [English] ### Purpose: - Search video V2 - This API is more expensive, but more stable, please check the price list in the user background for specific prices. ### Parameters: - keyword: Search keyword - page: Page number, starting from 1 ### Returns: - Videos data # [示例/Example] keyword = "人工智能" page = "1"

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        String keyword = 人工智能; // String | 
        String page = "\"1\""; // String | 
        try {
            ResponseModel result = apiInstance.searchVideoV2ApiV1KuaishouAppSearchVideoV2Get(keyword, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#searchVideoV2ApiV1KuaishouAppSearchVideoV2Get");
            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
page String [optional] [default to "1"]

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 -

searchVideoV2ApiV1KuaishouAppSearchVideoV2Get_0

ResponseModel searchVideoV2ApiV1KuaishouAppSearchVideoV2Get_0(keyword, page)

搜索视频V2/Search video V2

[中文] ### 用途: - 搜索视频 V2 - 此接口收费较贵,但稳定性更高,具体价格请在用户后台查看价格表。 ### 参数: - keyword: 搜索关键词 - page: 视频页数,从1开始 ### 返回: - 视频数据 # [English] ### Purpose: - Search video V2 - This API is more expensive, but more stable, please check the price list in the user background for specific prices. ### Parameters: - keyword: Search keyword - page: Page number, starting from 1 ### Returns: - Videos data # [示例/Example] keyword = "人工智能" page = "1"

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.KuaishouAppApiApi;

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");

        KuaishouAppApiApi apiInstance = new KuaishouAppApiApi(defaultClient);
        String keyword = 人工智能; // String | 
        String page = "\"1\""; // String | 
        try {
            ResponseModel result = apiInstance.searchVideoV2ApiV1KuaishouAppSearchVideoV2Get_0(keyword, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KuaishouAppApiApi#searchVideoV2ApiV1KuaishouAppSearchVideoV2Get_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
page String [optional] [default to "1"]

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 -