Iqamah prayer times

v1.0.0
org.iqamah/prayer-times Checked 4 days ago Published 19 days ago

Prayer times anywhere, mosques nearby, and a mosque's own iqamah and Jumu'ah times.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_prayer_times Prayer times for a place

Azaan (start) times for Fajr, sunrise, Dhuhr, Asr, Maghrib and Isha at a point, for one or more days. Uses the country's usual method unless one is given, and the official authority's timetable where we hold it (Malaysia, Indonesia, Singapore, Kazakhstan, Morocco). These are not a mosque's congregation (iqamah) times; for those use find_mosques_near and get_mosque_times.

ParameterTypeDescription
latitude *number
longitude *number
asrstringAsr: standard (Shafi'i, Maliki, Hanbali) or hanafi. Default: the country's or method's.
datestringFirst day, YYYY-MM-DD. Default: today at the location.
daysinteger
methodstringCalculation method. Default: the country's usual one.

find_mosques_near Mosques near a place

Mosques near a point, nearest first, with their ids for get_mosque_times. has_source says whether we can read the mosque's own times.

ParameterTypeDescription
latitude *number
longitude *number
limitinteger
namestringOnly mosques whose name contains this (case and accents ignored).
radius_kminteger

get_mosque_times A mosque's iqamah times

One mosque's congregation (iqamah) and Jumu'ah times as the mosque publishes them, from today on, with the azaan times. status says whether they are fresh, stale (latest we have), queued (not read yet) or none.

ParameterTypeDescription
mosque_id *stringThe id from find_mosques_near.
daysinteger