How to Register for Yahoo! API Keys

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 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.

Important Note:
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).

Screen Shot 2016-06-10 at 3.08.59 PM


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’.

Screen Shot 2015-10-12 at 10.42.18 AM

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.

Screen Shot 2016-03-27 at 8.43.51 PM

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.

Multisite Support

I have also added two constants that you can add to your wp-config.php file: