API 3.3 Release #846
Replies: 2 comments 4 replies
-
|
Ah! That's interesting! 🤔 I had already added a text-to-speech summary in my Widgets app, but that used the seven-day text. The “radio” text is different. So, perhaps that could be useful too. Nice! 🙂 I've been considering bringing back the app as PWA, perhaps late next year. Here are some lines from the XML… Are those HTML tags? If so, why is the strikethrough tag being added? 🤔 It also seems to do this a lot… Extra tags for just a trailing space, that seems unnecessary. Adding Weather alerts to the Widgets app seems like a good idea too. So, it's nice to see there's continued development with the weather.gov API. Just a side note, one of the main reasons I've been using the weather.gov API is because it doesn't bother me with an API key. That's been quite nice! 🙂 |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for the update! I appreciate the continued work on this API! I am also worried about how having an API key will affect the app that I manage. I run the web-based Weatherstar 4000 which has a significant number of daily users who come for the nostalgia in addition to their forecast. I've always kept the code for this available and readable as a learning tool for anyone who wants to get into front-end development. Part of what makes that possible is that you can download the code and run it to start experimenting. No additional steps for obtaining and entering an API key somewhere. My second concern is that if I had to add an API key I'd no longer be able to afford the cost to proxy all of the API requests that make the site run for each user through CloudFront (currently) or any other hosting option so that I would not expose my API key in the frontend. I hope that we're able to keep this API open to everyone to support the non-commercial use cases and curious programmers out there. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We are pleased to announce the release of API 3.3. (As to what happened to 3.0 through 3.2, it's a long story.)
Here are all the changes since the previous production release (2.6):
New Features
NOAA Weather Radio endpoint
We have been working on part of an agency initiative to modernize and expand the capabilities of NOAA Weather Radio. To that end, we have added a new endpoint
/points/{latitude},{longitude}/radiowhich will give you a hyper-local NWR broadcast based on your exact location. This endpoint returns a text-to-speech script in SSML 1.1 format.Currently the script contains the following information:
This is not intended to replace NOAA Weather Radio (there is no real-time alerting, for starters) but the start of an experiment to show stakeholders what can be done.
There is definitely more to come on this. We have additional features and performance and text enhancements coming in the future.
Developer Note: Many text-to-speech services, such as Amazon Polly or Google TTS, only support a limited subset of SSML. You may need to do some filtering of the XML to get a document acceptable to your TTS engine.
Changes and Fixes
stationIdandstationNameare now part of observation records./alertsendpoints no longer use the Last-Modified header due to caching issues./aviation/cwsuswere not being serialized correctly./zonesshould perform much better.Beta Was this translation helpful? Give feedback.
All reactions