Metadata-Version: 2.1
Name: piktok
Version: 0.1.5
Summary: A fast module to retrieve data from TikTok
Home-page: https://github.com/anh-chu/piktok
Author: Anh Chu
Author-email: chuducanh.atred@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: requests
Requires-Dist: orjson
Requires-Dist: aiohttp
Requires-Dist: pyhumps
Requires-Dist: inflection
Requires-Dist: jmespath
Requires-Dist: pyppeteer
Requires-Dist: colored
Requires-Dist: tqdm

# Piktok

Piktok is a Python library for retrieving public data from TikTok.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install piktok.

```bash
pip install git+git://github.com/anh-chu/piktok.git#egg=piktok
```

## Usage

```python
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](https://choosealicense.com/licenses/mit/)

