nhl-api-py 2.3.1__tar.gz → 2.3.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/PKG-INFO +12 -1
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/README.md +11 -1
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/_version.py +1 -1
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/pyproject.toml +1 -1
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/__init__.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/__init__.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/game_center.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/helpers.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/misc.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/__init__.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/builder.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/__init__.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/decision.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/draft.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/experience.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/franchise.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/game_type.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/home_road.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/nationality.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/opponent.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/position.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/season.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/shoot_catch.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/status.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/sorting/__init__.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/sorting/sorting_options.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/schedule.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/standings.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/stats.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/teams.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/config.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/data/seasonal_information_manifest.json +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/data/team_stat_ids.json +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/data/teams_20232024.json +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/http_client.py +0 -0
- {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/nhl_client.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: nhl-api-py
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.3
|
|
4
4
|
Summary: NHL API. For standings, team stats, outcomes, player information. Contains each individual API endpoint as well as convience methods for easy data loading in Pandas or any ML applications.
|
|
5
5
|
Home-page: https://github.com/coreyjs/nhl-api-py
|
|
6
6
|
License: GPL-3.0-or-later
|
|
@@ -68,6 +68,16 @@ The skater stats endpoint can be accessed using the new query builder. It shoul
|
|
|
68
68
|
creating and understanding the queries a bit easier. Filters are being added as I go, and will match up
|
|
69
69
|
to what the NHL API will allow.
|
|
70
70
|
|
|
71
|
+
The idea is to easily, and programatically, build up more complex queries using the query filters. A quick example below:
|
|
72
|
+
```python
|
|
73
|
+
filters = [
|
|
74
|
+
GameTypeQuery(game_type="2"),
|
|
75
|
+
DraftQuery(year="2020", draft_round="2"),
|
|
76
|
+
SeasonQuery(season_start="20202021", season_end="20232024"),
|
|
77
|
+
PositionQuery(position=PositionTypes.ALL_FORWARDS)
|
|
78
|
+
]
|
|
79
|
+
```
|
|
80
|
+
|
|
71
81
|
|
|
72
82
|
|
|
73
83
|
### Sorting
|
|
@@ -368,3 +378,4 @@ $ ruff .
|
|
|
368
378
|
$ black .
|
|
369
379
|
|
|
370
380
|
```
|
|
381
|
+
|
|
@@ -42,6 +42,16 @@ The skater stats endpoint can be accessed using the new query builder. It shoul
|
|
|
42
42
|
creating and understanding the queries a bit easier. Filters are being added as I go, and will match up
|
|
43
43
|
to what the NHL API will allow.
|
|
44
44
|
|
|
45
|
+
The idea is to easily, and programatically, build up more complex queries using the query filters. A quick example below:
|
|
46
|
+
```python
|
|
47
|
+
filters = [
|
|
48
|
+
GameTypeQuery(game_type="2"),
|
|
49
|
+
DraftQuery(year="2020", draft_round="2"),
|
|
50
|
+
SeasonQuery(season_start="20202021", season_end="20232024"),
|
|
51
|
+
PositionQuery(position=PositionTypes.ALL_FORWARDS)
|
|
52
|
+
]
|
|
53
|
+
```
|
|
54
|
+
|
|
45
55
|
|
|
46
56
|
|
|
47
57
|
### Sorting
|
|
@@ -341,4 +351,4 @@ $ pytest
|
|
|
341
351
|
$ ruff .
|
|
342
352
|
$ black .
|
|
343
353
|
|
|
344
|
-
```
|
|
354
|
+
```
|
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
4
4
|
|
|
5
5
|
[tool.poetry]
|
|
6
6
|
name = "nhl-api-py"
|
|
7
|
-
version = "2.3.
|
|
7
|
+
version = "2.3.3"
|
|
8
8
|
description = "NHL API. For standings, team stats, outcomes, player information. Contains each individual API endpoint as well as convience methods for easy data loading in Pandas or any ML applications."
|
|
9
9
|
authors = ["Corey Schaf <cschaf@gmail.com>"]
|
|
10
10
|
readme = "README.md"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|