Skip to main content

A fast module to retrieve data from TikTok

Reason this release was yanked:

Use 0.1.7 instead

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 git+git://github.com/anh-chu/piktok.git#egg=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)

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.5.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.5-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: piktok-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 ba3ba65a5958d754904a8914abcc7c0fcf2278482bb06011d4668c0e3db937c0
MD5 33d1bfc6792e1f21dedaba5ec34a7c43
BLAKE2b-256 0ac512724705b3f3de616081b21edcd6e9de3690e766619b31e3c1fb18098e39

See more details on using hashes here.

File details

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

File metadata

  • Download URL: piktok-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b373bca1ea769f99c6df14aea0e5588aac2336287f8dd71fb916ab56fb5e8648
MD5 7e6232a177cdaa12c78e2c6fd5cdcd3f
BLAKE2b-256 05601d6ce38d5d1bb84d53fa649e32a19d4b2270e8326314bbf117ba752ef8e8

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