Getting bit by API changes

API Changes

The NHL finally removed their old API (https://statsapi.web.nhl.com/api/v1/) and released a new version, found at https://statsapi.web.nhl.com/api/v1/. Unfortunately, I had just posted a new blogpost about creating a new web component to display the NHL schedule, so naturally it was time for the change.

They had been using the new API for a while on their live site, but there was no telling if they would deprecate the existing API or how long both APIs would be left active. Now we know! And now I'm stuck with some functionally useless Codepens, because the new API doesn't allow requests from scripts in the browser (CORS sadness).