rizfurr-api
Version:
Simple API by RizFurr
296 lines (219 loc) • 5.09 kB
Markdown
# rizfurr-api
<div align="center">
<img src="https://avatars.githubusercontent.com/u/101236698?s=400&u=ce99f02d685d58b2bc8b381afa7868481515dbe7&v=4" alt="RizFurr" width="169" />
</div>
<p align="center">
<a href="https://github.com/rizfurr"><img title="Author" src="https://img.shields.io/badge/Author-RizFurr-red.svg?style=for-the-badge&logo=github" />
<p align="center">
<a href="https://www.npmjs.com/package/rizfurr-api"><img title="Package" src="https://img.shields.io/badge/Module-RizFurr-blue.svg?style=for-the-badge&logo=npm" /></a></a>
# Note
ID</br>
Jika Ada Bug,</br>
Silahkan Buat [Issues](https://github.com/rizfurr/rizfurr-api/issues/new)
EN</br>
If there are bugs,</br>
please create [Issues](https://github.com/rizfurr/rizfurr-api/issues/new)
# Installation
## Latest
```bash
$ npm i github:rizfurr/rizfurr-api
```
## Npm
```bash
$ npm i rizfurr-api
```
# Require
```js
const api = require("rizfurr-api");
```
# Docs
## Encrypt
```js
// 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
```js
// Info Gempa Terbaru
api.info.gempa()
.then(console.log);
```
## Wibu Stress
```js
// 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
```js
// 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);
// SoundCloud 2
api.downloader.soundcloud2(url)
.then(console.log);
// Spotify
api.downloader.spotify(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)
```
## Search
```js
// 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
```js
// Fake UserAgent
const result = api.random.fakeua();
console.log(result);
// Quotes Anime
api.random.quotesanime()
.then(console.log);
```
## Other
```js
// 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
```js
// Whois
api.tools.whois(domain)
.then(console.log);
// getHeaders
api.tools.getHeaders(url)
.then(console.log);
// Upload File
api.tools.uploadFile(Buffer)
.then(console.log); // upload file to https://file.rizfurr.ml
// 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
```js
// Family100
api.game.family100()
.then(console.log);
// Siapakah Aku
api.game.siapakahaku()
.then(console.log);
```