Git Product home page Git Product logo

douyinsdk's Introduction

AwemeSDK

联系微信gameids获取token、host

0. 初始化

from douyin import AwemeSDK

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

1.关键词搜索用户

result = sdk.SearchUsers('热巴')

2.关键词搜索视频

result = sdk.SearchVideos('热巴')

3.关键词搜索音乐

result = sdk.SearchMusic('热巴')

4.关键词搜索话题

result = sdk.SearchChallenge('热巴')

5.关键词搜索地点

result = sdk.SearchPoi('热巴')

6.关键词综合搜索

result = sdk.SearchGeneral('热巴')

7.用户详情

result = sdk.GetUserInfo('100000004548')

8.用户粉丝

result = sdk.GetUserFollowers('100000004548')

9.用户关注

result = sdk.GetUserFollowings('100000004548')

10.用户作品

result = sdk.GetUserPosts('100000004548')

11.用户喜欢视频

result = sdk.GetUserFavourites('100000004548')

12.用户动态

result = sdk.GetUserDongtai('100000004548')

13.用户商品橱窗

result = sdk.GetUserPromotions('100000004548')

14.用户商品橱窗商品关键词搜索

result = sdk.SearchUserPromotions('2475708304596099','红')

15.视频评论

result = sdk.GetVideoComments('6785429036362386696')

16.视频带货信息

result = sdk.GetVideoPromotions('6785429036362386696')

17.视频评论的子评论

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

18.话题详情

result = sdk.GetChallengeDetail('1567729828832273')

19.话题视频列表

result = sdk.GetChallengeVideos('1567729828832273')

20.音乐详情

result = sdk.GetMusicDetail('5000000000074898875')

21.音乐视频列表

result = sdk.GetMusicVideos('5000000000074898875')

22.地点详情

result = sdk.GetPoiDetail('6666714767266187271')

23.地点视频列表

result = sdk.GetPoiVideos('6666714767266187271')

24.带货视频推荐

result = sdk.GetPromotionVideosFeed()

25.带货商品promotion详情

result = sdk.GetPromotionInfo('60772262244900')

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

result = sdk.GetPromotionSameVideos('60772262244900')

27.实时明星爱DOU榜

result = sdk.RealStarBoard()

28.实时搜索热榜

result = sdk.RealHotBoard()

29.实时好物榜

result = sdk.RealGoodsBoard()

30.实时热搜词句视频

result = sdk.RealHotVideos()

douyinsdk's People

Contributors

yooleak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.