thisisevanfox / nhl-my-team-ios-widget

"NHL-MyTeam" Scriptable iOS widget 🏒
https://twitter.com/thisisevanfox
30 stars 6 forks source link

statsapi.web.nhl.com no longer a valid hostname #10

Closed nik-field closed 8 months ago

nik-field commented 8 months ago

Looks like the NHL has moved to a new API. Documentation here: https://gitlab.com/dword4/nhlapi/-/blob/master/new-api.md

I might fork and migrate the script if I have time.

ctlarson17 commented 8 months ago

Bumping this issue. My widget broke and is giving me the error: "A server with the specified hostname could not be found."

I am thinking that this API change is the cause of this error... maybe?

thisisevanfox commented 8 months ago

I will look into the new API asap.

@nik-field: Feel free to open a Pull request if you are faster applying the changes,

thisisevanfox commented 8 months ago

Hi @nik-field @ctlarson17, I'm working on the fix right now: https://github.com/thisisevanfox/nhl-my-team-ios-widget/tree/feature/newAPI

thisisevanfox commented 8 months ago

Hi @nik-field @ctlarson17,

I just released a new version of the widget. So it should work again! :)

Kind regards Evan

ctlarson17 commented 8 months ago

Its working over here. You rock, @thisisevanfox - thank you so much.