接口参数、返回示例请参考文档:抖音api
from douyin import AwemeSDK
token = 'xxxxxxxx'
host = 'http://xxxxx.xx.xx'
sdk = AwemeSDK(token,host)
result = sdk.GetUserInfo('100000004548')
result = sdk.GetUserPosts('100000004548')
result = sdk.GetUserFavourites('100000004548')
result = sdk.GetUserPromotions('100000004548')
result = sdk.GetVideoComments('6785429036362386696')
result = sdk.GetVideoDetail(6849103450475711752)
result = sdk.GetVideoPromotions('6785429036362386696')
result = sdk.GetVideoCommentReplies('6785429036362386696','6775738616267554829')
result = sdk.GetChallengeDetail('1671619888543757')
result = sdk.GetChallengeVideos('1671619888543757')
result = sdk.GetPoiDetail('6666714767266187271')
result = sdk.GetPoiVideos('6666714767266187271')
result = sdk.GetPromotionVideosFeed()
result = sdk.GetPromotionInfo('60772262244900')
result = sdk.GetPromotionSameVideos('60772262244900')
result = sdk.GetLiveRoomChats('6843198199583378191')
result = sdk.GetLiveRoomPromotions('6843198199583378191')
result = sdk.GetLiveRoomInfo('6843198199583378191')
result = sdk.GetLiveRoomStatus('6843198199583378191')
result = sdk.GetUserLiveInfo('6843198199583378191')
result = sdk.RealStarBoard()
result = sdk.RealHotBoard()
result = sdk.RealGoodsBoard()
result = sdk.RealHotVideos()
result = sdk.RealHotChallenges()
result = sdk.RealBrandBoard(7)
result = sdk.BrandCategories()
result = sdk.BrandDetail(2,9117)
result = sdk.SearchUsers('美女')
result = sdk.SearchVideos('美女')