UNPKG

ditzzsenpai-api

Version:

Simple NPM api for your app

251 lines (196 loc) 4.46 kB
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <title>Ditzzsenpai API</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="./style.css"> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> <!-- partial:index.partial.html --> <div class="main" role"main"> <h1>Ditzzsenpai - API</h1> <h2>Instalation using npm :</h2> <pre>npm i ditzzsenpai-api</pre> <h2>Require for JavaScript:</h2> <pre>const api = require("ditzzsenpai-api");</pre> <h2>Require for TypeScript:</h2> <pre>import api from "ditzzsenpai-api"</pre> <h2>Below is the code for this function.</h2> <h2>-Encrypt Decrypt</h2> <pre> // Binary (Encrypt) const res = api.encrypt.binary.enc("hello world"); console.log(res); // Binary (Decrypt) const res = api.encrypt.binary.dec("1101000"); console.log(res); </pre> <h2>Information</h2> <pre> // Info Gempa Terbaru api.info.gempa() .then(console.log); </pre> <h2>Wibu Stress</h2> <pre> // Wangy const result = api.stress.wangy(String); console.log(result); // Nenen const result = api.stress.nenen(String); console.log(result); // Simp const result = api.stress.simp(String); console.log(result); // Sherk const result = api.stress.sherk(String); console.log(result); </pre> <h2>Downloader</h2> <pre> // YouTube Music api.downloader.youtube.ytmp3(url) .then(console.log); // Youtube Video api.downloader.youtube.ytmp4(url) .then(console.log); // Youtube Play Music api.downloader.youtube.ytplay(query) .then(console.log); // YouTube Play Video api.downloader.youtube.ytplayvid(query) .then(console.log); // Tiktok api.downloader.tiktok(url) .then(console.log); // Tiktok 2 api.downloader.tiktok2(url) .then(console.log); // SoundCloud api.downloader.soundcloud(url) .then(console.log); // Instagram (Post) api.downloader.instagram.post(URL) .then(console.log); // Instagram (Story) api.downloader.instagram.story(Username_IG) .then(console.log); // MediaFire api.downloader.mediafire(URL) .then(console.log); // ZippyShare api.downloader.zippyshare(URL) .then(console.log); // Pinterest Downloader api.downloader.pindl(URL) .then(console.log) </pre> <h2>Search</h2> <pre> // Happymod api.search.happymod(query) .then(console.log); // Cari Grup Wa api.search.carigrup(query) .then(console.log); // Kusonime api.search.kusonime(query) .then(console.log); // IP Lookup api.search.iplookup(domain / ip) .then(console.log); // Cuaca api.search.cuaca(kota / city) .then(console.log); // Artinama api.search.artinama(String) .then(console.log); // IG Stalk api.search.igstalk(user) .then(console.log); // Film api.search.film(query) .then(console.log); // Wallpaper Cave api.search.wallpapercave(query) .then(console.log); // Singkatan Kata api.search.singkatankata(Kata) .then(console.log); // Persamaan Kata (Sinomin) api.search.persamaankata(Kata) .then(console.log); // Al Quran api.search.quran(Surah) .then(console.log); // Free Fire ID api.search.freefireid(ID) .then(console.log); // Wall Alphacoders api.search.wall_alphacoders(Query) .then(console.log); // Tiktok Stalk api.search.ttstalk(username_tiktok) .then(console.log); // Pinterest Search api.search.pin(Query) .then(console.log); // Soundcloud Search api.search.soundcloud(Query) .then(console.log) </pre> <h2>Random</h2> <pre> // Fake UserAgent const result = api.random.fakeua(); console.log(result); // Quotes Anime api.random.quotesanime() .then(console.log); </pre> <h2>Other</h2> <pre> // Emojimix api.other.emojimix(Emoji1, Emoji2) .then(console.log); // Translate api.other.translate(String, lang) .then(console.log); // Lang (Optional, Default: id) // Rangkum (summarize) api.other.rangkum(String) .then(console.log); </pre> <h2>Tools</h2> <pre> // Whois api.tools.whois(domain) .then(console.log); // getHeaders api.tools.getHeaders(url) .then(console.log); // Shortlink api.tools.shortlink(url, custom) .then(console.log); // custom (default: random) // Upload File api.tools.uploadFile(Buffer) .then(console.log); // Minifyjs api.tools.minifyjs(Code_javascript); // Encrypt HTML api.tools.EncryptHTML(Code_html); // Unshort URL api.tools.expandurl(URL) .then(console.log); </pre> <h2>Game</h2> <pre> // Family100 api.game.family100() .then(console.log); // Siapakah Aku api.game.siapakahaku() .then(console.log); </pre> </p></p> </div> <!-- partial --> </body> </html>