https://github.com/shiyinq/al-quran
📦 Wrapper JavaScript for API Fathimah Bot - alQuran
https://github.com/shiyinq/al-quran
Last synced: 3 months ago
JSON representation
📦 Wrapper JavaScript for API Fathimah Bot - alQuran
- Host: GitHub
- URL: https://github.com/shiyinq/al-quran
- Owner: Shiyinq
- License: gpl-3.0
- Created: 2020-08-18T08:37:53.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-05T05:32:11.000Z (over 3 years ago)
- Last Synced: 2024-04-29T19:22:57.859Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Al-quran
Wrapper Javascript for API Fathimah Bot - alQuran. For more information about the API Fathimah Bot, please visit the [Fathimah](https://fathimah.docs.apiary.io/#reference/alquran) documentation.
# Instalation
```cli
npm i al-quran
```
# Usage```javascript
const alQuran = require('al-quran')
```## Methods
```javascript
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](https://fathimah.docs.apiary.io/#reference/alquran)
## Example Request
```javascript
const alQuran = require('al-quran')alQuran.surat()
.then(data => {
console.log(data)
})
.catch(error => {
console.log(error)
})
```