Skip to main content

Tik Tok API

Project description

This project is no longer under development.

A NEW project is being developed here: sudoguy/tiktokpy


tiktok-bot

The most intelligent TikTok bot for Python.

Build Status Downloads Package version

Note: This project should be considered as an "alpha" release.


Quickstart

from tiktok_bot import TikTokBot

bot = TikTokBot()

# getting your feed (list of posts)
my_feed = bot.list_for_you_feed(count=25)

popular_posts = [post for post in my_feed if post.statistics.play_count > 1_000_000]

# extract video urls without watermark (every post has helpers)
urls = [post.video_url_without_watermark for post in popular_posts]

# searching videos by hashtag name
posts = bot.search_posts_by_hashtag("cat", count=50)

Installation

Install with pip:

pip install tiktok-bot

tiktok-bot requires Python 3.6+

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tiktok-bot, version 0.6.4
Filename, size File type Python version Upload date Hashes
Filename, size tiktok_bot-0.6.4-py3-none-any.whl (23.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size tiktok_bot-0.6.4.tar.gz (15.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page