Penginstalan
npm install xfarr-api
npm uninstall xfarr-api
Downloader
const xa = require('xfarr-api');
const url_youtube = 'https://youtu.be/zXiSTrOQhxM'
const url_tiktok = 'https://vt.tiktok.com/ZSehyjVW9/'
const url_instagram = 'https://www.instagram.com/p/CJFsOsKJMHa6FCRkbjn0mR3jJ0KwHOCCMaW7_Q0/?utm_medium=copy_link'
const url_facebook = 'http://www.facebook.com/groups/526909968570398/permalink/571916620736399/'
const url_twitter = 'https://twitter.com/LucuLucuVideo/status/1454834787382816775?s=20'
const url_soundcloud = 'https://soundcloud.com/enggak-tau-829795349/tri-suaka-aku-bukan-jodohnya?utm_campaign=social_sharing&utm_source=mobi&utm_terms=social_sharing_on_mobi.control%2Ctop_curators.top_curators'
const url_imgur = 'https://imgur.com/gallery/rK8ppvC'
const url_imdb = 'https://www.imdb.com/video/vi146981657?listId=ls053181649'
const url_telesticker = 'https://t.me/addstickers/c1129234339_by_HarukaAyaBot'
xa.Youtube(url_youtube)
.then(data => {console.log(data)
});
xa.Tiktok(url_tiktok)
.then(data => {console.log(data)
});
xa.Instagram(url_instagram)
.then(data => {console.log(data)
});
xa.Facebook(url_facebook)
.then(data => {console.log(data)
});
xa.Twitter(url_twitter)
.then(data => {console.log(data)
});
xa.SoundCloud(url_soundcloud)
.then(data => {console.log(data)
});
xa.Imgur(url_imgur)
.then(data => {console.log(data)
});
xa.Imdb(url_imdb)
.then(data => {console.log(data)
});
xa.Telesticker(url_telesticker)
.then(data => {console.log(data)
});
Anime
const xa = require('xfarr-api');
const query = 'naruto'
xa.Anime(query)
.then(data => {console.log(data)
});
xa.Manga(query)
.then(data => {console.log(data)
});
xa.Character(query)
.then(data => {console.log(data)
});
Search
const xa = require('xfarr-api');
const query_pinterest = 'elaina'
const query_film = 'love'
const query_wattpad = 'love'
const query_webtoons = 'love'
const query_mangatoons = 'love'
const query_drakor = 'love'
const query_stickersearch = 'patrick'
xa.Pinterest(query_pinterest)
.then(data => {console.log(data)
});
xa.Film(query_film)
.then(data => {console.log(data)
});
xa.Wattpad(query_wattpad)
.then(data => {console.log(data)
});
xa.Webtoons(query_webtoons)
.then(data => {console.log(data)
});
xa.Mangatoons(query_mangatoons)
.then(data => {console.log(data)
});
xa.Drakor(query_drakor)
.then(data => {console.log(data)
});
xa.StickerSearch(query_stickersearch)
.then(data => {console.log(data)
});
Islami
const xa = require('xfarr-api');
const query = 'luqman'
xa.ListSurah()
.then(data => {console.log(data)
});
xa.Surah(query)
.then(data => {console.log(data)
});
xa.TafsirSurah(query)
.then(data => {console.log(data)
});
Information && News
const xa = require('xfarr-api');
const username = 'WattpadRomanceIN'
xa.JadwalBola()
.then(data => {console.log(data)
});
xa.JadwalTv()
.then(data => {console.log(data)
});
xa.JadwalSholat()
.then(data => {console.log(data)
});
xa.KompasNews()
.then(data => {console.log(data)
});
xa.Inews()
.then(data => {console.log(data)
});
xa.WattpadUser(username)
.then(data => {console.log(data)
});
THANKS TO 🎉