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.