Skip to content

v3.5.0

Latest
Compare
Choose a tag to compare
@Afischbacher Afischbacher released this 30 Sep 19:39
d721f97

Nhl.Api Updates

  • Introduced two new asynchronous methods to the NHL API:
    • GetRealtimePlayerStatisticsBySeasonAndFilterExpressionAsync
    • GetTimeOnIcePlayerStatisticsBySeasonAndFilterExpressionAsync
  • Enhanced functionality for retrieving player statistics.
  • Allows access to real-time and time-on-ice statistics for players during specific seasons, with filtering and sorting options.
  • Implemented nullable return types in the NhlTeamService interface.
  • Improved the retry mechanism in the testing attributes.
  • Updated the README to reflect these changes.

Breakdown of Changes

Files Change Summary
Nhl.Api/README.md Added documentation for new asynchronous methods related to player statistics.
Nhl.Api.Domain/Services/NhlTeamService.cs Updated method signatures to nullable types and added handling for TeamEnum.UtahHockeyClub.
Nhl.Api/Src/GameApi/NhlGameApi.cs Modified GetGameCenterBoxScoreByGameIdAsync to perform concurrent data retrieval using asynchronous HTTP requests.
Nhl.Api.Tests/Helpers/Attributes/TestMethodWithRetryAttribute.cs Enhanced retry functionality with a new backoff strategy and updated default retry delay.
Nhl.Api.Tests/TeamTests.cs Reordered using directives for clarity.
Nhl.Api.Tests/StatisticsTests.cs Added multiple new test methods to validate player and goalie statistics across various seasons, including edge cases.

UtahHockeyClubMichaelCarconeGIF