All URIs are relative to https://open.douyin.com
Method | HTTP request | Description |
---|---|---|
HotsearchSentences | Get /hotsearch/sentences | 获取实时热点词 |
HotsearchTrendingSentences | Get /hotsearch/trending/sentences | 获取上升词 |
HotsearchVideos | Get /hotsearch/videos | 获取热点词聚合的视频 |
HotsearchSentencesRsp HotsearchSentences(ctx, accessToken)
获取实时热点词
获取实时热点词
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accessToken | string | 调用/oauth/access_token/生成的token,此token需要用户授权。 |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HotsearchTrendingSentencesRsp HotsearchTrendingSentences(ctx, accessToken, cursor, count)
获取上升词
获取上升词
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accessToken | string | 调用/oauth/access_token/生成的token,此token需要用户授权。 | |
cursor | int64 | 分页游标, 第一页请求cursor是0, response中会返回下一页请求用到的cursor, 同时response还会返回has_more来表明是否有更多的数据。 | |
count | int64 | 每页数量 |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HotsearchVideosRsp HotsearchVideos(ctx, accessToken, hotSentence)
获取热点词聚合的视频
获取热点词聚合的视频
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accessToken | string | 调用/oauth/access_token/生成的token,此token需要用户授权。 | |
hotSentence | string | 热点词 |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]