A fast module to retrieve data from TikTok
Project description
Piktok
Piktok is a Python library for retrieving public data from TikTok.
Installation
Use the package manager pip to install piktok.
pip install piktok
Usage
from piktok import App
proxy = ... # url str or None
app = App(proxy=proxy)
# every functions are async - make sure to implement accordingly
await app.discover.user()
await app.discover.music()
await app.suggested.fetch()
await app.info.user_by_name('fpgezekatz')
await app.tiktoks.from_user_id(6834564640216974341, total=200)
await app.suggested.crawl(7, 3, user_id=143273922984189952, user_count=30)
Documentation
https://anh-chu.github.io/piktok/
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
piktok-0.1.7.tar.gz
(8.7 kB
view hashes)
Built Distribution
piktok-0.1.7-py3-none-any.whl
(15.4 kB
view hashes)