node-tiklydown
Version:
Wrapper For TiklyDown API to use download TikTok Post
53 lines (45 loc) • 1.41 kB
Markdown
# node-tiklydown
Wrapper for TiklyDown API to download TikTok posts
## Features
- Download TikTok videos
- Download TikTok slide images
## How to Use
### Importing variables
```javascript
const { v1, v2, v3, v4, stalk } = require("node-tiklydown");
```
#### Download TikTok Video/Slide Images
To download a TikTok video, use the `v1` function with the TikTok URL as a parameter.
```javascript
v1(url).then(data => {
// Do something with the data
});
```
#### Download TikTok Video/Slide Images from MusicalDown Server
To download a TikTok video or slide images, use the `v2` function with the TikTok URL as a parameter.
```javascript
v2(url).then(data => {
// Do something with the data
});
```
#### Download TikTok Video/Slide Images from SSSTik Server
To download a TikTok video or slide images, use the `v3` function with the TikTok URL as a parameter.
```javascript
v3(url).then(data => {
// Do something with the data
});
```
#### Download TikTok Video/Slide Images from TTSave Server
To download a TikTok video or slide images, use the `v4` function with the TikTok URL as a parameter.
```javascript
v4(url).then(data => {
// Do something with the data
});
```
#### Retrieve TikTok User Information
To retrieve TikTok user information, use the `stalk` function with the TikTok username as a parameter.
```javascript
stalk(username).then(data => {
// Do something with the data
});
```