/douyin-sdk

抖音SDK、抖音数据、抖音直播数据、抖音直播Api、抖音视频Api、抖音爬虫、抖音去水印、抖音视频下载、抖音视频解析、抖音直播监控、抖音数据采集

Primary LanguagePythonMIT LicenseMIT

DouyinSDK 抖音SDK 抖音数据采集 抖音直播数据

接口参数、返回示例请参考文档:抖音api

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')

28.视频详情

result = sdk.GetVideoDetail(6849103450475711752)

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)

29.关键词搜索用户

result = sdk.SearchUsers('美女')

30.关键词搜索视频

result = sdk.SearchVideos('美女')