Skip to contents

Generates the URL for a player's headshot based on their NBA player ID.

Usage

get_player_headshot(player_id)

Arguments

player_id

A numeric or character vector representing the player's ID.

Value

A character vector containing the headshot URLs.