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.
Files changed (36) hide show
  1. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/PKG-INFO +12 -1
  2. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/README.md +11 -1
  3. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/_version.py +1 -1
  4. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/pyproject.toml +1 -1
  5. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/__init__.py +0 -0
  6. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/__init__.py +0 -0
  7. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/game_center.py +0 -0
  8. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/helpers.py +0 -0
  9. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/misc.py +0 -0
  10. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/__init__.py +0 -0
  11. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/builder.py +0 -0
  12. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/__init__.py +0 -0
  13. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/decision.py +0 -0
  14. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/draft.py +0 -0
  15. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/experience.py +0 -0
  16. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/franchise.py +0 -0
  17. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/game_type.py +0 -0
  18. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/home_road.py +0 -0
  19. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/nationality.py +0 -0
  20. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/opponent.py +0 -0
  21. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/position.py +0 -0
  22. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/season.py +0 -0
  23. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/shoot_catch.py +0 -0
  24. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/filters/status.py +0 -0
  25. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/sorting/__init__.py +0 -0
  26. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/query/sorting/sorting_options.py +0 -0
  27. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/schedule.py +0 -0
  28. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/standings.py +0 -0
  29. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/stats.py +0 -0
  30. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/api/teams.py +0 -0
  31. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/config.py +0 -0
  32. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/data/seasonal_information_manifest.json +0 -0
  33. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/data/team_stat_ids.json +0 -0
  34. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/data/teams_20232024.json +0 -0
  35. {nhl_api_py-2.3.1 → nhl_api_py-2.3.3}/nhlpy/http_client.py +0 -0
  36. {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.1
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
+ ```
@@ -1,3 +1,3 @@
1
1
  # Should this be driven by the main pyproject.toml file? yes, is it super convoluted? yes, can it wait? sure
2
2
 
3
- __version__ = "2.3.1"
3
+ __version__ = "2.3.3"
@@ -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.1"
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