In the blank space at the center of the attached widget, i had a pretty complex feature that relied on my weather underground API to lookup an xml file and print the long-ish "summary" for the days weather. It would default to today, but if you tapped on other days, it would update to the future as well.
Needless to say, now that they killed WU, i had to change to a subscription option w Dark Sky, but I cannot for the life of me seem to figure out how to point to a similar piece of data using the dark sky subscription method in KWGT? How do I lookup values in an xml file for Dark Sky?
This is helpful... But, i think where I am still confused is that I got the dark sky "subscription" through the app. So, how do I know what my api key actually is directly from darksky? I assume that has to go in the "yourapihere" portion, yes?
Ok, i have the key now... Getting really close. But sorry, not much of a programmer. How do i have it pull the lat / long automatically? If i use the line from yours, it doesnt work: latitudeandlongitude?units=auto
THis string seems to be exactly what I am looking for, and yes i already have the gv setup to change the day. I just need to know exactly how to format the "yourapihere" part so it gets location automatically. $wg(yourapihere),json,.daily.data[+gv(forecastgv)+].summary)$
You are missing the last parenthesis, look if this solve it, and you need to put your api in the apikeygoeshere place, and erase the quotation marks in the codes, "$li(lat)$" is only $li(lat)$ and $li(long)$
Ok, I have this with a global text, you need to create a global text and put your api here like one I give you in other post that is in blue with your lat and long, you need to go to the li codes in Klwp codes and copy your proper latitude and longitude
In the text you need to put this
$wg(gv(apitext),json,.daily.data[0].summary)$
where gv(apitext) is the global text that you created with your api.
Matt if you don't have luck with this, I uploaded a komponent to my Google drive with the global text and the li codes and a text to the summary, you only need to go to the globals in the komponent and in the global text erase the word "putyourapihere" and put your api code. You need to download the komponent to your phone and copy it to your card in
Kustom> Komponents
The kompo are going to show in the komps exported
Load the komponent to your preset and make the changes that I said.π
I'm still struggling. :-( I see the komponent, but I don't see how/where I change the global that it is pointing to? It is called "wund" in the komponent, but when I go to globals there is no wund?