raiguard / ModernGadgets

Sleek, minimalist, information-dense gadgets for the modern desktop. Inspired by the AddGadgets.com system monitoring gadgets. Built on the Rainmeter platform.
MIT License
300 stars 32 forks source link

Weather.com API Access Denied #274

Closed thickconfusion closed 2 years ago

thickconfusion commented 2 years ago

Checking Rainmeter logs, looks like I'm being access to the following URL:

https://api.weather.com/v3/aggcommon/v3-wx-observations-current;v3-wx-forecast-daily-15day;v3alertsHeadlines;v3-location-point?format=json&geocode=[sanitized]&units=e&language=en-US&apiKey=d522aa97197fd864d36b418f39ebb323

I am on VPN. I tried switching sites/servers, but no luck yet.

SilverAzide commented 2 years ago

Looks like weather.com changed the API key. Find the file WeatherComJSONVariables.inc, and change the APIKey variable to this:

APIKey=21d8a80b3d6b444998a80b3d6b1449d3
thickconfusion commented 2 years ago

Yup. That was it. https://github.com/raiguard/ModernGadgets/blob/c1b1ff5b3618e2b44733df25744b879671111ca6/Skins/ModernGadgets/WeatherMeter/Includes/WeatherComJSONMeasures.inc#L10

Needs updated.

reidnolan38 commented 2 years ago

Looks like weather.com changed the API key. Find the file WeatherComJSONVariables.inc, and change the APIKey variable to this:

APIKey=21d8a80b3d6b444998a80b3d6b1449d3

worked for me too

oldlefthander commented 2 years ago

My API setting was in a file called WeatherComJSONMeasures.inc not "Variables". But same issue. changed key and I'm good !!