mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-12 11:15:12 +00:00
15 lines
386 B
JavaScript
Executable File
15 lines
386 B
JavaScript
Executable File
import * as quran from "m3o/quran";
|
|
|
|
// Lookup the verses (ayahs) for a chapter including
|
|
// translation, interpretation and breakdown by individual
|
|
// words.
|
|
async function GetVersesOfAchapter() {
|
|
let quranService = new quran.QuranService(process.env.MICRO_API_TOKEN);
|
|
let rsp = await quranService.verses({
|
|
chapter: 1,
|
|
});
|
|
console.log(rsp);
|
|
}
|
|
|
|
await GetVersesOfAchapter();
|