Skip to content

Tags: coreyjs/nhl-api-py

Tags

3.0.1

Toggle 3.0.1's commit message
bugfix: Debug logging now properly will print the URL generated by th…

…e method call. Logging is also fixed to only enable debug logging in the nhl-api-py package.

- Add: notebook/ example jupyter notebook of each available endpoint call.  For ref/testing purposes only

3.0.0

Toggle 3.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: V3 upgrade foundation. (#108)

* feat: V3 upgrade foundation.
-Deletes playoffs.py, moves this into schedule.
-renames methods using redundant 'get_'
-Adds players.py for player specific endpoints.
-Adds prospects to players.py

* fix: Tests fixed for proper renaming of methods.
Endpoint enum integration into all API calls

* fix: renames verbose to debug, for log level

* fix: Utah franchise_id when calling teams() requires specific logic

* update: README updated, reformatted for readability and cleaner information.  Some more method refactoring to make sense

* feat: Final updates to methods.

* fix: README schedule.playoff_series_schedule now properly uses correct params

2.18.0

Toggle 2.18.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
docs: convert docstrings to Google style format (#99)

* docs: convert docstrings to Google style format

- Add parameter types and improve descriptions
- Standardize Returns sections
- Add Examples where relevant for API endpoints
- Maintain existing function implementations

change: page limits to 25 were applicable

2.17.0

Toggle 2.17.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Feature: Helpers module. (#93)

* Feature: Helpers module.
- Contains useful but often expiremental methods for aggregation and analysis

2.16.0

Toggle 2.16.0's commit message
release 2.16.0

2.15.0

Toggle 2.15.0's commit message
Version 2.15.0 release.

Includes new gamecenter endpoint right_rail

2.14.2

Toggle 2.14.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
84 - HTTP Error code handling 400+ (#87)

* feat: Enhance HTTP client error handling with custom exceptions

- Implement hierarchical exception system with base NHLApiException
- Add specific exceptions for common HTTP status codes (404, 429, 400, 401, 5xx)
- Create centralized error handling in _handle_response method
- Add comprehensive test suite with pytest for all error scenarios
- Improve error message formatting to include both request context and API response
- Handle edge cases for malformed JSON and non-JSON responses
- Add type checking for response parsing

Tests cover:
- All HTTP error status codes
- Success responses
- Non-JSON responses
- Malformed JSON handling
- Query parameter handling
- Verbose logging behavior

Breaking changes: None - extends existing error handling functionality
Closes #81

* README bugfix

* Fix: stats.team_summary() double encoding issue in notebooks

2.12.4

Toggle 2.12.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
#81 Bugfix: stats.player_game_log(), (#82)

* #81 Bugfix: stats.player_game_log(), fixes occasional error when a player does not have any gameLog available in their data

* black formatting executed

2.12.3

Toggle 2.12.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
BugFix: skater_stats_summary_simple, goalie_stats_summary_simple: Fix…

…es double encoding bug that breaks in notebooks (#80)

2.12.2

Toggle 2.12.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix: ShootCatchQuery - Filter now properly serializes L or R values. (#…

…78)

* Fix: ShootCatchQuery - Filter now properly serializes L or R values.
- Fixes test for this change.
- Refactors goalie default sorts into init.

* patch increase