You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project is organized into several sub modules, each representing a different endpoint of the NHL API.
58
+
They are group by function to make the library easier to navigate and use. The main modules are:
59
+
60
+
-`stats`: Contains endpoints related to player and team statistics. This will have your basic stats, summary stats and
61
+
more advanced stats using the new query builder. Which allows for more complex queries to be built up programmatically.
62
+
-`schedule`: Contains endpoints related to the NHL schedule, including game dates, weekly schedules, and team schedules.
63
+
-`standings`: Contains endpoints related to NHL standings, including current standings and historical standings.
64
+
-`teams`: Contains endpoints related to NHL teams, including team information and rosters. You can find team_id(s) here along with franchise_id(s) needed for some of the stats queries.
65
+
-`game_center`: Contains endpoints related to game center data, including box scores, play-by-play data, and game summaries.
66
+
-`misc`: Contains miscellaneous endpoints that don't fit into the other categories, such as glossary terms, configuration data, and country information.
67
+
68
+
69
+
-`helpers`: Contains helper functions and utilities for working with the NHL API, such as getting game IDs by season or calculating player statistics.
70
+
These are experimental and often times make many requests, can return DFs or do calculations. Stuff I find myself doing over and over I tend to move into helpers for convenience. They are often
71
+
cross domain, involve many sub requests, may integrate more machine learning techniques, or just make it easier to get the data you want. These will have built in sleeping to avoid hitting the API too hard, but you can override this by setting the `sleep` parameter to `False` in the function call.
0 commit comments