Muslim Salat
Extension component for MuslimSalat. This component allows you to access and retrieve prayer times using the MuslimSalat API. It provides properties to set and get the API key, events for handling successful retrieval and error scenarios, and various functions for fetching prayer times with different parameters. The extension also offers a range of properties to select the calculation method for prayer times, making it a versatile tool for integrating prayer time functionality into your app.
DOCS
Events
OnErrorOccurred
Event triggered when an error occurs during the operation.
error | text
errorFrom | text
OnGot
Event triggered when prayer times are successfully retrieved.
dataFor | list
fajr | list
shurooq | list
dhuhr | list
asr | list
maghrib | list
isha | list
Methods
Get
Fetch prayer times using the specified parameters.
location | text || City, country, state...
times | text || Daily, weekly, monthly or yearly
data | text || Data
daylight | boolean|| True or false
method | number
0 = Auto Methoud: Auto select based on the country
1 = Egyptian General Authority of Survey: This method is commonly used in Egypt and is based on calculations made by the Egyptian General Authority of Survey.
2 = University Of Islamic Sciences, Karachi (Shafi): This method is used by followers of the Shafi'i school of Islamic jurisprudence. It is provided by the University of Islamic Sciences in Karachi, Pakistan.
3 = University Of Islamic Sciences, Karachi (Hanafi): This method is used by followers of the Hanafi school of Islamic jurisprudence. It is also provided by the University of Islamic Sciences in Karachi, Pakistan.
4 = Islamic Circle of North America:
5 = Muslim World League: This method is commonly used in North America and is associated with the Islamic Circle of North America (ICNA). It is based on the prayer time calculations used by the organization.
6 = Umm Al-Qura: The Muslim World League is an international Islamic non-governmental organization. The method associated with it is used in various parts of the world and is based on astronomical calculations.
7 = Fixed Isha: This method specifies a fixed time for the Isha prayer, which means that the Isha prayer is performed at a fixed time rather than being based on astronomical calculations.
Properties
ApiKey
Set the API key.
Property Type : read-write
Accepts : text
DAILY
Get daily prayer times.
Property Type : read-only
Accepts : text
WEEKLY
Get weekly prayer times.
Property Type : read-only
Accepts : text
MONTHLY
Get monthly prayer times.
Property Type : read-only
Accepts : text
YEARLY
Get yearly prayer times.
Property Type : read-only
Accepts : text
AutoMethod
Property Type : read-only
Accepts : number
EgyptianGeneralAuthorityOfSurvey
Get the Egyptian General Authority of Survey method for calculating prayer times.
Property Type : read-only
Accepts : number
ShafiKarachiUniversityOfIslamicSciences
Get the University Of Islamic Sciences, Karachi (Shafi) method for calculating prayer times.
Property Type : read-only
Accepts : number
HanafiKarachiUniversityOfIslamicSciences
Get the University Of Islamic Sciences, Karachi (Hanafi) method for calculating prayer times.
Property Type : read-only
Accepts : number
IslamicCircleOfNorthAmerica
Get the Islamic Circle Of North America method for calculating prayer times.
Property Type : read-only
Accepts : number
MuslimWorldLeague
Get the Muslim World League method for calculating prayer times.
Property Type : read-only
Accepts : number
UmmAlQuran
Get the Umm Al-Qura method for calculating prayer times.
Property Type : read-only
Accepts : number
FixedIsha
Get the Fixed Isha method for calculating prayer times.
Property Type : read-only
Accepts : number
Demo Blocks
Demo
AIA
for mit appinventor
PrayerTimes.aia (15.7 KB)
AIX
Click ME
I just want to tell you
Don't forget to pray for Palestine
me.aemo.muslimsalat.aix (12.9 KB)