rasi_tech
(rasi tech)
February 2, 2024, 7:54am
#1
Hello Kodular community,
I am excited to share with you my new extension, IslamicPrayer, which is designed to fetch Islamic prayer times from an API. This extension provides a simple way to integrate prayer times into your Kodular apps.
Features:
Retrieve prayer times for Subuh, Dzuhur, Ashr, Maghrib, and Isya.
Usage:
Initialize the extension with your API key and city.
Use the getPrayerTimes
function to fetch the prayer times.
Receive the PrayerTimesReceived
event with individual parameters for each prayer time.
Utilize the getter methods to access each prayer time individually.
Block:
Extension Download:
com.rasitech.islamic.prayer.aix (8.7 KB)
How To Get Api?
Open https://api.zenext.xyz/ and click profile
Feel free to try it out and provide feedback. I hope this extension proves useful for incorporating Islamic prayer times in your Kodular projects.
Thank you!
5 Likes
Taifun
February 2, 2024, 1:09pm
#4
Donโt forget to follow the naming conventionsโฆ
getPrayerTimes โ GetPrayerTimes
If you are developing an extension, then please follow the naming conventions, which is UpperCamelCase for the package name as well as for property, method and event names (i.e. the first letter should be a capital letter) and lowerCamelCase for parameter names, no underscores .
Example
[naming]
What does UpperCamelCase mean?
UpperCamelCase (part of CamelCase ) is a naming convention in which a name is formed of multiple words that are joined together as a single word with the first lโฆ
Taifun
1 Like
rasi_tech
(rasi tech)
February 3, 2024, 1:51pm
#5
Thank you, I have updated the AIX
IslamicPrayer.aix (8.7 KB)
Taifun
February 3, 2024, 2:22pm
#6
please edit the first post in this thread and update the aix there
Taifun
I can not access link https://api.zenext.xyz/
It says This site canโt provide a secure connection
rapida959595
(ะฅะพะทัะธะฝ ะะพัะธ ะะธัะตะปัะผะฐะฝ)
March 19, 2024, 4:58pm
#10
this extension would be ideal if it worked in the background
Taifun
March 19, 2024, 7:10pm
#12
you can get it working in the background together with itooโฆ
[image]
ItoO Tasks is a specially built extension (completely different from the old one) that makes such Environment that it would be possible to allow things like Procedures/Variables to be accessed when the App is In Background.
Blocks
Here are some of the blocks, blocks that arent mentioned are intended for Test only purpose.
Initialize
[image]
Initializes the service that would run after @latency.
Name is the (main) procedure name that will be called.
Of โrunWhileActiveโ, if setโฆ
Taifun
2 Likes