ZakariaMahmoud / Morocco-Prayer-Times-API

Morocco Prayer Times API ( From the Ministry of Endowments and Islamic Affairs in Morocco habous.gov.ma )
https://www.prayertimes.mahmoud.ma/api/
19 stars 4 forks source link

Add prayer times for 2022 #10

Open MasterKym opened 2 years ago

MasterKym commented 2 years ago

Salamo 3alaykom, how can I get prayer times for 2022 please ?

abumalick commented 2 years ago

@ZakariaMahmoud

ZakariaMahmoud commented 2 years ago

Hello All, this week incha'Allah i will update the API

abumalick commented 2 years ago

Thank you!

Can you tell me how you get the prayer times for the full year? I only found data for the current month in the afqaf website.

— Abdullah Hilson

On 16/07/2022, at 09:49, Mahmoud Zakaria @.***> wrote:

 Hello All, this week incha'Allah i will update the API

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

ZakariaMahmoud commented 2 years ago

I get the API from menara.ma @abumalick

MasterKym commented 2 years ago

@ZakariaMahmoud I'd love to have access to the source code that pulls the prayer time by city. For example getPrayerTimes(city: string):PrayerTimes[365] I want to later use these to inject them into a calendar so it's easier to know when to not schedule calls. Thank you.

creskopper commented 1 year ago

Hi 👋 @MasterKym I don't know if it’ll be useful for your use case, but I have made a basic API that retrieves prayer times from the official Habous gov website. You can use the API to retrieve available cities and prayer times for a specific city (Just the current Hijri month). Repo: Habous Prayer Times API