In March of 2016 Yahoo! started requiring API Keys to access their weather data. This is a simple way for Yahoo! to track the usage of websites that are accessing the data they provide for free.
The API Keys are free to register.
In version 1.1.8 of the Awesome Weather Widget PRO plugin, there are now two new fields for a Yahoo! Consumer Key and a Yahoo! Secret Key. Multisite support also available.
How to get the Keys
Go to developer.yahoo.com/apps/create and create a Yahoo! account if you don’t have one. After you have registered (or if you already have an account) it should show you a ‘Create Application’ form.
The callback domain says ‘optional’ but I am getting reports that the API Keys don’t work without a callback domain (it doesn’t even have to be the one your widget is located on).
You do not need to check any of the checkboxes at the bottom. Just click ‘Create App’.
The page should save and you’ll be presented with a Consumer Key and a Secret Key. Leave this page open and start a new window or tab.
On Your Website
Now in your new tab or window, navigate to your wp-admin in your website under ‘Settings’ -> ‘Awesome Weather’.
There are two new fields starting in version 1.1.8 of the Awesome Weather Widget PRO plugin that allow you to add your new keys to your site.
Copy and paste the code from the Yahoo! page we generated in the previous tab, exactly as they have them:
Click the ‘Save Changes’ button at the bottom of the page.
Note: you may also want to clear the cache after you hit save. This will start your widget with fresh data instead of cached data from your database.
I have also added two constants that you can add to your wp-config.php file: