It is currently April 18th, 2024, 8:56 am
Get help with creating, editing & fixing problems with skins
LazieWouters
Posts: 61 Joined: August 29th, 2021, 11:11 am
Post
by LazieWouters » September 9th, 2021, 9:34 am
Good morning,
is it possible to get the forecast for the next 24 hours?
Code: Select all
HourlyForecastTemp=(?siU)"v3-wx-forecast-hourly-12hour":.*{.*"temperature":(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),.*
I tried this
:
Code: Select all
HourlyForecastTemp=(?siU)"v3-wx-forecast-hourly-24hour":.*{.*"temperature":(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),.*
death.crafter
Rainmeter Sage
Posts: 1399 Joined: April 24th, 2021, 8:13 pm
Post
by death.crafter » September 9th, 2021, 10:22 am
LazieWouters wrote: ↑ September 9th, 2021, 9:34 am
Good morning,
is it possible to get the forecast for the next 24 hours?
Code: Select all
HourlyForecastTemp=(?siU)"v3-wx-forecast-hourly-12hour":.*{.*"temperature":(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),.*
I tried this
:
Code: Select all
HourlyForecastTemp=(?siU)"v3-wx-forecast-hourly-24hour":.*{.*"temperature":(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),.*
I don't think it works that way. It's just the regex filter for what the website's json output.
What is your url?
from the Realm of Death
LazieWouters
Posts: 61 Joined: August 29th, 2021, 11:11 am
Post
by LazieWouters » September 9th, 2021, 11:18 am
The URL is:
Code: Select all
URL=https://api.weather.com/v3/aggcommon/v3-wx-observations-current;v3-wx-forecast-daily-15day;v3alertsHeadlines;v3-location-point;v3-wx-forecast-hourly-12hour?format=json&geocode=#Latitude#,#Longitude#&units=#Units#&language=#Language#&apiKey=#APIKey#
I tried this change in that code:
bud didn't work
CodeCode
Posts: 1365 Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia
Post
by CodeCode » September 9th, 2021, 12:05 pm
Google pointed me at this url - it seems to have the V3 thing, the rest is greek to me.
URL=https://api.weather.com/v3/aggcommon/v3-wx-observations-current;v3-wx-forecast-daily-15day;v3 alerts Headlines;v3-location-point;v3-wx-forecast-hourly-12 hour?format=json geocode=#Latitude#,#Longitude#&units=#Units#&language=#Language#&apiKey=#APIKey#
Never mind me.
Anyway, you have to have the api key, plus accurately navigating to the output you need. Isnt that the way?
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
death.crafter
Rainmeter Sage
Posts: 1399 Joined: April 24th, 2021, 8:13 pm
Post
by death.crafter » September 9th, 2021, 12:15 pm
LazieWouters wrote: ↑ September 9th, 2021, 11:18 am
The URL is:
Code: Select all
URL=https://api.weather.com/v3/aggcommon/v3-wx-observations-current;v3-wx-forecast-daily-15day;v3alertsHeadlines;v3-location-point;v3-wx-forecast-hourly-12hour?format=json&geocode=#Latitude#,#Longitude#&units=#Units#&language=#Language#&apiKey=#APIKey#
I tried this change in that code:
bud didn't work
I think you get the data of next 15 days, so I guess you should follow the Weather topic, pinned at the top of the Help subforum. That will tell you about all you can extract.
Changing the URL arbitrarily won't help.
from the Realm of Death
LazieWouters
Posts: 61 Joined: August 29th, 2021, 11:11 am
Post
by LazieWouters » September 9th, 2021, 12:27 pm
death.crafter wrote: ↑ September 9th, 2021, 12:15 pm
I think you get the data of next 15 days, so I guess you should follow the Weather topic, pinned at the top of the Help subforum. That will tell you about all you can extract.
Changing the URL arbitrarily won't help.
Thanks