NBA.Stats.LeagueDashPlayerClutch (nba_api_ex v0.1.0)
View SourceProvides functions to interact with the NBA stats API for league dash player clutch stats.
Summary
Functions
Fetches league dash player clutch stats data.
Functions
get(params \\ [MeasureType: "Base", PerMode: "PerGame", PlusMinus: "Y", PaceAdjust: "Y", Rank: "Y", LeagueID: "00", SeasonType: "Regular Season", PORound: 0, Month: 0, OpponentTeamID: 0, TeamID: 0, Period: 0, LastNGames: 0, ClutchTime: "Last 5 Minutes", AheadBehind: "Ahead or Behind", PointDiff: 5], opts \\ [])
(since 0.1.0)Fetches league dash player clutch stats data.
Parameters
See NBA API documentation for full list of supported parameters.
Returns
{:ok, data}on success{:error, reason}on failure
Example
iex> NBA.Stats.LeagueDashPlayerClutch.get(Season: "2024-25")
{:ok, %{"LeagueDashPlayerClutch" => [%{...}, ...]}}