Iqamah prayer times
v1.0.0Prayer 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.
| Parameter | Type | Description |
|---|---|---|
latitude * | number | |
longitude * | number | |
asr | string | Asr: standard (Shafi'i, Maliki, Hanbali) or hanafi. Default: the country's or method's. |
date | string | First day, YYYY-MM-DD. Default: today at the location. |
days | integer | |
method | string | Calculation 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.
| Parameter | Type | Description |
|---|---|---|
latitude * | number | |
longitude * | number | |
limit | integer | |
name | string | Only mosques whose name contains this (case and accents ignored). |
radius_km | integer |
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.
| Parameter | Type | Description |
|---|---|---|
mosque_id * | string | The id from find_mosques_near. |
days | integer |