A thin wrapper around the pbpstats API’s “get-team-leverage-summary” endpoint.
Arguments
- league
Character. Which league to query; e.g.,
"nba"or"wnba"; defaults to"nba".- season
Character or integer. The season to query; e.g.
"2024-25".- leverage
Character. One or more leverage levels; one of:
"VeryLow""Low""Medium""High""VeryHigh"
; comma‐separated for multiple values; defaults to
NULL.
References
Darryl Blackport (2020). PBPStats API, MIT License. https://api.pbpstats.com/docs