Skip to main content

Quran.com API Build Status

This is a python wraper for quran.com v3 api

API will respond with English content by default, but you can get content in other language for most api calls using language query parameters. You can pass language id or language iso code as query string value. For list of available language see languages endpoint.

Using quran.com

Installing

python3 -m pip install git+https://github.com/dreygur/Quran.com.git

or

pip install git+https://github.com/dreygur/Quran.com.git

Importing Quran:

from quran import Quran
qur = Quran()

Methods

from quran import Quran
qur = Quran()

# All the methods returns a dictionary object

# Getting all Recitations
qur.get_recitations

# Getting all available Translations
qur.get_translations()

# Getting all avalailable Languages
qur.get_languages()

# Getting all Tafsirs available in this api
qur.get_tafsirs()

# Getting all Chapters names
qur.get_chapter(6, info=True, language='bn') # Keyworded arguments are optional

# Getting all the Verses from a chapter
qur.get_verses(6)

Metadata

Release files for quran 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quran 1.0.0
File Size Uploaded
quran-1.0.0.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quran 1.0.0
File Interpreter ABI Platform
quran-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.8 kB

Release files / quran-1.0.0.tar.gz

Download URL quran-1.0.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0d706dae770902a0a882696b0bffdda07cbfc36a798c56ba5b83214db1b88d79
BLAKE2b-256 checksum
How to use checksums
fad7bd6461ddc67ac083afc0381af6bb786d15f000e37ac22c22b0fe1a18f5a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5

Release files / quran-1.0.0-py3-none-any.whl

Download URL quran-1.0.0-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7abe0db87ce435b52d99d21611cdd646ffa12f0fcae386951847271082c553d8
BLAKE2b-256 checksum
How to use checksums
e2282f49b29fa0174661918f8daa2f86e939ae1712c62180cb7c69ddbc375265
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page