Turning off PWS-associated keys

  • 1
  • Problem
  • Updated 2 months ago
Hi, PWS API users and future users!
 
I want to remind you that on Friday, March 22, 2019, we will begin turning off the keys associated with personal weather stations (PWSs) on the old Weather Underground API.  Please make use of this last week to complete conversion of your calls to the new PWS API.  
 
If you have not yet obtained your new API key, the instructions are below.  Be sure that you use the new key only in the new API's calls, and the old key only in the old API calls.  If you are using software that you just insert a key into, just changing the key is unlikely to work.  In that case, contact the maker of the software to confirm it will work with a key from the new WU PWS API. 
 
Access to the new PWS API is only permitted to those who are uploading data on the Weather Underground PWS network.  Information about buying and adding a PWS can be found here:  https://www.wunderground.com/weatherstation/buyingguide.asp
 
Instructions for obtaining a new PWS API key:
 
First, if you are not logged into Weather Underground, you will need to do so.  You must log in using the same email address as the PWS.  To do that, go to https://www.wunderground.com/, click on “my profile”, click on “member settings”, and log in if you are not already.  Using Chrome or Edge browsers work best for obtaining a key.  
 
Then cut and paste this into the navigation bar of your browser (again, Chrome and Edge work best):  https://www.wunderground.com/member/api-keys
 
You will then see a blank box below “Your API keys”.  Agree to the new Terms and Conditions by clicking in the small box next to “I agree”, click on the blue “GENERATE” box, and your new key will be created.  
 
The key will be masked on the screen, but you can use the “Show” link below the box to see it.  There is also another blue box, which, when clicked, copies the key to your clipboard.  Also on this page is a link to the documentation.
 
Some users have reported problems with this process.  Per reports, it seems to work better with Chrome (especially in "incognito mode") than with Firefox, and with a browser/system configuration that has not been used with WU before seems to work best of all.  

Next, once you have your new key, you can use it in the NEW API’s commands.  The documentation for those commands is here:  https://docs.google.com/document/d/1eKCnKXI9xnoMGRRzOL1xPCBihNV2rOet08qpE_gArAY/edit
 
The new API should work immediately once you have the new key in the new commands.  Again, be sure not to use the new key in old WU API calls, and the old key in new calls.
 
If you have any problems, please let me know.
 
Victoria Gardner
victoria.gardner@ibm.com

Weather Underground API customer service
Photo of Victoria Gardner

Victoria Gardner, Official Rep

  • 566 Posts
  • 81 Reply Likes

Posted 2 months ago

  • 1
Photo of Mark Mueller

Mark Mueller

  • 3 Posts
  • 0 Reply Likes
I'm curious to know who thought it was a good idea to turn off the ability to log in during the same week you're killing the API.  Your instructions are useless.
Photo of Victoria Gardner

Victoria Gardner, Official Rep

  • 565 Posts
  • 80 Reply Likes
Sad coincidence.  If you're having trouble, please email me directly.  I have my ways of beating the system into submission.

--Victoria
victoria.gardner@ibm.com
Photo of Robert Anthony Pitera

Robert Anthony Pitera

  • 9 Posts
  • 8 Reply Likes
I was able to get my new API key earlier and I just went through the steps above to verify that it was correct - it hadn't changed.  I've even been successful in getting a current conditions request.

The weirdness starts in the forecast API.  I can successfully execute a 5 Day forecast request, but I get an Access Denied error when I try any other day span.  I could almost understand 7,10 or 15 might be limited to a paying tier - though I thought you said that API access would be free for PWS uploaders - but I also get the same message when I try to get a 3 Day forecast as well.

This is the message I got when trying for a 7 Day forecast:
Access Denied
You don't have permission to access "http://api.weather.com/v3/wx/forecast/daily/7day?"; on this server.
Reference #18.5c392b17.1553351363.17b859f8
I get similar errors with different reference numbers depending on the forecast I'm requesting.  For example, this is the reference for the 10 Day forecast:

Reference #18.5c392b17.1553352485.17c8649e


and this one is for the 3 Day forecast:

Reference #18.67392b17.1553352707.1a8ce22c

Is this a technical issue or are we being limited to what data we can access?  And if so, could you explain this or refer me to a document?  I didn't see any mention of this in the emails I got, although I am not sure I have missed any either.

Thanks very much.  I've actually moved on to an MQTT method of getting my data directly from my PWS, but I continue to upload my data.  I'd kinda like to get some of that value back but if the forecasts are limited it would make me wonder about the value.

Appreciate your help here and in the past,

Robert

Photo of Victoria Gardner

Victoria Gardner, Official Rep

  • 565 Posts
  • 80 Reply Likes
The only forecast that the PWS API has access to is 5-day.  The documentation was written for all the various forecasts available in the larger API, but they are not accessible with the PWS API keys.

This is what is accessible from the PWS API:
• Current observations from the PWS network
• 5 day daily forecast
• PWS historical data
• PWS lookup by geocode, zip code and location
• Call volume: 1500/day, 30/minute

Victoria Gardner
victoria.gardner@ibm.com
Photo of Robert Anthony Pitera

Robert Anthony Pitera

  • 9 Posts
  • 8 Reply Likes
Thanks for the clarification.  Seems kind of odd that it wouldn't include the 3 Day Forecast but at least now I know why.
Photo of Mark Mueller

Mark Mueller

  • 3 Posts
  • 0 Reply Likes
Because: WU!

This whole thing would make a perfect case study of how not to treat the people who made a company great.  I suspect WU's days are numbered given the lack of respect IBM has for us.
Photo of Victoria Gardner

Victoria Gardner, Official Rep

  • 565 Posts
  • 80 Reply Likes
I'm sorry you feel that way, Mark.  I don't know why there are so many people working diligently on Weather Underground products if its days are numbered.  

--Victoria
Photo of Mark Mueller

Mark Mueller

  • 3 Posts
  • 0 Reply Likes
I'm sorry you can't see what we see.

I wouldn't know why there are so many people either, except that IBM has l shown its hand with this paid API fiasco.  There is an MBA in the organization who has calculated how many PWS feeds they can afford to lose due to this and you have tossed just enough of a bone to us in order to keep the bleeding at that level.  We all know IBM is just after the PWS data and couldn't care less about running Yet Another Website when they've already transitioned much of what used to be WU over to weather.com.

I appreciate that you've been shoved out as the customer-facing fire department and can only do what your upstream management allows, but that doesn't change anything.