Seasons WyID Players
GET /v2/seasons/{wyId}/players
Table of contents
Overview
Returns the list of players who have played in the given season.
Request URL: https://apirest.wyscout.com/v2/seasons/{wyId}/players
Parameters
( * parameters are mandatory)
Name | Type | Default | Description |
---|---|---|---|
wyId * | integer | null | Unique ID for the required season |
fetch | string | null | Objects to be fetched (separated by commas). See Notes(1) for available objects |
details | string | null | Objects to be detailed (separated by commas). See Notes(2) for available objects |
Output
Property | Type | Condition | Value | Description |
---|---|---|---|---|
players | array | always | Dynamic | List of retrieved players (see GET players/{wyId} for more info) |
— currentTeam | object | details=currentTeam | Dynamic | CurrentTeam details (see GET teams/{wyId} for more info) |
season | object | fetch=season | Dynamic | Season details (see GET seasons/{wyId} for more info) |
1. Available objects for fetching
Object | Description |
---|---|
season | Season details (see GET seasons/{wyId} for more info) |
2. Available objects for additional details
Object | Description |
---|---|
currentTeam | Current team details (see GET teams/{wyId} for more info) |