api-donz
v1.0.1
Published
Simple API Wrapper for Donz API (Downloader)
Maintainers
Readme
api-donz
Contact
Official Channel
Installation
Use the stable version:
npm install api-donz
# or
yarn add api-donzpackage.json
"dependencies": {
"api-donz": "1.0.1"
}Example
Request
const donz = require('api-donz');
or
import donz from 'api-donz';
(async () => {
const res = await donz.tiktok("https://vt.tiktok.com/xxxx/");
console.log(res.nowm);
})();Response tiktok
{
"status": true,
"creator": "donzy",
"description": "",
"download": {
"nowm": "-",
"audio": "-",
"slides": []
}
}Response tiktok v2
{
"status": true,
"creator": "donzy",
"description": "…",
"author": {
"name": "",
"unique_id": ""
},
"download": {
"hd": "URL",
"no_watermark": "URL",
"audio": "URL",
"cover": "URL"
}
}
