basketballapi.net

Documentation / Stats

Player splits

GET/v1/players/{id}/splits

A player's averages split home and away, by result, month, opponent or starting role.

Complete and up

Parameters

NameInTypeAbout
id requiredpathidThe player, by its id (pl_…). e.g. pl_4S9RZVWN
byqueryenumHow to split: venue (the default), result, month, opponent or starter.
seasonqueryidOnly this season, by its id (ss_…). e.g. ss_K1TTWVRM
competitionqueryidOnly this competition, by its id (cp_…). e.g. cp_11A6HQXJ

What comes back

data is one of these:

FieldTypeAbout
playerobject
player.ididA player id.
player.namestring
bystring
splitsarray of object

Errors

400422401403429404 What each one means