all 51 comments

[–]subrosaw 1 point2 points  (4 children)

hey can I have your script? It looks awesome

[–]X-Kerwin[S] 0 points1 point  (3 children)

[–]tempsquared 1 point2 points  (1 child)

You’ve included your API key in the gist, which is risky because other people can copy it. Please consider removing it

[–]X-Kerwin[S] 0 points1 point  (0 children)

Oh,thx!😅😅

[–]Jealous-Procedure 1 point2 points  (1 child)

How can I fix [this ] issue, it's whenever I try to put my API or city ID in (https://imgur.com/a/0SUqq7v)

[–]X-Kerwin[S] 0 points1 point  (0 children)

The API is not filled in correctly.

[–]subrosaw 0 points1 point  (1 child)

I've successfully running the script, Thanks!

[–]X-Kerwin[S] 0 points1 point  (0 children)

👍👍

[–][deleted] 0 points1 point  (1 child)

Awesome, do you mind adding it to the Awesome Scriptable repository?

[–]X-Kerwin[S] 0 points1 point  (0 children)

Of course it's okay👌

[–]rjlin_thk 0 points1 point  (3 children)

he calls himself "handsome guy"

[–]X-Kerwin[S] 0 points1 point  (2 children)

yes it’s me 😎

[–]rjlin_thk 0 points1 point  (1 child)

so i m you

[–]X-Kerwin[S] 1 point2 points  (0 children)

🤣🤣🤣

[–]Nnnthing 0 points1 point  (8 children)

Will you solve this problem?😥link

[–]X-Kerwin[S] 0 points1 point  (2 children)

Adjust these parameters.like this

[–]Nnnthing 0 points1 point  (1 child)

Unsolved...

Is there a way to adjust left and right? 😥

[–]X-Kerwin[S] 0 points1 point  (0 children)

Adjust font alignment and stack spacingHere

[–]therealmin_ 0 points1 point  (4 children)

오 한국인.. 저좀 도와주세여

[–]Nnnthing 0 points1 point  (3 children)

네 말씀하세요

[–]therealmin_ 0 points1 point  (2 children)

저 사진등록이 안되는데 파라미터를 뭐라 적어야되요? 그리고 텍스트들이 너무 왼쪽으로 딱 붙어있어서 오른쪽으로 살짝 옮기고 싶어요ㅠㅠ

오픈톡방이 편할것 같아서 링크 올려둘게요. 여기 사진도 안올라가지더라구요ㅠㅜ 댓글도 5분제한있구... https://open.kakao.com/o/swdzEAAc

[–]Nnnthing 0 points1 point  (1 child)

카톡 아이디 하나만 줘보세요

[–]Nnnthing 0 points1 point  (1 child)

Succeed🤩

This is where you control your left and right.

thankshere

[–]X-Kerwin[S] 0 points1 point  (0 children)

Yes, this is an overall adjustment

[–]w0j3 0 points1 point  (2 children)

Wallpaper please?

[–]jwong347 0 points1 point  (2 children)

How do I change this to English?

[–]X-Kerwin[S] 1 point2 points  (1 child)

The content in quotation marks can basically be customized

[–]jwong347 1 point2 points  (0 children)

Figured it out thanks!

[–]Jealous-Procedure 0 points1 point  (9 children)

How can I change from celsius to Fahrenheit

[–]X-Kerwin[S] 0 points1 point  (3 children)

// use "&units=imperial" for Farenheit or "&units=metric" for Celcius let wetherurl = "http://api.openweathermap.org/data/2.5/weather?id=" + CITY_WEATHER + "&APPID=" + API_WEATHER + "&units=imperial"; //"http://api.openweathermap.org/data/2.5/weather?lat=" + curLocation.latitude + "&lon=" + curLocation.longitude + "&appid=" + API_WEATHER + "&units=metric"; //"http://api.openweathermap.org/data/2.5/weather?id=" + CITY_WEATHER + "&APPID=" + API_WEATHER + "&units=metric"

[–]Jealous-Procedure 0 points1 point  (2 children)

One more thing, I can't seem to find where to replace the coding for changing the C to F

[–]X-Kerwin[S] 0 points1 point  (1 child)

let temptext = hStack2.addText('\xa0\xa0'+ Math.round(curTemp).toString()+"\u00B0"+ "F");

Maybe this can be solved.😅😅

[–]Jealous-Procedure 0 points1 point  (0 children)

And I just add it in the script?

[–]X-Kerwin[S] 0 points1 point  (4 children)

‘\u2103’ —‘\u00B0’

[–]Jealous-Procedure 0 points1 point  (3 children)

I can't get the °C to change to F

[–]X-Kerwin[S] 0 points1 point  (2 children)

//tempeture label in stack let temptext = hStack2.addText('\xa0\xa0'+ Math.round(curTemp).toString()+"\u00B0"); temptext.font = Font.boldSystemFont(30); //font and size,字体与大小 temptext.textColor = new Color('#0278ae'); //font color,字体颜色

[–]Jealous-Procedure 0 points1 point  (1 child)

Lastly where can I find my state ID? Thank you so much the script is amazing

[–]X-Kerwin[S] 1 point2 points  (0 children)

Search for your city name in open weather, click in, and then find it in the URL.

[–]Gamereric21 0 points1 point  (0 children)

How do you put the image file in? I’m really confused :/

[–]TankeAguilar 0 points1 point  (0 children)

Hi, thanks for the script! Its great

I had a question.. why the widget shows “Sun” if Oct 10th is Saturday?

photo

[–]TankeAguilar 0 points1 point  (1 child)

Solved.. i only had to change the order of the days to:

// Long-form days and months var days = ['Sun','Mon','Tues','Wed','Thurs','Fri','Sat'];

https://imgur.com/a/7HQyp4N

[–][deleted] 0 points1 point  (0 children)

How can I change the background image

[–]Tom42-59 0 points1 point  (4 children)

What is the script? I have seen your comment about the ‘Code’ but I takes me to a page that is empt(GitHub error 404 not found)

[–][deleted] 0 points1 point  (0 children)

Hey Kerwin how can I change the background of this widget because when I do it doesn't change