Zmalski / NHL-API-Reference

Unofficial reference for the NHL API endpoints.
MIT License
268 stars 21 forks source link

Team/franchise Info #25

Open shaanchander opened 6 months ago

shaanchander commented 6 months ago

Thanks for the extensive docs, much appreciated!

One thing I haven't been able to find is detailed team info (old url: https://statsapi.web.nhl.com/api/v1/teams/{teamID}). An endpoint that returns things like division/conference, venue name, site url, first year of play, etc. Has anyone found an endpoint that has those?

shawzy2 commented 5 months ago

I have not been able to find any such endpoint. I suppose the simplest path forward is to maintain a list locally from now on. This seems okay to me as the info is fairly static.

Dropping the csv I've used should anyone need to borrow: teamInfo2022_23.csv

RSady commented 4 months ago

Here's an updated version for the 24-25 season for those interested with Utah added and Arizona dropped. Also updated a few arena names as well as added a franchiseId column to correspond with the NHL API.

teamInfo2024_25.csv