Skip to main content

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

MIT

Project details


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

piktok-0.1.7-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file piktok-0.1.7.tar.gz.

File metadata

  • Download URL: piktok-0.1.7.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.2.0 requests-toolbelt/0.8.0 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for piktok-0.1.7.tar.gz
Algorithm Hash digest
SHA256 1a6b7050f3a2a8b111d7cd6853ca76ff8113e1ba37852f2cb7270a58ab911500
MD5 16e4337a1301f46cff7fb4df672a3bc3
BLAKE2b-256 67978e984c0f46e5c55887db608f59344c4af5c3200257bed5472a6e5e563f27

See more details on using hashes here.

File details

Details for the file piktok-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: piktok-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.2.0 requests-toolbelt/0.8.0 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for piktok-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f36ed7ce7adf13d4d34161edd8be497f09ef3e5a451642ad6d9117eac59a64b9
MD5 be7cb5dc9784edc33d1bfc3a8871940a
BLAKE2b-256 2222eeed868033f49658d6d5c065f92ecbc9b00d2d3183ef80854e3b278556c5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page