islamic-network / prayer-times

An Islamic Prayer Times Library written in PHP. It performs the core calculations for the AlAdhan API @ https://aladhan.com.
https://islamic.network
GNU Lesser General Public License v3.0
68 stars 23 forks source link

Does the Aladhan Prayer time support existing API such as: https://prayer.awqaf.ae/ #10

Open mochadwi opened 1 month ago

mochadwi commented 1 month ago

Recently, our apps stop working due the API seems shutdown already from government, even I cannot access the API. I'm not sure if there's any alternative for the API.

Maybe if there's possibility to support it, i'll be willing to help insha Allah.

Because this API has some specific usecase like there's some field like emirateID, areaID, cityID and etc

Screenshot 2024-10-01 at 11 27 31 AM Screenshot 2024-10-01 at 11 28 41 AM Screenshot 2024-10-01 at 11 29 09 AM
meezaan commented 1 month ago

I'm afraid not. We had even requested API keys several times but never got a response from Awqaf. The best we can do is enhance the meta section in the API response to include information like Emirate and area if it's available, but beyond that there's not much that is possible.

mochadwi commented 1 month ago

i see that will be much help for the information like areaId & emirateId

meezaan commented 1 month ago

i see that will be much help for the information like areaId & emirateId

Not IDs, but names. Not sure how the UAE government would be creating IDs for these in their internal systems.

mochadwi commented 1 month ago

"format": "DD-MM-YYYY", did we can change the format date for greg & hijri? so it'll use iso8601?

meezaan commented 1 month ago

The API supports iso8601 but only for prayer times, not the actual dates. The date object contains all the parts though that you would need to assemble an iso8601 formatted date.