If the OP wants to check on the gust measure I am now experiencing a wind Gust speed of 17 mph 3/27/20 12:17 pm EDT. Location Code = USNY1233. I would post a screen shot but I have forgotten how to do that.
Having said all that I will now return to my assigned seat on the forums observation deck and get back to finding a elusive intermittent problem in my developing weather skin.
It is my sincere hope that everyone stays healthy.
It is currently September 20th, 2024, 7:07 am
⭐ Weather.com - Parsing the V3 JSON
-
- Posts: 60
- Joined: April 15th, 2015, 11:13 pm
-
- Rainmeter Sage
- Posts: 16564
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: ⭐ weather.com - Parsing the JSON
Exactly. Right now speed is 12, gust is 17.
Hope the same...
-
- Posts: 31
- Joined: April 5th, 2010, 5:09 am
Re: ⭐ weather.com - Parsing the JSON
Woohoo! Finally got a valid reading (for USNY1233)SCR wrote: ↑March 27th, 2020, 4:26 pm If the OP wants to check on the gust measure I am now experiencing a wind Gust speed of 17 mph 3/27/20 12:17 pm EDT. Location Code = USNY1233. I would post a screen shot but I have forgotten how to do that.
Having said all that I will now return to my assigned seat on the forums observation deck and get back to finding a elusive intermittent problem in my developing weather skin.
It is my sincere hope that everyone stays healthy.
Edit: I'm getting a reading (gusts: 22mph) in my local area now (4:00 P EDT).
You do not have the required permissions to view the files attached to this post.
Last edited by Sabertooth on March 27th, 2020, 8:18 pm, edited 1 time in total.
-
- Rainmeter Sage
- Posts: 16564
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: ⭐ weather.com - Parsing the JSON
Good! This means there was no such a value returned by the site, for a longer time. Glad if you got it working finally.
-
- Posts: 60
- Joined: April 15th, 2015, 11:13 pm
Re: ⭐ weather.com - Parsing the JSON
Excellent !!! Oh and I figured out how to attach a screenshot...Duh!Sabertooth wrote: ↑March 27th, 2020, 5:10 pm Woohoo! Finally got a valid reading (for USNY1233)
2020-03-27 (14).png
You do not have the required permissions to view the files attached to this post.
-
- Moderator
- Posts: 1387
- Joined: April 11th, 2013, 8:08 pm
- Location: Italy
Re: ⭐ weather.com - Parsing the JSON
Hi all!
It's been a very long time from my last post...
...and now I discovered that my weather skin isn't working anymore!
Before I waste my almost inexistent free time trying to understand if and how I can fix it, since it's been a long time since I edited or created a skin, can you please tell me if using that json I can have all I need to replace the old wxdata for four days?
Please consider me as less as a newbie, now...
It's been a very long time from my last post...
...and now I discovered that my weather skin isn't working anymore!
Before I waste my almost inexistent free time trying to understand if and how I can fix it, since it's been a long time since I edited or created a skin, can you please tell me if using that json I can have all I need to replace the old wxdata for four days?
Please consider me as less as a newbie, now...
-
- Rainmeter Sage
- Posts: 5528
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: ⭐ weather.com - Parsing the JSON
Yes, the JSON data can provide up to 5 days of weather using the @Current... and @Forecast... measure values.fonpaolo wrote: ↑March 30th, 2020, 8:35 pm Hi all!
It's been a very long time from my last post...
...and now I discovered that my weather skin isn't working anymore!
Before I waste my almost inexistent free time trying to understand if and how I can fix it, since it's been a long time since I edited or created a skin, can you please tell me if using that json I can have all I need to replace the old wxdata for four days?
Please consider me as less as a newbie, now...
A quick overview of converting an existing skin would be to copy all of the JSON weather measures to your @Resources folder in the skin, then in your weather skin, replace all MeasureName=... with the name of the corresponding JSON weather measure names.
JSMorley provided a reference list to help with the process.
Add #includes for the JSON weather files you will use and finally, remove all of the WXData measures.
Welcome back!
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Rainmeter Sage
- Posts: 8188
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: ⭐ weather.com - Parsing the JSON
Yes, and more. It looks something like this (well, not exactly like that, since the structure was "formatted" for clarity, but you get the point).fonpaolo wrote: ↑March 30th, 2020, 8:35 pm Hi all!
It's been a very long time from my last post...
...and now I discovered that my weather skin isn't working anymore!
Before I waste my almost inexistent free time trying to understand if and how I can fix it, since it's been a long time since I edited or created a skin, can you please tell me if using that json I can have all I need to replace the old wxdata for four days?
Please consider me as less as a newbie, now...
-
- Moderator
- Posts: 1387
- Joined: April 11th, 2013, 8:08 pm
- Location: Italy
Re: ⭐ weather.com - Parsing the JSON
Thanks for the replies, however I'm very rusty, now...
I tried to understand how this is working, digging in the code in the skin I downloaded, thanks jsmorley, however I got lost after two lines of code...
I don't even know if it's possible, but all I want to do is download only the json part and use it in my skin, hoping it contains all the information I need.
...and no, I don't want to redo my skin from scratch, so, I want to use and/or modify my measures, but limit the changes to the minimum possible.
I tried to understand how this is working, digging in the code in the skin I downloaded, thanks jsmorley, however I got lost after two lines of code...
I don't even know if it's possible, but all I want to do is download only the json part and use it in my skin, hoping it contains all the information I need.
...and no, I don't want to redo my skin from scratch, so, I want to use and/or modify my measures, but limit the changes to the minimum possible.
-
- Developer
- Posts: 22747
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: ⭐ weather.com - Parsing the JSON
To each his own, but that is just not an approach I agree with, and wouldn't put in the enormous effort required to do it.fonpaolo wrote: ↑April 1st, 2020, 12:43 pm Thanks for the replies, however I'm very rusty, now...
I tried to understand how this is working, digging in the code in the skin I downloaded, thanks jsmorley, however I got lost after two lines of code...
I don't even know if it's possible, but all I want to do is download only the json part and use it in my skin, hoping it contains all the information I need.
...and no, I don't want to redo my skin from scratch, so, I want to use and/or modify my measures, but limit the changes to the minimum possible.
I'd be happy to help you get started with using the .inc files with the full set of measures, and give some hints on how to use them with your skin, but I don't think it makes sense, in the short or long term, to re-invent the wheel.