Skip to contents

A thin wrapper around the pbpstats API’s “get-all-players-for-league” endpoint.

Usage

get_all_players_for_league(league = "nba")

Arguments

league

Character. Which league to query; e.g. "nba" or "wnba"; defaults to "nba".

Value

A data frame (tibble) of all players in the specified league.

References

Darryl Blackport (2020). PBPStats API, MIT License. https://api.pbpstats.com/docs