Player ID

You can find players using a regex pattern case-insensitive by full name, first name, last name.

from nba_api.stats.static import players

# Find players by full name.
players.find_players_by_full_name('')

# Find players by first name.
players.find_players_by_first_name('')

# Find players by last name.
players.find_players_by_last_name('')

# Get all players.
players.get_players()


For examples of how to use this functionality, check out the Examples section