islamic-network / api.aladhan.com

The AlAdhan API
GNU General Public License v3.0
118 stars 30 forks source link

Add Moonsighting Prayer Times Method #36

Closed meezaan closed 3 years ago

meezaan commented 4 years ago

Add the Moonsighting.com calculation method for Fajr and Isha to the API.

spamawaymate commented 4 years ago

This might help with this: https://github.com/PrayerTimeResearch/PrayerTimeAPI

meezaan commented 4 years ago

Thank you @spamawaymate.

meezaan commented 3 years ago

A library has been created to do this @ https://github.com/islamic-network/prayer-times-moonsighting.

meezaan commented 3 years ago

Completed, but docs need to be added.

Examples: http://api.aladhan.com/v1/timingsByCity/21-04-2020?city=London&country=UK&method=15&shafaq=abyad http://api.aladhan.com/v1/timingsByCity/21-04-2020?city=London&country=UK&method=15&shafaq=ahmer http://api.aladhan.com/v1/timingsByCity/21-04-2020?city=London&country=UK&method=15&shafaq=general

meezaan commented 3 years ago

Documentation updated: https://github.com/islamic-network/api.aladhan.com/commit/1df2d20e8098f7f6c3d4c55d9a892045dfd99a01 https://github.com/islamic-network/aladhan.com/commit/1c44922248de4e77c7ee6b9734a948cff7676cff