al-quran
v1.0.3
Published
Wrapper Javascript for API Fathimah Bot - alQuran
Downloads
10
Readme
Al-quran
Wrapper Javascript for API Fathimah Bot - alQuran. For more information about the API Fathimah Bot, please visit the Fathimah documentation.
Instalation
npm i al-quran
Usage
const alQuran = require('al-quran')
Methods
alQuran.surat()
alQuran.nomorSurat(nomor)
alQuran.tampilAyat(surat, ayat)
alQuran.bahasaAyat(surat, ayat, bahasa)
alQuran.daftarBahasa()
alQuran.pencarian(kata, mulai, limit, bahasa)
alQuran.catatanDepag(nomor)
alQuran.quranAcak()
about parameter see Fathimah
Example Request
const alQuran = require('al-quran')
alQuran.surat()
.then(data => {
console.log(data)
})
.catch(error => {
console.log(error)
})