cURL
curl --request GET \ --url https://api.leaguesync.dev/players/{league_id}/searchPlayer/player_id/{player_id} \ --header 'auth_token: <auth_token>'
{ "player_id": "3086", "position": "QB", "sport": "football", "first_name": "Tom", "last_name": "Brady", "full_name": "Tom Brady", "irl_team": "TB", "fantasy_team_roster_id": "2", "uniform_number": "12" }
Returns the player specified by
User-platform auth_token supplied by LeagueSync API
league_id to filter by
player_id to filter by
successful operation
"3086"
"QB"
"football"
"Tom"
"Brady"
"Tom Brady"
"TB"
"2"
"12"