NBA.Stats.LeagueDashPlayerBioStats (nba_api_ex v0.1.0)

View Source

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

Summary

Functions

get(params \\ [LeagueID: "00", PerMode: "Totals", SeasonType: "Regular Season"], opts \\ [])

(since 0.1.0)

Fetches league dash player bio 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.LeagueDashPlayerBioStats.get(Season: "2023-24")
{:ok, %{"LeagueDashPlayerBioStats" => [%{...}, ...]}}

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

(since 0.1.0)