Skip to content

HETHAT/aladhan.py

Repository files navigation

aladhan.py is a pythonic wrapper for the Aladhan prayer times API.

Discord support server

Code coverage

Installation

Python 3.7 or higher is required.

To Install aladhan.py with pip:

pip install aladhan.py

Quick Example

import aladhan

client = aladhan.Client()
prayer_times = client.get_timings_by_address("London")
for prayer_time in prayer_times:
    print(prayer_time)

You can look into more examples here

Contribute

Support

If you are having issues, please let me know by joining the discord support server

License

The project is licensed under the MIT license.

Links