Skip to main content

A Python package to calculate Islamic prayer times for any location in the world.

Project description

Al Adhan - Islamic prayer times API in Python!

Without any API keys, authentication, or registration, you can use this API to get the Islamic Adhan (a call to prayer) times for any location in the world for free using Python, this project uses the aladhan.com official prayer times API (thanks to them for the great work and free API). I have made this API to convert the JSON responses from the aladhan.com API and simplify them to a Python objects and classes, so you can use them in your Python projects and they are easy to use.

This is still the alpha version, there is a lot of coming features, also note that any big changes in the API will happen at any time! If you find any bugs or problems, please report them in the issues page.


Learn more about Adhan in Wikipedia


Features

  • Get the prayer times for any location in the world.
  • Get the prayer times for any date.
  • No API keys, authentication, or registration required.
  • Converting the JSON responses to Python objects and OOP based.
  • More adhan metadata made by the module, such as the number of rakat in salah, sunnan al rawatib rakat number, is hijri or secret salah, etc.

Installation

The project is available on PyPI, so you can install it using pip:

pip install aladhan-api

If you have an older version of the API, you can update it to the latest version using:

pip install aladhan-api --upgrade

Documentation

Detailed documentation for the API can be found at Read the Docs.


Versioning

v6.1.0 (Alpha) Latest

v6.0.0 (Alpha)

v5.0.0 (Alpha)

v4.1.0 (Alpha)

v4.0.0 (Alpha)

v3.0.0 (Alpha)

v2.2.0 (Alpha)

v2.0.1 (Alpha)

v2.0.0 (Alpha)

v1.0.0 (Alpha) - initial release


See all the releases here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aladhan-api-6.1.0.tar.gz (13.0 kB view details)

Uploaded Source

File details

Details for the file aladhan-api-6.1.0.tar.gz.

File metadata

  • Download URL: aladhan-api-6.1.0.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for aladhan-api-6.1.0.tar.gz
Algorithm Hash digest
SHA256 0924fd9b284f6df03c3ff90469bdbce733d90784f5c944469485d20843c55561
MD5 004d36e6516d79efa01371e405be7aa8
BLAKE2b-256 40ef5c788fc963a18e5b1d5e7ad86ffcaa73105a1214f0207f334b1efa431380

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page