meltuhamy / masjid-times

Finally a prayer times app that works with your Mosque!
http://meltuhamy.com/masjid-times/
12 stars 4 forks source link

Have 'traditional' prayer times feature #35

Closed meltuhamy closed 11 years ago

meltuhamy commented 11 years ago

Allow an option to get prayer times by location using one of the old calculation methods. this will accomodate people with now mosques nearby. http://salah.com/ has an API which does this:

> curl "http://salah.com/times/get" --data "lt=51.4937517&lg=-0.2186368999999786&e=10.9127721786499&t=Latymer+Court%2C+Hammersmith+Road%2C+London%2C+Greater+London+W6+7JE%2C+UK&m=MWL&ctry=GB"
{"Qiblah":118.65,"Location":"Latymer Court, Hammersmith Road, London, Greater London W6 7JE, UK","Prayers":{"2013":{"4":{"30":{"Fajr":"3:10 AM","Sunrise":"5:35 AM","Dhuhr":"12:58 PM","Asr":"4:58 PM","Maghrib":"8:20 PM","Isha":"10:34 PM","Qiyam":"1:38 AM"}}}}}
meltuhamy commented 11 years ago

Also: http://praytimes.org/code/git/?a=tree&p=PrayTimes&hb=HEAD&f=v1/php