Skip to content

Commit 158aa82

Browse files
committed
release 3.1.0. Updates pyproject for removal of deprecated keywords.
1 parent afe9394 commit 158aa82

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

nhlpy/api/edge.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,7 @@ def skater_shot_location_detail(self, player_id: str, season: str = None, game_t
8888
resource = f"edge/skater-shot-location-detail/{player_id}/{season}/{game_type}"
8989
return self.client.get(endpoint=Endpoint.API_WEB_V1, resource=resource).json()
9090

91-
def skater_skating_distance_detail(
92-
self, player_id: str, season: str = None, game_type: int = 2
93-
) -> Dict[str, Any]:
91+
def skater_skating_distance_detail(self, player_id: str, season: str = None, game_type: int = 2) -> Dict[str, Any]:
9492
"""Get NHL EDGE skating distance details for a specific skater.
9593
9694
Args:

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "nhl-api-py"
7-
version = "3.0.2"
7+
version = "3.1.0"
88
description = "NHL API (Updated for 2025/2026) and EDGE Stats. For standings, team stats, outcomes, player information. Contains each individual API endpoint as well as convience methods as well as pythonic query builder for more indepth EDGE stats."
99
authors = ["Corey Schaf <cschaf@gmail.com>"]
1010
readme = "README.md"
@@ -79,5 +79,4 @@ line-length = 121
7979

8080

8181
[tool.black]
82-
line-length = 121
83-
indent = 4
82+
line-length = 121

0 commit comments

Comments
 (0)