NBA.Stats.LeagueDashPlayerPtShot (nba_api_ex v0.1.0)

View Source

Provides functions to interact with the NBA stats API for league dash player point shot stats.

Summary

Functions

get(params \\ [MeasureType: "Base", PerMode: "Totals", PlusMinus: "Y", PaceAdjust: "Y", Rank: "Y", LeagueID: "00", SeasonType: "Regular Season", PORound: 0, Month: 0, OpponentTeamID: 0, TeamID: 0, Period: 0, LastNGames: 0], opts \\ [])

(since 0.1.0)

Fetches league dash player point shot 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.LeagueDashPlayerPtShot.get(Season: "2024-25")
{:ok, %{"LeagueDashPlayerPtShot" => [%{...}, ...]}}

get!(params \\ [], opts \\ [])

(since 0.1.0)