-
-
Notifications
You must be signed in to change notification settings - Fork 98
Function: player_stat_data
Note: To retrieve a formatted text version, see Function: player_stats.
statsapi.player_stat_data(personId, group="[hitting,pitching,fielding]", type="season", sportId=1)
Note: For group use
hitting
,pitching
, orfielding
. Include multiple groups in the following format (this is a string, not actually a list):group='[hitting,pitching]'
Note: For type use
career
orseason
oryearByYear
(as of v0.1.7). Include multiple types in the following format (this is a string, not actually a list):group='[career,season,yearByYear]'
Note: This information is provided for reference only, without warranty or guarantee, and is not official documentation provided by MLB. This package and its author are not affiliated with MLB or any MLB team. This API wrapper interfaces with MLB's Stats API. Use of MLB data is subject to the notice posted at http://gdx.mlb.com/components/copyright.txt.