Al-Quran API

Abdullah Zafar

0

Backend Engineer

Researcher

Proofreader

Django REST framework

Node.js

Python

Al-Quran API

RESTful Quran API with original Arabic text, English Translation, transliteration, Verse Search, Surah Search and Word Search in corpus in plain JSON.

Web Data Extraction

Web-Scraped from al-quran.info [Python Script used Included in ./quran-scraping] Entire Quran in JSON in ./quran-scraping/AL-QURAN_WITH_TRANSLATION_AND_TRANSLITERATION.json

Running in production

Runs on localhost:3000 by default but can be configured using the PORT environment variable.

Running tests

API Endpoints

/ Responds with JSON including some properties of the Quran. (deprecated)
/:surah Possible values: 1-114 Responds with entire Surah/Chapter of the Quran including all verses in the Surah and some additional information.
/:surah/:verse For a specific Ayah/Verse in a specific Surah along with original Arabic text, translation, transliteration and verse ID
/:surah/:range Get a range (collection) of verses within valid limits of chapters and verse numbers. e.g: /1/1-5
/:surah/:keyword Looks for a given keyword (English) in translation_eng key in the entire Quran and responds with all the verses containing the given keyword in JSON
/corpus/:keyword Looks for a given keyword (English) in translation_eng key in the entire Quran and responds with all the verses containing the given keyword in JSON

Contribute

Due to the nature of scraping from web, the JSON Quran contains unnecessary information and references which are of no use to me. Feel free to edit and remove those :)
Like this project
0

Posted Dec 7, 2023

RESTful Quran API with original Arabic text, English Translation, transliteration, Verse Search, Surah Search and Word Search in corpus in plain JSON. - GitHub…

Likes

0

Views

13

Tags

Backend Engineer

Researcher

Proofreader

Django REST framework

Node.js

Python

iMasjed
iMasjed
Fine Tailors
Fine Tailors
PortuguesePlanet
PortuguesePlanet
PromptGPT Extension
PromptGPT Extension