I do love photography and I’d like to create an app to calculate some useful parameters like Golden Hour time, Sunset time and similar ones.
I spent a lot of time searching for an extension capable to do this, but I found nothing apart from some extensions that calculate only the Sunrise time.
The parameters I need are:
Blue Hour Start and End Time (morning and evening)
Golden Hour Start and End Time (morning and evening)
If you already know an extension that can do this, please tell me.
Otherwise, if someone finds this extension idea interesting and would like to code it, it would be great!
Thank you in advance! :))
Maybe you could use an api to get sunrise, sunset time depending your location. After that you could create a custom procedure to calculate blue hour and golden hour
Firstly, thank you for your suggestion :))
Yes, I thought about using apis too, I also found some useful ones online to do this, but, unfortunately, at the moment I don’t know how to code extensions yet or use apis in my projects…
If you search community you will find many examples of how to use web component and dictionary blocks to get data fron an api, for example
Recently Kodular has removed the Json component but has added the Dictionaries.
The Dictionaries can be used to obtain data from a Json in a simple way.
Using the dictionaries you don’t need to use any Json extension.
First of all, dictionaries are not a component. That’s why you won’t find it in the Designer.
You will find it in the block section:
In this example we are going to obtain the data from the Api newsapi.org
The idea is to get something like this:
[Tutorial Json Ap…
Thank you so much, I will surely try doing this! :))
When the extension only uses formulas, it’s not too hard to do. I followed a topic here in the community. And now, there’s the Rush tool (I didn’t use it) that helps.
If you try, I believe you can.
One of the simple extensions I made for learning purposes.
Thank you, I’ll try to do it on my own then :))
I didn’t expect it to be so easy, I’ll start working on it as soon as possible!
Thank you, I’ll follow it step by step and try to figure out how to build my very first extension