Andriamanitra / nnnhl

Website for checking NHL schedule, scores, and standings
https://andriamanitra.github.io/nnnhl/
The Unlicense
1 stars 0 forks source link

Migrate to new NHL api #2

Open Andriamanitra opened 10 months ago

Andriamanitra commented 10 months ago

The old statsapi.web.nhl.com seems to be down for good so it's necessary to figure out how to use the new API.

The new API is already partially documented at https://gitlab.com/dword4/nhlapi

Andriamanitra commented 3 weeks ago

The new API seems to have CORS protection enabled so this project might not be feasible any more unless we can find a different data source, or add a backend that communicates with the new API (the current application is purely client-side so it could be hosted for free on Github Pages). As far as I can tell the new API also has no way to get links to highlights, which were kind of the whole point of this project.

It might be easier to just start from scratch with a different approach. :disappointed: