Get All Players
Changed onMigrated from the following legacy PLG API route(s):
- all-players-list: https://api.preciser.io/all/players/list/*
The legacy URL's organization segment is replaced by the League request header, allowing the same handler to select any authorized league database.
Includes first_season from player_info and experience_years (latest season start year in game_info minus first season start year plus one; a rookie's first season is year 1). Seasons use YYYY-YY. Experience is null when the first season is missing, malformed or later than the latest season, or when no valid latest season exists. Existing player fields are preserved.
Request
- Base URLhttps://developer.preciser.io
- URLhttps://developer.preciser.io/api/v1/players
- Authnone declared. Required headers: x-api-key, League
Headers
Required API key issued by Preciser.
Required tenant/database selector, for example pitchbio-master.
Response
Successful Response
Changes
- breaking
the
headerrequest parameterLeaguebecame required - breaking
the
headerrequest parameterx-api-keybecame required - breaking
headerrequest parameterLeaguelist-of-types was narrowed by removing typesnull - breaking
headerrequest parameterx-api-keylist-of-types was narrowed by removing typesnull - info
for the
headerrequest parameterLeague, the type was generalized from no type tostring - info
for the
headerrequest parameterx-api-key, the type was generalized from no type tostring
- breaking