allahuma saliy ealaa sayidina muhamad, the quri-api is a python web application that provides a simple and easy way to access the quran api.
- simple and easy to use and easy to understand
- you can find all the quran surahs and verses
- you can find & add your favorite reciters and listen to their recitations
- you can find azkar with categories
- you can find the quran translation
First make directory as name instance in your project directory.
Then create a file named config.py in the instance directory.
# config.py
SECRET_KEY = "any string to secret your app"
ALLOW_HOSTS = ["*"]
DOMAIN = "http://localhost:5000" # like https://cdn.fdrbot.comFirst, you need to clone porject from github.
git clone https://github.com/DwcTeam/quran-api.gitThen, you need to install all the dependencies.
pip install -r requirements.txt # Windows
pip3 install -r requirements.txt # Linux / MacOSThen, you need to run the server.
python app.py # Windows
python3 app.py # Linux / MacOS - Optional: you can install the server with
pip install gunicorn& run it withgunicorn app:app -b="host:port"replacehost:portwith your host and port or rungunicorn app:app.
After that, you need to install a cdn files to your server. from this link Google Drive and copy the reciters.rar file to your server to cdn/reciters and unrar it.
/- States the root of the application & is allow host./moshaf/:page_number.png- Get the page image of the moshaf./reciters/:reciter_name/:surah_number.mp3- Get the recitation of the surah.
All copyright belongs to the HazemMeqdad and DwcTeam.