Musically ( Tiktok ) api python open source free...
- Python 3.x
- Json
- requests
if captcha check demo.py
print(api.login("username","password"))
# Cookie Active User
# home_list = api.home_list(api.active_user)
# No Cookie
home_list = api.home_list()
print(home_list)
search = api.search_user(text='teamtolga')
print(search)
follower = api.follow_list(user_id=6594722549190574086,count=20,session=api.active_user['cookies'])
print(follower)
following = api.following_list(user_id=6594722549190574086,count=20,session=api.active_user['cookies'])
print(following)
like = api.like_post(aweme_id='6632541425961536773',type='1',session=api.active_user['cookies'])
print(like)
unlike = api.like_post(aweme_id='6632541425961536773',type='0',session=api.active_user['cookies'])
print(unlike)
for x in range(255):
view = api.view_post(aweme_id=6632541425961536773,session=api.active_user['cookies'])
print(view)
follow = api.follow(user_id='6594722549190574086',type=1,session=api.active_user['cookies'])
print(follow)
unfollow = api.follow(user_id='6594722549190574086',type=0,session=api.active_user['cookies'])
print(unfollow)
user_info = api.user_info(user_id=6594722549190574086,session=api.active_user['cookies'])
print(user_info)
user_video_list = api.user_video_list(user_id=6594722549190574086)
print(user_video_list)
tags = api.search_hashtag(text="teamtolga")
print(tags)
tag_videos = api.list_hashtag(cid=cid)
print(tag_videos)
getQRCode= api.getQRCode(user_id='6646182534211108870')
print(getQRCode)