get_player_names

get_player_names(player_ids, last_only)

Get player names from player IDs.

Parameters

player_ids : str or list of str

Single player ID or list of player IDs

last_only : bool = False

If True, return only last names. If False, return “First Last” format.

Returns

: str or list of str

Player name(s) corresponding to the input ID(s)

Raises

: ValueError

If a playerID is not found in the People table