Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weather Hazards URL is incorrect #129

Open
arcusic opened this issue Jan 4, 2025 · 0 comments
Open

Weather Hazards URL is incorrect #129

arcusic opened this issue Jan 4, 2025 · 0 comments

Comments

@arcusic
Copy link

arcusic commented Jan 4, 2025

twc3.js - line 2994

The Alerts Web Service has been updated and this URL is no longer functional.

var Url = "https://alerts.weather.gov/cap/wwaatmget.php?x=" + ZoneId + "&y=0";

Needs to be updated to

var Url = "https://api.weather.gov/alerts/active.atom?zone=" + ZoneId;

Reference: https://www.weather.gov/documentation/services-web-alerts Transition Guide

Active alerts for a zone (e.g. Bibb, in Alabama)

Current: https://alerts.weather.gov/cap/wwaatmget.php?x=ALZ034&y=0
New: https://api.weather.gov/alerts/active?zone=ALZ034
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant