github davidteather/TikTok-Api V5.0.0
V5.0.0 - Higher Level Object Modeling

latest releases: V6.3.0, V6.2.2, V6.2.1...
2 years ago

IMPORTANT CHANGES

  • Please read the upgrading from V4 to V5 section on the readme
    • Higher level approach using objects
    • Auto-parsing of attributes and responses back into objects
    • Should be easier to work with (especially for new-comers not as familiar with this package)
  • dropped support for selenium (sorry but it's been too annoying to main multiple browsers)

Main PR

If this broke your code please pin your dependency versions

V5 Example Usage

from TikTokApi import TikTokApi

verify_fp = "verify_xxx"
api = TikTokApi(custom_verify_fp=verify_fp)

tag = api.hashtag(name="funny")
print(tag.info())

for video in tag.videos():
    print(video.id)
    for u_vid in video.author.videos():
        print(u_vid.id)

Don't miss a new TikTok-Api release

NewReleases is sending notifications on new releases.