RayKay91 / prayer-api

node and express based api that exposes scraped times from mosque website
0 stars 0 forks source link

Question #1

Open seckeytech opened 3 years ago

seckeytech commented 3 years ago

Hi, thanks for the code. just it didn't work for me.

how to adjust the prayer times?

also the times for salah are not accurate? how what rule have you used? i.e. Muslim world league rule or which one.

thanks

RayKay91 commented 3 years ago

👋 this wasn't actually meant to be consumed publicly. It scrapes the times from my local masjid's website and outputs it as an api to be consumed by my own apps. My local masjid used a custom degree calculation that doesn't match most apis. I'm sure you can find a package for what you are after on npm if you search there.

You can take a look at the source code for inspiration on how to implement something similar yourself though.