Hello,

On Sunday, April 5, 2020 at 12:49:08 PM UTC-4, Ernest Jillson wrote:
>
> I have an API key from WU. It's free (probably because my station is 
> registered with them). I haven't tried it, but I would think there would be 
> a way to embed a forecast in your page using WU with a key?  Has anyone 
> done this?
>

I tried this yesterday. Was able to get the weewx-forecast 
<https://github.com/matthewwall/weewx-forecast> extension to work when run 
with WeeWX 3.9 but when I configured my WU API key, the response was 
"service not available." On further investigation, it seems the WU API was 
shut down in February 2019. In it's place, there's an API at weather.com. 
You can see the announcement at 
https://apicommunity.wunderground.com/weatherapi/topics/weather-underground-api-update.

Here are some links to the weather.com API:
APIs for Personal Weather Station Contributors 
<https://docs.google.com/document/d/1eKCnKXI9xnoMGRRzOL1xPCBihNV2rOet08qpE_gArAY/edit>
5 Day Daily Forecast for Personal Weather Station Owners - v3.0 
<https://docs.google.com/document/d/1_Zte7-SdOjnzBttb1-Y9e0Wgl0_3tah9dSwXUyEA3-c/edit>

I was able to use my WU API key with the weather.com API and successfully 
retrieve a five-day forecast to my browser in JSON. At first glance, it 
appears the weather.com API bears little resemblance to the WU API other 
than the URL is specified differently. Assuming this is the case, it would 
take a bit of work to add the weather.com API to weewx-forecast as a 
supported service.

However, I found that the weewx-forecast extension did not work with WeeWX 
4 beta running with Python 3. It seems there are differences with the 
Python Thread module between v2 and v3. I was able to work around some of 
the issues but not to the extent that I could get the extension to work.

-Bill


>
> On Thu, Apr 2, 2020 at 12:58 AM William Burton <[email protected] 
> <javascript:>> wrote:
>
>> Hello,
>>
>> On Wednesday, April 1, 2020 at 2:07:56 PM UTC-4, Chris Richmond wrote:
>>>
>>> Just saw that Apple bought DarkSky, and the API will get disabled end of 
>>> 2021.  Also noticed that TheWeatherChannel's
>>> web site is reporting as "by IBM" now.
>>>
>>> Chris
>>>
>>>
>> Not only that, no new DarkSky API signups are being accepted effective 
>> immediately. Then, July 1st this year, embeds and the website will be 
>> disabled except for current API and iOS usage.
>>
>> You can read the official announcement at https://blog.darksky.net/.
>>
>> -Bill
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "weewx-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/764b9b72-ca57-48ea-99ea-2ea1c0bcd3f6%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/764b9b72-ca57-48ea-99ea-2ea1c0bcd3f6%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/644dce0f-8a91-4766-a5fd-f06e8f155414%40googlegroups.com.

Reply via email to