1

AwemeSDK

访问网站 http://www.xstatus.cn 获取token、host【仅限pc端】
项目地址:https://github.com/01ly/DouYi... 【持续更新-2021-06-04】

0. 初始化

from douyin import AwemeSDK

token = 'xxxxxxxx'
host  = 'http://xxxxx.xx.xx'
sdk   = AwemeSDK(token,host)

1.用户详情


result = sdk.GetUserInfo('100000004548')

2.用户作品


result = sdk.GetUserPosts('100000004548')

3.用户喜欢视频


result = sdk.GetUserFavourites('100000004548')

4.用户商品橱窗


result = sdk.GetUserPromotions('100000004548')

5.视频评论


result = sdk.GetVideoComments('6785429036362386696')

6.视频带货信息


result = sdk.GetVideoPromotions('6785429036362386696')

7.视频评论的子评论


result = sdk.GetVideoCommentReplies('6785429036362386696','6775738616267554829')

8.话题详情


result = sdk.GetChallengeDetail('1671619888543757')

9.获取话题(challenge)下的视频


result = sdk.GetChallengeVideos('1671619888543757')

10.地点详情


result = sdk.GetPoiDetail('6666714767266187271')

11.获取地点(poi)下的视频


result = sdk.GetPoiVideos('6666714767266187271')

12.带货视频推荐


result = sdk.GetPromotionVideosFeed()

13.带货商品promotion详情


result = sdk.GetPromotionInfo('60772262244900')

14.同款商品带货视频推荐


result = sdk.GetPromotionSameVideos('60772262244900')

15.获取直播间弹幕/进入直播间观众/刷礼物/关注主播 信息


result = sdk.GetLiveRoomChats('6843198199583378191')

16.获取直播间带货商品信息


result = sdk.GetLiveRoomPromotions('6843198199583378191')

17.获取直播间信息


result = sdk.GetLiveRoomInfo('6843198199583378191')

18.查询直播间是否开播


result = sdk.GetLiveRoomStatus('6843198199583378191')

19.获取直播用户信息


result = sdk.GetUserLiveInfo('6843198199583378191')

20.实时明星爱DOU榜


result = sdk.RealStarBoard()

21.实时热点榜


result = sdk.RealHotBoard()

22.实时好物榜


result = sdk.RealGoodsBoard()

23.最热视频榜单


result = sdk.RealHotVideos()

24.热门话题推荐


result = sdk.RealHotChallenges()

25.实时品牌榜


result = sdk.RealBrandBoard(7)

26.品牌类别接口


result = sdk.BrandCategories()

27.热榜品牌详情


result = sdk.BrandDetail(2,9117)

2end0
186 声望27 粉丝