{"id":18487903,"url":"https://github.com/sudoguy/tiktokpy","last_synced_at":"2026-01-12T13:58:32.619Z","repository":{"id":38312092,"uuid":"269694133","full_name":"sudoguy/tiktokpy","owner":"sudoguy","description":"Tool for automated TikTok interactions","archived":false,"fork":false,"pushed_at":"2025-04-07T21:12:06.000Z","size":347,"stargazers_count":781,"open_issues_count":72,"forks_count":159,"subscribers_count":46,"default_branch":"master","last_synced_at":"2025-04-07T22:25:01.421Z","etag":null,"topics":["tiktok","tiktok-api","tiktok-python","tiktok-scraper","tiktokbot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sudoguy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-05T16:00:47.000Z","updated_at":"2025-04-05T04:54:11.000Z","dependencies_parsed_at":"2024-03-13T02:23:50.884Z","dependency_job_id":"e7d8ac2c-441e-4f91-9bb1-a561ab67755d","html_url":"https://github.com/sudoguy/tiktokpy","commit_stats":{"total_commits":139,"total_committers":7,"mean_commits":"19.857142857142858","dds":0.2517985611510791,"last_synced_commit":"0d137135d454592d801894e5478d575cdc175aab"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudoguy%2Ftiktokpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudoguy%2Ftiktokpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudoguy%2Ftiktokpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudoguy%2Ftiktokpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sudoguy","download_url":"https://codeload.github.com/sudoguy/tiktokpy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247923163,"owners_count":21018938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["tiktok","tiktok-api","tiktok-python","tiktok-scraper","tiktokbot"],"created_at":"2024-11-06T12:50:57.945Z","updated_at":"2026-01-12T13:58:32.466Z","avatar_url":"https://github.com/sudoguy.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"\u003ch1 align=\"center\" style=\"font-size: 3rem;\"\u003e\nTikTokPy\n\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n \u003cem\u003eTooling that \u003cb\u003eautomates\u003c/b\u003e your social media interactions to “farm” Likes and Followers on TikTok\u003c/em\u003e\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/sudoguy/tiktokpy/actions/workflows/test_and_publish.yml\"\u003e\n    \u003cimg src=\"https://github.com/sudoguy/tiktokpy/actions/workflows/test_and_publish.yml/badge.svg\" alt=\"Build Status\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://pypi.org/project/tiktokpy/\"\u003e\n    \u003cimg src=\"https://badge.fury.io/py/tiktokpy.svg\" alt=\"Package version\"\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## Quickstart.py\n\n```python\nimport asyncio\nfrom tiktokpy import TikTokPy\n\n\nasync def main():\n    async with TikTokPy() as bot:\n        # Do you want to get trending videos? You can!\n        trending_items = await bot.trending(amount=5)\n\n        for item in trending_items:\n            # ❤️ you can like videos\n            await bot.like(item)\n            # or unlike them\n            await bot.unlike(item)\n            # or follow users\n            await bot.follow(item.author.username)\n            # as and unfollow\n            await bot.unfollow(item.author.username)\n\n        # 😏 getting user's feed\n        user_feed_items = await bot.user_feed(username=\"tiktok\", amount=5)\n\n        for item in user_feed_items:\n            # 🎧 get music title, cover, link, author name..\n            print(\"Music title: \", item.music.title)\n            # #️⃣ print all tag's title of video\n            print([tag.title for tag in item.challenges])\n            # 📈 check all video stats\n            print(\"Comments: \", item.stats.comments)\n            print(\"Plays: \", item.stats.plays)\n            print(\"Shares: \", item.stats.shares)\n            print(\"Likes: \", item.stats.likes)\n\n        # and many other things 😉\n\n\nasyncio.run(main())\n```\n\n## Installation\n\nInstall with pip:\n\n```shell\npip install tiktokpy\n```\n\nInstall browser by playwright\n\n```shell\nplaywright install firefox\n```\n\n## Run\n\nTo create your cookies and settings.toml file simply run\n\n```shell\npython quicklogin.py\n```\nand then after you login run\n\n```shell\npython quickstart.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudoguy%2Ftiktokpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsudoguy%2Ftiktokpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudoguy%2Ftiktokpy/lists"}