WXforum.net

Web Weather => Weather Website PHP/AJAX scripting => Custom Website Templates => Topic started by: Jáchym on May 19, 2019, 12:26:33 PM

Title: WU - API gone
Post by: Jáchym on May 19, 2019, 12:26:33 PM
Hi guys,

so as of today all the history data from WU is no longer accessible. My guess is they cut off the original data providing pages and now only use their new API system. This is no surprise for me I sort of felt this was coming years ago given their appalling support and ever increasing ignorance of users.

Anyway, I wanted to look at the new API system, basically the only thing that interests me is the rapid fire data because if users want to use WU to run their own pages they need current data, not hourly averages.

However, as far as I can see, the link for rapid fire API documentation is dead (or rather not dead, but redirects to weekly summary), do you see the same issue?

https://docs.google.com/document/d/1eKCnKXI9xnoMGRRzOL1xPCBihNV2rOet08qpE_gArAY/edit

As far as I can see there is currently no way to get current data via the API because the doucumentation including the link needed to get the data is non-functional

Title: Re: WU - API gone
Post by: Bushman on May 19, 2019, 12:44:36 PM
Hey, welcome back!  Haven't seen you around much.  Have you tried using your ID and key?  https://api.weather.com/v2/pws/dailysummary/1day?stationId=NNNNNN&format=json&units=e&apiKey=yourApiKey 

And didn't IBM do away with the free keys?
Title: Re: WU - API gone
Post by: txweather.org on May 19, 2019, 12:52:10 PM
Hey, welcome back!  Haven't seen you around much.  Have you tried using your ID and key?  https://api.weather.com/v2/pws/dailysummary/1day?stationId=NNNNNN&format=json&units=e&apiKey=yourApiKey 

And didn't IBM do away with the free keys?

No they did not. If you upload data you can still have access via the new keys.
Title: Re: WU - API gone
Post by: txweather.org on May 19, 2019, 12:55:44 PM
By the way, I saw this coming from a mile away and I open this thread: https://www.wxforum.net/index.php?topic=36901.0
Because of this. I want to get away from any wu dependencies.

Nothing that has wu related reports is working!

https://www.txweather.org/wxStartReports.php
https://www.txweather.org/wxwuhistory.php
https://www.txweather.org/wxwugraphs.php

Now what? :(
Title: Re: WU - API gone
Post by: PaulMy on May 19, 2019, 01:04:16 PM
I am using the WU API json for a current conditions and 5-day forecast script and that is working and current.

Enjoy,
Paul
Title: Re: WU - API gone
Post by: Jáchym on May 19, 2019, 01:23:49 PM
Hi guys,
yes I know that works, but in the documentation (see the link I posted) there is a link for documentation of rapid fire data via API - thats what is crucial to me because if users want to update their websites via this API they need more frequent data than hourly summaries. And when you click that rapid fire API documentation, the link goes to 7 day summary...
Title: Re: WU - API gone
Post by: gszlag on May 19, 2019, 02:04:09 PM
Spent the day trying to figure out why my meteotemplate at weather.glenns.ca (http://weather.glenns.ca) went down yesterday afternoon...seems to come back every few or several hours for just a few minutes. Last upload was today at 16.49 UTC (12.49 EDT)

Also my weather34 home template (coincidentally?)at  https://glenns.ca/pwsWD/index.php (https://glenns.ca/pwsWD/index.php) seems also to be broken or partially broken when clicking on "Today" for temp, barometer, rain, etc:

No valid data file found, script ends

Although It looks like some data is being pulled down in the weather34 template, I am not sure if this is a WU API problem, hosting issue or something else.

Both templates use the WU API. I just got my WU API last month.

I think station owners may have to consider hardware solutions to collect and manage our own data.
---
Hi guys,

so as of today all the history data from WU is no longer accessible. My guess is they cut off the original data providing pages and now only use their new API system. This is no surprise for me I sort of felt this was coming years ago given their appalling support and ever increasing ignorance of users.

Anyway, I wanted to look at the new API system, basically the only thing that interests me is the rapid fire data because if users want to use WU to run their own pages they need current data, not hourly averages.

However, as far as I can see, the link for rapid fire API documentation is dead (or rather not dead, but redirects to weekly summary), do you see the same issue?

https://docs.google.com/document/d/1eKCnKXI9xnoMGRRzOL1xPCBihNV2rOet08qpE_gArAY/edit

As far as I can see there is currently no way to get current data via the API because the doucumentation including the link needed to get the data is non-functional