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

NWS API changed to updateTime #17

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

roblabs
Copy link
Contributor

@roblabs roblabs commented Aug 22, 2024

The Forecast model has been changed and now uses updatedTime.

"On or about June 20, 2024 at 1400 Coordinated Universal Time (UTC), the
National Weather Service API Application Programming Interface (Website)
will be upgraded to version 1.13. With this upgrade comes the following
user-impactful changes:

A) Users who are using the “updated” parameter in their parsing of the
data can use the “updateTime” field which shows the same time.
"


Tests all pass on Xcode 16, but requires this change:


Huge shoutout to https://app.quicktype.io/?l=swift, which allows the models to be automatically generated from JSON data passed.

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

Successfully merging this pull request may close these issues.

1 participant