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
Copy file name to clipboardExpand all lines: README.md
+77-87Lines changed: 77 additions & 87 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,8 @@ If you find any, open a ticket or post in the discussions tab. I would love to
43
43
44
44
```bash
45
45
pip install nhl-api-py
46
+
# - OR -
47
+
uv add nhl-api-py
46
48
```
47
49
48
50
```python
@@ -90,6 +92,8 @@ More in depth examples can be found in the wiki, feel free to add more: [Example
90
92
91
93
Im available on [Bluesky](https://bsky.app/profile/coreyjs.dev) or the [twit](https://x.com/corey_builds) for any questions or just general chats about enhancements.
92
94
95
+
---
96
+
93
97
## API Modules
94
98
95
99
This project is organized into several sub modules, each representing a different endpoint of the NHL API.
@@ -102,12 +106,15 @@ They are grouped by function to make the library easier to navigate and use. Th
102
106
-**`standings`**: Contains endpoints related to NHL standings, including current standings and historical standings.
103
107
-**`game_center`**: Contains endpoints related to game center data, including box scores, play-by-play data, and game summaries.
104
108
-**`misc`**: Contains miscellaneous endpoints that don't fit into the other categories, such as glossary terms, configuration data, and country information.
105
-
109
+
-**`players`**: Get Players by team and prospects.
106
110
### Helpers Module
107
111
-**`helpers`**: Contains helper functions and utilities for working with the NHL API, such as getting game IDs by season or calculating player statistics. These are experimental and often times make many requests, can return DataFrames or do calculations. Stuff I find myself doing over and over I tend to move into helpers for convenience. They are often 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.
108
112
109
113
110
114
Do you have a specific use case or cool code snippet you use over and over? If its helpful to others please open a PR and add a helper.
115
+
116
+
---
117
+
111
118
# Teams
112
119
113
120
Get information about NHL teams, rosters, and franchises.
0 commit comments