nayan-photo-api
v1.0.1
Published
api module
Downloads
2
Readme
nayan-photo-api (deprecated)
nayan-photo-api
is made to help. Hopefully this module is useful for developer friends, you can request next scraping or features.
Requires Node >= 12
Documentation
Installation
npm i nayan-photo-api
Example TextMaker
const nayan-photo-api = require("nayan-photo-api");
//TextPro
nayan-photo-api
.textpro("https://textpro.me/create-blackpink-logo-style-online-1001.html", [
"teks",
])
.then((data) => console.log(data))
.catch((err) => console.log(err));
//TextPro with 2 text
nayan-photo-api
.textpro(
"https://textpro.me/create-glitch-text-effect-style-tik-tok-983.html",
["teks", "teks 2"]
)
.then((data) => console.log(data))
.catch((err) => console.log(err));
//Photooxy
nayan-photo-api
.photooxy(
"https://photooxy.com/logo-and-text-effects/create-a-picture-of-love-message-377.html",
["teks"]
)
.then((data) => console.log(data))
.catch((err) => console.log(err));
//Photooxy with 2 text
nayan-photo-api
.photooxy(
"https://photooxy.com/logo-and-text-effects/make-tik-tok-text-effect-375.html",
["teks", "Teks 2"]
)
.then((data) => console.log(data))
.catch((err) => console.log(err));
Example Paste
const nayan-photo-api = require("nayan-photo-api");
nayan-photo-api
.pastegg("you code, console.log('hi')", {
title: "nayan-photo-api",
description: "Source code",
nameFile: "hasil.txt",
}) //optional
.then((data) => console.log(data))
.catch((err) => console.log(err));
//or
let options = {
title: "nayan-photo-api",
description: "Source code",
nameFile: "hasil.txt",
};
nayan-photo-api
.pastegg("you code, console.log('hi')", options) //options is optional
.then((data) => console.log(data))
.catch((err) => console.log(err));
//or
nayan-photo-api
.pastegg("you code, console.log('hi')") //options is optional
.then((data) => console.log(data))
.catch((err) => console.log(err));
Example Downloader
const nayan-photo-api = require("nayan-photo-api");
// KeepTiktok
nayan-photo-api
.keeptiktok("https://vt.tiktok.com/khpq9t")
.then((data) => console.log(data))
.catch((err) => console.log(err));
// Snaptik
nayan-photo-api
.snaptik("https://vt.tiktok.com/khpq9t")
.then((data) => console.log(data))
.catch((err) => console.log(err));