caliph-api
v1.0.1
Published
Simple API by Caliph
Downloads
5,972
Maintainers
Readme
caliph-api
Note
ID Jika Ada Bug, Silahkan Buat Issues
EN If there are bugs, please create Issues
Installation
Latest
npm i github:caliphdev/caliph-api
Npm
npm i caliph-api
Require
const api = require("caliph-api");
Docs
Encrypt
// Binary (Encrypt)
const result = api.encrypt.binary.enc("hello world");
console.log(result); // 1101000 1100101 1101100 1101100 1101111 100000 1110111 1101111 1110010 1101100 1100100
// Binary (Decrypt)
const result = api.encrypt.binary.dec("1101000 1100101 1101100 1101100 1101111 100000 1110111 1101111 1110010 1101100 1100100");
console.log(result); // Hello World
Information
// Info Gempa Terbaru
api.info.gempa()
.then(console.log);
Wibu Stress
// 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);
Downloader
// YouTube Music
api.downloader.yt.mp3(url)
.then(console.log);
// Youtube Video
api.downloader.yt.mp4(url)
.then(console.log);
// Youtube Play Music
api.downloader.yt.play(query)
.then(console.log);
// YouTube Play Video
api.downloader.yt.playvid(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 Downloader
api.downloader.instagram(URL)
.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)
Search
// 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)
// Sfile.mobi search
api.search.sfile(Query)
.then(console.log)
// Chord Lagu
api.search.chordlagu(Query)
.then(console.log)
Random
// Fake UserAgent
const result = api.random.fakeua();
console.log(result);
// Quotes Anime
api.random.quotesanime()
.then(console.log);
Other
// 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);
Tools
// Subdomain Finder
// lookup all subdomain
api.tools.subfinder(domain)
.then(console.log) // ex: kominfo.co.id
// 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 (optional, default: random)
// Upload File
api.tools.uploadFile(Buffer)
.then(console.log); // upload file to https://uploader.caliph.my.id
// Upload File 2
api.tools.uploadFile2(Buffer)
.then(console.log); // upload file to https://www.filezone.cf
// Minifyjs
api.tools.minifyjs(Code_javascript);
// Encrypt HTML
api.tools.EncryptHTML(Code_html);
// Unshort URL
api.tools.expandurl(URL)
.then(console.log);
// Is Porn
api.tools.isporn(domain)
.then(console.log);
// TextPro Maker
api.tools.textpro(URL, [text1, text2])
.then(console.log)
Game
// Family100
api.game.family100()
.then(console.log);
// Siapakah Aku
api.game.siapakahaku()
.then(console.log);